LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-28-2008, 07:15 AM   #1
freeindy
Member
 
Registered: Nov 2002
Posts: 207

Rep: Reputation: 32
Question Booting via PXE/TFTP problem


Hi,

I have the following configuration:

HOST:
Code:
Suse Linux Enterprise Server 10 (i586) with patchlevel 1
TFTP and NFS installed an running (AFAIK)
IP: 172.25.2.88

Target:
Code:
i686 machine that is diskless.
IP: 172.25.2.104
The host and target connected to a local network and they both have NETMASK 255.255.0.0.

On target side, I have set in the bios that it should boot using PXE and I get the following output at bootup:
Code:
Intel(R) Boot Agent FE v4.1.18                                      
Copyright (C) 1997-2005, Intel Corporation                          


Intel(R) Boot Agent PXE Base Code (PXE-2.1 build 084)               
Copyright (C) 1997-2005, Intel Corporation                          


CLIENT MAC ADDR: 00 A0 A5 5D AD 81  GUID: 00020003 0004 0005 0006 000700080009
CLIENT IP: 172.25.2.104  MASK: 255.255.0.0  DHCP IP: 172.21.1.11    
GATEWAY IP: 172.25.0.254                                            


Press F12 for network service boot                                  
PXE-M0F: Exiting Intel Boot Agent.                                  

Retrying boot sequence...
And so it keeps rebooting and getting the ip address.

I have never done nfs booting as such so I really have no idea what the problem is.

Does anyone knows?

Thanks a million.
Indy
 
Old 02-28-2008, 08:44 AM   #2
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Rep: Reputation: 31
Well I can surely help you on this....I need following inputs......

1.] Start the installation from the host and execute:
#tcpdump -w <any file name>

Open this file with the utility called "ethereal" and see what exactly is happening and where actually is the bottleneck.

2.] Also when you start the installation on the target, from the host paste the output of following command:
#cat /var/log/messages

3.] Can you check if iptables is running on the host, if yes first stop it and then try the installation on the target and let us know how it goes.

Last edited by paragkalra; 02-28-2008 at 08:48 AM.
 
Old 02-28-2008, 01:13 PM   #3
freeindy
Member
 
Registered: Nov 2002
Posts: 207

Original Poster
Rep: Reputation: 32
Smile

Hi paragkalra,

Analysing the ethereal app with tcpdump, there are several logs from the target:

Code:
No Time    Source       Destination   Protocol   Info
xx xxx  172.25.2.104     Broadcast       ARP     Who has 172.25.0.254  Tell 172.25.2.104
It also has the right mac address from the target.

From the /var/log/messages:

Code:
Jun  2 19:17:07 testserver kernel: device eth0 entered promiscuous mode
Jun  2 19:17:07 testserver kernel: audit(1180804627.254:2): dev=eth0 prom=256 old_prom=0 auid=4294967295
Jun  2 19:17:07 testserver kernel: klogd 1.4.1, ---------- state change ----------
Jun  2 19:17:18 testserver kernel: device eth0 left promiscuous mode
Jun  2 19:17:18 testserver kernel: audit(1180804638.491:3): dev=eth0 prom=0 old_prom=256 auid=4294967295
Jun  2 19:17:28 testserver kernel: device eth0 entered promiscuous mode
Jun  2 19:17:28 testserver kernel: audit(1180804648.124:4): dev=eth0 prom=256 old_prom=0 auid=4294967295
Jun  2 19:18:42 testserver kernel: device eth0 left promiscuous mode
Jun  2 19:18:42 testserver kernel: audit(1180804722.564:5): dev=eth0 prom=0 old_prom=256 auid=4294967295
Jun  2 19:26:20 testserver kernel: device eth0 entered promiscuous mode
Jun  2 19:26:20 testserver kernel: audit(1180805180.589:6): dev=eth0 prom=256 old_prom=0 auid=4294967295
Jun  2 19:27:27 testserver kernel: device eth0 left promiscuous mode
Jun  2 19:27:27 testserver kernel: audit(1180805247.977:7): dev=eth0 prom=0 old_prom=256 auid=4294967295
The date is inacurrate but i suppose that it shouldn't be a problem.

Any help?

Indy
 
Old 02-29-2008, 05:54 AM   #4
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Rep: Reputation: 31
I want to have look at entire "/var/log/messages" and "tcpdump" output from the instant installation starts at host and to the instant it fails at target. I don't know whether it can be uploaded at LQ or not but in any case you can mail me [paragkalra@gmail.com].

Have you checked iptables on the host?
 
Old 02-29-2008, 07:08 AM   #5
freeindy
Member
 
Registered: Nov 2002
Posts: 207

Original Poster
Rep: Reputation: 32
No, iptables is not running. I don't know how to run it :-P.

Is there a special way of setting it?
 
Old 02-29-2008, 09:49 AM   #6
freeindy
Member
 
Registered: Nov 2002
Posts: 207

Original Poster
Rep: Reputation: 32
I sent you the files to your mail.

indy
 
Old 02-29-2008, 05:38 PM   #7
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Your dhcp configuration is wrong with the current mask the client wont be able to make a connection to the dhcp server

CLIENT IP: 172.25.2.104 MASK: 255.255.0.0 DHCP IP: 172.21.1.11

change the mask in 255.0.0.0 ( which i dont recommend)
or change the dhcp server to 172.25.1.11
or the client to 172.21.2.104
 
Old 03-01-2008, 10:02 AM   #8
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Rep: Reputation: 31
I guess arno is right......
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PXE-E32 TFTP open timeout maxchock Linux - General 11 09-12-2013 07:52 AM
PXE-TFTP Installation Server dipuasks Linux - General 6 12-04-2008 01:44 AM
PXE TFTP thin client paul_mat Linux - Networking 2 01-19-2006 06:41 AM
network booting and tftp potential / pxe rhoyerboat Linux - Networking 1 08-30-2005 05:32 AM
Network Install PXE/BootP/TFTP unixvillian Linux - Software 1 06-09-2004 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration