Results 1 to 2 of 2
Thread: DHCP would be nice but ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Aug 2005
DHCP would be nice but ...
There are 3 of them.
eth0 is connected to an XP box via x-over cable on 192.168.3.0/24
eth1 is connected to a D504T router [1 port of 4 ports] 192.168.1.0/24
the other 3 ports go to other 3 XP boxes.
eth2 is connected to x-over cable to an XP box on 192.168.4.0/24.
When /rtc/rc.local gets to run I have some statements to set up eth0 & eth2
static IP's. I have local DNS working fine now thanks to Eatmeingrrek.
The problem comes when I attempt to have DHCP on eth2.
Basically eth2 fails to come up but with no indication as to why. Naturally without an interface active DHCPD service fails. Once the boot process is over I can then do:-
ifconfig eth2 down
ifconfig eth2 192.168.4.1
ifconfig eth2 up
then I start DHCPD and all goes OK. The IP on eth2 changes to 192.168.4.127 and the XP box gets an IP of 192.168.4.126.
Unfortunately my DNS goes screwy but at least the DHCP works.
I have attached a shortened /var/log/syslog if anyone would care to take a stab at this and educate me in some finer points of networking.
Sorry, seems I can't attach a file
- Join Date
- May 2004
I think you should check your dhcpd.conf, and maybe you will want to look at my post and burnit's response on a related question here./IMHO
///this use to look better