[SLUG] dhcpd not working
I'm setting up dhcpd on Ubuntu 4.1 The client can get a lease, and ping the dhcp server, but can't get past there. Any suggestions would be gratefully received. [EMAIL PROTECTED]:/etc/dhcp3 # ip route ls 203.23.xxx.xxx/xx dev eth0 proto kernel scope link src 203.23.xxx.8 192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.254 default via 203.23.xx.1 dev eth0 [EMAIL PROTECTED]:/etc/dhcp3 # cat /proc/sys/net/ipv4/ip_forward 1 [EMAIL PROTECTED]:/etc/dhcp3 # --extract from dhcpd.conf-- authoritative; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.1 192.168.1.253; option routers 192.168.1.254; } -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] dhcpd not working
On Fri, 2004-12-24 at 00:29 +1100, David wrote: I'm setting up dhcpd on Ubuntu 4.1 The client can get a lease, and ping the dhcp server, but can't get past there. Any suggestions would be gratefully received. I assume you mean that the clients can't ping other machines than the dhcp server, which is also acting as a gateway. It's no sufficient to just enable ip_forwarding - have you also set up some iptables rules for the forwarding? In this case, you'll need IP masquerading, because the client machines have non-routeable 192.168.* addresses. Cheers, Jan. -- Jan Schmidt [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html