- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- why routing table different from netconf?
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
05-05-2004 12:57 PM
05-05-2004 12:57 PM
why routing table different from netconf?
Here is my abbreviated netconf entries:
IP_ADDRESS[0]=15.x.x.106
SUBNET_MASK[0]=255.255.248.0
....
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]="255.255.248.0"
ROUTE_GATEWAY[0]=15.x.x.1
But 'netstat -rvn' showed the following:
127.0.0.1/255.255.255.255 127.0.0.1 UH 0 lo0 4136
15.x.x.106/255.255.255.255 15.x.x.106 UH 0 lan0 4136
15.x.x.0/255.255.248.0 15.x.x.106 U 2 lan0 1500
127.0.0.0/255.0.0.0 127.0.0.1 U 0 lo0 0
default/0.0.0.0 15.x.x.1 UG 0 lan0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 01:03 PM
05-05-2004 01:03 PM
Re: why routing table different from netconf?
# ???????
127.0.0.1/255.255.255.255 127.0.0.1 UH 0 lo0 4136
#actual ip address
15.x.x.106/255.255.255.255 15.x.x.106 UH 0 lan0 4136
#the network
15.x.x.0/255.255.248.0 15.x.x.106 U 2 lan0 1500
#loopback has to be there
127.0.0.0/255.0.0.0 127.0.0.1 U 0 lo0 0
default/0.0.0.0 15.x.x.1 UG 0 lan0 0
If you look at the routing table, you'll see it does relate back to either the loopback, the ip addresss, or its network or any network routes that have been added with the route command.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 03:33 PM
05-05-2004 03:33 PM
Re: why routing table different from netconf?
What version of HPUX are you running? Some of the later version had dead gateway detection on by default. This used a ping to test that a gateway was alive and if the ping failed the gateway was declared dead and could not be used until it responded to a ping. Sometimes everything works fine until the router admin decides to harden his router and stops it from responding to pings.
Have you tried a traceroute?
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 05:25 PM
05-05-2004 05:25 PM
Re: why routing table different from netconf?
What you can do is if possible reconfigure the lan interfaces and Gatewayes thr' SAM or on the other hand try rebooting the server.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 06:16 AM
05-06-2004 06:16 AM
Re: why routing table different from netconf?
When I lost the connection, I could ping 127.0.0.1, but could not ping the actual IP address of my box or the default gateway. syslog said inetd and sshd was terminated by signal 15, for which I didn't know why. I manually edited the netconf to make sure everything is fine, then rebooted the server. everything is fine. But I am afraid the box will disconnect again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 07:10 AM
05-06-2004 07:10 AM
Re: why routing table different from netconf?
While it is working do:
lanadmin
lan
display
and note the results. Especially the first couple of lines where it tells you if the circuit is up and what speed it is running at. The second page of the display will show you any errors. If errors are building up it may indicate a duplex mismatch, bad cable or bad NIC or bad port on the hub/switch.
Also look up the command:
linkloop
in the man and learn how to use it. If you can find a device on your local LAN which responds to this command then you you have a powerful tool for testing your layer two connectivity.
Finally you might want to check that your HPUX does not have dead gateway detection turned on. This is on by default in 11.0 and causes no end of problems when the gateway router stops answering pings - quite common these days that the net admin will turn them off to prevent worm attacks.
ndd -get /dev/ip ip_ire_gw_probe
if it comes back 1 then you should consider turning it off.
ndd -set /dev/ip ip_ire_gw_probe 0
and then edit /etc/rc.conf.d/nddconf
to make the change permanent.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 07:17 AM
05-06-2004 07:17 AM
Re: why routing table different from netconf?
If you couldn't ping the local IP, then you either had a HW problem with the NIC or the bus in which it resides or you lost network services altogether. inetd & sshd going down on signal 15 could indicate that they were killed manually by the kill command or they could have been killed when the NIC failed or network services died.
I'd check the GSP for HW errors to see if the NIC or bus failed.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2004 06:19 AM
05-07-2004 06:19 AM