- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Configure LAN interfaces FAIL
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 06:59 AM
04-28-2004 06:59 AM
Configure LAN interfaces FAIL
I have them all plugged into a layer 3 switch, and at one point they were all loading and booting up fine. Now, no matter what I do I cannot get them to read OK at the "Configure LAN interfaces" line and I am not sure what I did to cause this. Once the machines boot completes, if I run "ifconfig lan0" I get:
"lan0: flags=863
inet 129.204.24.106 netmask ffff0000 broadcast 129.204.255.255"
I added the IP addresses using "sam", and have gone so far as to totally reload the OS on one of the machines. The first time the machine reboots after being rebuilt, the Configure LAN interfaces reads "OK", but if I immediately reboot, it shows FAIL, and continues to from that point on. I cannot figure out what I have done to all of a sudden start failing. Another (possibly unrelated) symptom is that the CDE environment on the rebuilt machine occasionally locks up. Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 07:05 AM
04-28-2004 07:05 AM
Re: Configure LAN interfaces FAIL
if you are not the network administrator yourself, I would suggest talking to the net admin person and getting the correct subnet mask and trying to change it. Usually, 255.255.255.0 is a common subnet mask to use but it changes from one network to the other.
Also a test to perform is to ping the broadcast address of the interface and see if anything other than its own ip address is responding to the query.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 07:08 AM
04-28-2004 07:08 AM
Re: Configure LAN interfaces FAIL
The interface (lan0) can be set to autonegotiation. This does not always work correct. The check the current speed/duplex settings you could:
# lanscan
To retreve the ppa number (i guess it is 0)
# lanadmin -x 0
to view current settings
# lanadmin -X 100FD 0
(Or 10 FD )
To make these settings permanent edit the /etc/rc.config.d/hpbtlanconf ( or other interface file)
These settings also need to be set on the switch port. So If you specify 100 FD or 10 FD on the server match these settings on the switch.
Hope this helps,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 07:09 AM
04-28-2004 07:09 AM
Re: Configure LAN interfaces FAIL
Have you checked /etc/rc.log? Clues to the cause should be in there.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 07:25 AM
04-28-2004 07:25 AM
Re: Configure LAN interfaces FAIL
Well, I would suspect either a problem in the /etc/rc.config.d/netconf file - a type in there or something or a problem with the net startup scripts.
I don't have any 10.2 systems anymore, but in 11.x the scripts are in /sbin/rc2.d & named S008net.init (loopbacks, TCP stack & TCP tunables) and S340net (IPs & routes)
So definitely check the /etc/rc.log for these sections as that's probably where the errors are occurring.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 02:28 AM
04-30-2004 02:28 AM
Re: Configure LAN interfaces FAIL
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 05:17 PM
05-04-2004 05:17 PM
Re: Configure LAN interfaces FAIL
Does S008net.sd fail without any error message? /sbin/init.d/net seems to print some
error message whenever it exits with $ERROR...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 06:54 PM
05-04-2004 06:54 PM
Re: Configure LAN interfaces FAIL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 09:07 PM
05-04-2004 09:07 PM
Re: Configure LAN interfaces FAIL
I do not have a 10.20 machine to double-check, however IMHO S008net... should be a link to another script that configures *only* the loopback interface (sbin/init.d/net.init)
Check if you have both /sbin/init.d/net and /sbin/init.d/net.init (or similar) and correct the links.
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 09:42 PM
05-04-2004 09:42 PM
Re: Configure LAN interfaces FAIL
on a working 10.2 machine, @ /sbin/rc2.d looks like.
ls -l S*net*
lrwxrwxrwx 1 root sys 16 Jun 10 1996 S008net.sd -> /sbin/in
it.d/net
lrwxrwxrwx 1 root sys 18 Jun 10 1996 S300nettl -> /sbin/ini
t.d/nettl
lrwxrwxrwx 1 root sys 16 Jun 10 1996 S340net -> /sbin/init.
d/net
lrwxrwxrwx 1 root sys 18 Jun 10 1996 S500inetd -> /sbin/ini
t.d/inetd
so the links are correct.
regds
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 12:36 AM
05-05-2004 12:36 AM
Re: Configure LAN interfaces FAIL
Configure LAN Interfaces
Output from "/sbin/rc2.d/S008net.sd start":
-----------------------------------------
ifconfig lan0 129.204.24.103 netmask 255.255.255.0 broadcast 129.204.24.255 up
ERROR: lan0 interface: ifconfig: no such interface
"/sbin/rc2.d/S008net.sd start" FAILED
Adding some debug messaging shows the ifconfig line fails with a status=1. When the same "ifconfig lan0" command executes later (running as S340net) in rc.log, the ifconfig lan0 line passes with status=0, so that even when S008net.sd fails on boot, the network still seems to be functioning ok on login, ping, ftp etc. Even with the network up, I would still love to know why the script fails and if there are any repercussions I am not aware of. An interesting point is that the S340net.sd script is run after rc.log file shows that the "Configure HP ethernet interfaces" and "Configure HP 100BT interfaces" scripts are executed successfully which I am beginning to think is important. Also, I have been testing a while, and have seen the S008net.sd script pass on occasion, usually by bringing the system up off the network once (FAIL), and then bringing it up attached to a 10BT hub (PASS). But the very next time I reboot it, it fails again.