Results 1 to 6 of 6

Thread: PXE Network Booting question

  1. #1
    Junior Member
    Join Date
    Nov 2004
    Location
    United Kingdom
    Posts
    5

    PXE Network Booting question

    Just something I don't understand about network booting - can anyone clarify for me?

    What I did was go through the script to enable the Terminal Server in Knoppix, and it went through happily.

    Now, this script includes starting a DHCP service, but I already have a DHCP server on my network, and two DHCP servers is generally bad news, so I unplugged the other DHCP server from the network. This was also the Default Gateway for the LAN, but I was only testing PXE booting and wasn't going to need access to the outside world, so that's fine - or so I thought!

    The client machine booted and got assigned an IP address, default gaeway etc. and that all went well. Then it got to the TFTP stage... and timed out. Tried several times, and every time the TFTP just timed out, and the machine carried on booting from its local HDD.

    In desperation, I plugged the other DHCP server back into the network and tried again - bear in mind I now have TWO active DHCP servers on the LAN!

    Hey presto, it booted and TFTP'd perfectly!!!

    Repeated the exercise several times - with both servers on the LAN, it boots, with only the Knoppix server, the TFTP times out.

    My question is this - the PXE booting procedure should be direct between the client machine and the Knoppix server machine - why doesn't it work when only these two machines are connected? Why does it seemingly need access to the outside world via the default gateway in order to boot over the local LAN? It shouldn't be going anywhere off the local LAN.

    Just can't get my brain round this one!

    Many thanks in advance!

  2. #2
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    I've never used the terminal server so take this for what it's worth....

    Most routers have an option that will disable DHCP. The router still works, but you have to assign the IP addresses some other way (uaually static IP addresses). You might try making sure your terminal server has a good IP address for your network and turning off DHCP in the router.

  3. #3
    Junior Member
    Join Date
    Nov 2004
    Location
    United Kingdom
    Posts
    5
    Thanks for that, Harry.

    Yeah, I can quite easily stop dhcpd on the gateway machine[*], but I was just wondering why it seems to be impossible to boot over the local LAN without the default gateway being present - surely nothing should need to reach the outside world - it should all just go direct between the client and server???

    I'll have to get Ethereal going and see what's occurring!

    [*] - but, since the LAN switch is six inches from my right hand, it seemed easier to just unplug it from the network

  4. #4
    Junior Member
    Join Date
    Nov 2004
    Location
    United Kingdom
    Posts
    5

    Ethereal solved it!

    Bad form to follow-up my own post I know, but I've got to the bottom of the problem!

    It seems that the TFTP server attempts to do a reverse DNS lookup for the IP address of the connecting client. Until this DNS lookup completes, it doesn't allow the transfer to start. Since the DNS server isn't available (because the gateway is unreachable) no response is ever received for the DNS request, hence the TFTP transfer never starts and times out.

    I saved the Ethereal capture here:
    http://www.crumblenet.co.uk/~tim/PXEboot
    if anyone's interested. (this is captured with the gateway connected, so shows a good PXE boot sequence, including the useless DNS lookup.)

  5. #5
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    So with the gateway router running but not doing DHCP it works?

  6. #6
    Junior Member
    Join Date
    Nov 2004
    Location
    United Kingdom
    Posts
    5
    yep

    Well, curiously, it actually works even with both boxes doing dhcp. Get some rather confused logs in the dhcpd log file, but it works ok. I think both boxes are offering a lease, but I guess the PXE client ignores the one that doesn't offer it a boot filename. So both servers think they've done a really good job and feel good about themselves, but one has actually been totally ignored.

Similar Threads

  1. ipconfig question/network commands help
    By digitalcry in forum Networking
    Replies: 1
    Last Post: 05-18-2005, 01:55 AM
  2. Network Hang on booting...
    By Namisar in forum Hardware & Booting
    Replies: 1
    Last Post: 05-11-2005, 05:53 AM
  3. Cant get Network booting / PXE to work??
    By isoaga in forum Networking
    Replies: 5
    Last Post: 08-05-2003, 03:53 PM
  4. Network booting
    By FlipinMonkeyPie in forum General Support
    Replies: 1
    Last Post: 07-21-2003, 05:41 AM
  5. Newbie question: Network setup
    By ShonenFan in forum General Support
    Replies: 2
    Last Post: 03-01-2003, 07:42 AM

Posting Permissions

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


Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux picture

Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux

$836.80



Toshiba Magnia SG20 VPN Linux server Web server (No HDD, *Read*) - picture

Toshiba Magnia SG20 VPN Linux server Web server (No HDD, *Read*) -

$41.53



2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD picture

2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD

$30.00



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8 picture

IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8

$449.96



IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E picture

IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E

$674.96



PFSENSE 15

PFSENSE 15" Depth Server Router Firewall Supermicro X11SSH-F E3-1240 V5 32GB RAM

$382.00



IBM Power8 S822L 20-Core 3.42GHz 256Gb 1.2Tb 40G Elastic Storage Server 5148-22L picture

IBM Power8 S822L 20-Core 3.42GHz 256Gb 1.2Tb 40G Elastic Storage Server 5148-22L

$599.95



Ubuntu 22.04.3 Desktop, Server, and Studio DVD Set SAME DAY SHIPPING picture

Ubuntu 22.04.3 Desktop, Server, and Studio DVD Set SAME DAY SHIPPING

$7.49



POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives picture

POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives

$179.99