Find the answer to your Linux question:
Results 1 to 2 of 2
During boot my Linux Mandrakes' 3 NIC's come up OK. 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Location
    UK
    Posts
    10

    DHCP would be nice but ...


    During boot my Linux Mandrakes' 3 NIC's come up OK.
    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

    Thanks,

  2. #2
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817
    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
    //got nothin'
    ///this use to look better

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •