- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unwanted Route Added when using ifconfig
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
09-14-2005 02:37 AM
09-14-2005 02:37 AM
This is our routing table before we bring up the "testing" network card:
wcores06 [/root]
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
10.10.102.71 10.10.102.71 UH 0 lan2 4136
10.10.0.82 10.10.0.82 UH 0 lan1 4136
10.10.6.200 10.10.6.200 UH 0 lan1:1 4136
192.168.100.6 192.168.100.6 UH 0 lan0 4136
10.10.0.0 10.10.0.82 U 3 lan1 1500
10.10.0.0 10.10.6.200 U 3 lan1:1 1500
192.168.0.0 192.168.100.6 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 10.10.0.1 UG 0 lan1 0
When we bring up lan2 (the testing card) it places a route to 10.10.0.0 going through lan2 as you can see below:
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
10.10.102.71 10.10.102.71 UH 0 lan2 4136
10.10.0.82 10.10.0.82 UH 0 lan1 4136
10.10.6.200 10.10.6.200 UH 0 lan1:1 4136
192.168.100.6 192.168.100.6 UH 0 lan0 4136
10.10.0.0 10.10.102.71 U 2 lan2 1500
10.10.0.0 10.10.0.82 U 3 lan1 1500
10.10.0.0 10.10.6.200 U 3 lan1:1 1500
192.168.0.0 192.168.100.6 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 10.10.0.1 UG 0 lan1 0
Since this is added as a higher priority then lan1 all network traffic goes out of lan2 and it messes with some applications like NIS.
Is there a way to specify with ifconfig (or anything else) to have this route added with a lower priority or not at all??
Thanks,
Ty
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 03:10 AM
09-14-2005 03:10 AM
Re: Unwanted Route Added when using ifconfig
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
09-14-2005 03:24 AM
09-14-2005 03:24 AM
Solutionsame subnet. One to handle local traffic,
and the other remote traffic.
The resultion that worked for me was to define
the subnet for the traffic handling local
traffic to be smaller than the subnet
for the other card.
The matching algorithm uses the route with the
most number of bits in the mask. Don't try
to route the same subnet through both cards.
It doesn't work. Use more specific subnets.
You can nest a smaller subnet inside another.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 04:10 AM
09-14-2005 04:10 AM
Re: Unwanted Route Added when using ifconfig
This can't work at all.
You have to use different subnets!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 02:37 PM
09-14-2005 02:37 PM
Re: Unwanted Route Added when using ifconfig
route [-f] [-n] [-p pmtu] add [net|host] destination [netmask mask] gateway [count]
route [-f] [-n] delete [net|host] destination
[netmask mask] gateway [count]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 03:41 AM
09-15-2005 03:41 AM