Forum Moderators: bakedjake

Message Too Old, No Replies

Need a little networking Help.

linux networking

         

mack

7:44 am on Jan 20, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Hi all,

When ever I used windows as a gateway computer, my linux machines where issued a lan ip addresses on boot.

Now I am using linux for gateway and can't seam to get dhcp to issue ip's.

I am using suse 8.0 on both boxes. On the gatway machine I have the following.

The network card configured. eth0
automatic address look up (dhcp) Non static ip from isp.

I have the same set up on the non web-connected computer.

Any ideas what I can do to make the gateway issue ip's to all connected machines?

Thanks in advance.

Mack.

jpjones

8:20 am on Jan 20, 2004 (gmt 0)

10+ Year Member



Were the IPs that your linux machines were issued when the windows machine was the gateway private IP addresses (e.g. 192.168. or 10.0.) or public addresses issued by your ISP?

If they were private, it will be windows which was issuing them. You weren't running Internet Connection Sharing by any chance were you?

Things to check on your linux gateway - is DHCP installed, is the /etc/dhcpd.conf file configured, and is the dhcpd daemon actually running?

Have you got a restrictive firewall running on the linux box which is stopping the dhcp requests from windows machines actually reaching the dhcpd server?

Hope thats of some help,
JP

mack

8:32 am on Jan 20, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Thanks Jp Jones,

Yep I was running Internet connection sharing through windows XP, and the IP's issued where 192.168........ (local lan ips')

As far as I can see dhcp is running and there is no firewall on either box.

Mack.

MattyMoose

7:07 pm on Jan 28, 2004 (gmt 0)

10+ Year Member



If you're trying to issue IP addresses FROM your linux gateway, then what you're looking for is dhcpd, and not dhcp or dhcpc or dhcpcd (the latter 3 are all clients on various platforms I've seen. At least, that's what I remember from way back when I last setup a DHCP server)

At any rate, have a look at [redhat.com ]

I couldn't find anything for SuSE, but maybe the above link will help you on the right track. :)

-MM