- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- Networking
- >
- Dual NIC routing fail
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
Dual NIC routing fail
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-04-2013 02:04 AM
04-04-2013 02:04 AM
Dual NIC routing fail
Dual NIC routing fail
I am running HPUX 10.20 & have 2 NIC cards in my HP9000 K360 servers. I have assign two unique IP subnet to both NIC card.
But whenever i try to ping on the 176.20.10.78 it return -1 but if i ping the interface it is ok
I notice that everytime i ping the 176.20.20.78 the NIC Card that is blinking is Lan1 instead of Lan0
And further when i ping 176.20.10.77 from the outside it is reachable but the route from inside the NIC is not able to go out.
Please help advise me what is wrong ?
Below is the Netconf & also the output of Netstat -rn
INTERFACE_NAME[0]=lan1
IP_ADDRESS[0]=216.131.195.138
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=
LANCONFIG_ARGS[0]="ether"
DHCP_ENABLE[0]=0
INTERFACE_NAME[1]=lan0
IP_ADDRESS[1]=176.20.10.77
SUBNET_MASK[1]=255.255.255.0
BROADCAST_ADDRESS[1]=176.20.10.255
LANCONFIG_ARGS[1]="ether"
DHCP_ENABLE[1]=0
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=216.131.195.138
ROUTE_COUNT[0]=0
ROUTE_ARGS[0]=""
ROUTE_DESTINATION[1]="host 176.20.10.78"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]=176.20.10.77
ROUTE_COUNT[1]=0
ROUTE_ARGS[1]=""
Netstat -rn (Output) -
Destination Gateway Flags Refs Use Interface Pmtu PmtuTime
127.0.0.1 127.0.0.1 UH 0 311 lo0 4608
216.131.195.138 127.0.0.1 UH 4 2329 lo0 4608
176.20.10.77 127.0.0.1 UH 0 1069 lo0 4608
176.20.10.78 176.20.10.77 UH 0 0 lan0 1500
default 216.131.195.138 U 564333 lan1 1500
216.131.195.0 216.131.195.138 U 9 7832 lan1 1500
176.20.10.0 176.20.10.77 U 0 0 lan0 1500
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-08-2013 05:54 AM - edited 04-08-2013 06:00 AM
04-08-2013 05:54 AM - edited 04-08-2013 06:00 AM
Re: Dual NIC routing fail
Re: Dual NIC routing fail
1.)
For all routes involving a gateway (including the default gateway route), the ROUTE_COUNT value should be greater than 0. So your "ROUTE_COUNT[0]=0" should be "ROUTE_COUNT[0]=1".
2.)
> I notice that everytime i ping the 176.20.20.78 the NIC Card that is blinking is Lan1 instead of Lan0
176.20.20.78 is not part of the lan1 network segment, as determined by the combination of lan0 IP 176.20.10.77 and netmask 255.255.255.0. I guess this might be a typo?
Because of the incorrect ROUTE_COUNT value on the default gateway route, the default gateway route is listed before the 176.20.10.0 network route in the routing table. When choosing the interface for sending any outgoing IP packet, the first matching entry in the routing table wins - and the default gateway route matches everything. This might be causing the system to attempt to use lan1 instead of lan0 when you're pinging 176.20.10.78.
Once the ROUTE_COUNT value of the default gateway route is fixed, the default gateway entry should appear in its proper location, as the last line in the routing table. At that point, you should not need the host route entry for 176.20.10.78 at all: the auto-generated network route 176.20.10.0/255.255.255.0 for lan0 should be enough to cause any traffic with 176.20.10.78 as a destination to be sent out from lan0. So remove or comment out all ROUTE_*[1] lines from your netconf file.
And you should use "netstat -rnv" instead of "netstat -rn". Omitting the "-v" option hides the netmasks of the route entries, which are rather important.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP