Re: dhcpd/tftp server subservient to another tftp server

From: Kent West (westk_at_acu.edu)
Date: 12/03/03

  • Next message: Hoyt Bailey: "Re: ..how do I tell apt-get | dpkg about bad files off a bad disk? Clue Whack, Please!"
    Date: Tue, 02 Dec 2003 19:19:30 -0600
    To: debian users <debian-user@lists.debian.org>
    
    

    Kent West wrote:

    > Kent West wrote:
    >
    >> When I boot the client pc ("bi-19x"), it gets the IP address
    >> 150.252.x.y from my dhcpd/tftp server, as indicated by the BIOS's PXE
    >> messages. But then, instead of finding the pxelinux.0 file on my
    >> dhcpd/tftp server, it finds the campus's central RIS server instead.
    >>
    >> How do I get my client to get my tftp offering instead of the RIS
    >> offering? BTW, the RIS server is on a different network segment.
    >>

    I found this info at: http://www.carotechnology.com/dbox/bootingdbox.htm

    > Start tcpdump with the parameters 'port bootps or port bootpc or port
    > nfs or port tftp'
    > this way you will see most of the stuff that will interest you.
    > Boot up your dbox and look at the tcpdump output.
    >
    > If you see and bootp answer going to 255.255.255.255 you are using the
    > wrong dhcp server!
    > Download the right one, recompile it and look for an answer going to
    > the box it self in stead of a broadcast.
    >
    >
    Then the results on my server are:
    westk[@bi-22x]:/home/westk:> sudo tcpdump port bootps
    tcpdump: listening on eth0
    19:09:35.150031 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x6c464962
    [|bootp
    ]
    19:09:35.152879 150.252.216.1.bootps > 255.255.255.255.bootpc:
    xid:0x6c464962 f
    lags:0x8000 G:150.252.216.1 ether 0:e0:0:f7:33:78 [|bootp]
    19:09:40.195592 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x10d9e56
    [|bootp]
    19:09:40.201482 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x10d9e56
    [|bootp]
    19:09:46.895574 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x4816e258
    secs:10
    24 flags:0x8000 [|bootp]
    19:09:46.896337 bi-22x.acu.edu.bootps > 255.255.255.255.bootpc:
    xid:0x4816e258
    secs:1024 flags:0x8000 Y:bi-19x.acu.edu S:bi-22x.acu.edu ether
    0:3:47:16:e2:58 [
    |bootp] [tos 0x10]
    19:09:46.898621 150.252.216.1.bootps > 255.255.255.255.bootpc:
    xid:0x4816e258 f
    lags:0x8000 Y:150.252.217.227 S:ns2.acu.edu G:150.252.216.1 ether
    0:3:47:16:e2:5
    8 [|bootp]
    19:09:46.902411 150.252.216.1.bootps > 255.255.255.255.bootpc:
    xid:0x4816e258 f
    lags:0x8000 S:150.252.135.87 G:150.252.216.1 ether 0:3:47:16:e2:58 [|bootp]
    19:09:48.872412 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x4816e258
    secs:10
    24 flags:0x8000 [|bootp]
    19:09:48.873190 bi-22x.acu.edu.bootps > 255.255.255.255.bootpc:
    xid:0x4816e258
    secs:1024 flags:0x8000 Y:bi-19x.acu.edu S:bi-22x.acu.edu ether
    0:3:47:16:e2:58 [
    |bootp] [tos 0x10]

    10 packets received by filter
    0 packets dropped by kernel

    There is indeed a reference to 255.255.255.255; I don't understand what
    the article means when it says "If you see and bootp answer going to
    255.255.255.255 you are using the wrong dhcp server!" Does this mean
    that the Debian package dhcp3-server is the wrong package for what I'm
    trying to do? If so, what package should I be using?

    -- 
    Kent
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Hoyt Bailey: "Re: ..how do I tell apt-get | dpkg about bad files off a bad disk? Clue Whack, Please!"

    Relevant Pages

    • Re: PXE boot debian-installer
      ... The DHCP server running on the router assigns addresses in the ... This will only work if you can set the router to ignore bootp requests and the Lenny DHCP to accept only bootp request (ignore booting requests) or visa versa. ... From the documentation the default Debian DHCP server will by default ignore "bootp" requests. ...
      (Debian-User)
    • Re: Need freeware Bootp server app
      ... They either support just BootP or BootP/DHCP. ... > that only support BootP will NOT get an IP stack from a DHCP server. ... Attached is a sample configuration file for the HP J6039C. ...
      (microsoft.public.win2000.general)
    • Re: DNS and DHCP diskless Server
      ... > wanted to put it to work as a small DNS and DHCP Server for Tania and Catia. ... > Can I make Catia a BOOTP server with a small partition to boot David so I ... I'd look into dnsmasq. ...
      (Fedora)
    • Re: What makes BOOTP routable, but RARP isnt?
      ... Bootp runs above the UDP Layer i.e it is an application layer protocol, ... DHCP server if it is not on the same segment (or does the DHCP server ...
      (comp.os.linux.networking)

    Loading