- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Routing problems
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
08-07-2001 06:02 AM
08-07-2001 06:02 AM
I have a small problem on hpux 10.20.
I will first explain the situation:
We have a hp 9000 D230 server with autoraid. There is a 10mbit onboard network in it and a 100mbit btlan01 card.
We don't use the 10mbit card, but it has connecting to the network.
There are 2 'networks'.
The unix network:
172.21.184.0/255.255.254.0
and the nt network:
172.21.182.0/255.255.254.0
In the unix network everything works perfect, but when i want to have access to the nt network all the traffic goes through the 10mbit card. Not so fast.
So i checked the routingtabel:
Routing tables
Destination Gateway Flags Refs Use Interface Pmtu PmtuTime
127.0.0.1 127.0.0.1 UH 0 170 lo0 4608
172.21.184.30 127.0.0.1 UH 0 29032 lo0 4608
172.21.184.40 127.0.0.1 UH 1 11674 lo0 4608
default 172.21.184.16 UG 1 21952 lan0 1500
172.21.184.0 172.21.184.30 U 42 1861541 lan0 1500
172.21.184.0 172.21.184.40 U 0 0 btlan01 1500
You can see that the traffic to DEFAULT network is going through lan0 (the 10mbit card).
I have tried to re-enter the route, but hpux still uses lan0. I also checked the man page of route but it doesn't say how i can choose a lancard for a route!
I also checked the forum and there are so users that say that you cannot bind a route to a lan-card... But that it is being done automatically by hpux, it checks the subnets and then hpux chooses the lan-card.
But the problem is the 2 cards have the same subnet. So hpux is choosing a default card or something?
Does anyone have a solution?
Thanx in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 06:12 AM
08-07-2001 06:12 AM
SolutionThe problem is that you cannot use two cards in the same machine on the same subnet. The packets can get interleaved between the two cards. If you were running HP-UX 11x, you could purchase the Auto Port Aggregation product which, in essence, turns up to 4 ports into 1 MAC address but no in 10.20. You need to simple disable the 10MB port and all will be well.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 06:21 AM
08-07-2001 06:21 AM
Re: Routing problems
But the problem is the 2 cards have the same subnet.
Two lan cards on the same subnet is not possible without problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 06:24 AM
08-07-2001 06:24 AM
Re: Routing problems
your routing table shows that your default lan card is lan0, so remove the default router(see man pages of route delete).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 06:26 AM
08-07-2001 06:26 AM
Re: Routing problems
But if i look do a route /? on a nt machine i can give INTERFACE as a argument.
So this would be on nt:
route add default 172.21.184.16(router) 1(metric) btlan01(lancard).
But this is not possible on hpux 10.20?
So the solution is to disable the lan0 (10mbit) card?
Strange...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 06:37 AM
08-07-2001 06:37 AM
Re: Routing problems
I already deleted the default route. But when i add it again it still uses lan0.
And when i don't add default route at all you can guess what happens then (=nothing)...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 07:07 AM
08-07-2001 07:07 AM
Re: Routing problems
How about if you edit your /etc/rc.config.d/netconf file and changed lan0 to btlan and then restart the network.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 07:11 AM
08-07-2001 07:11 AM
Re: Routing problems
First of all, if you don't want to use the 10MB(184.30) card, why don't you just disable it and use your 100MB card(184.40) as the default card.
Secondly if you have to absolutely use both the cards make sure they are configured to be in different subnets. see man 7 routing for more information. Here is a quote from the man page
/Begin Quote/
If a host has multiple interfaces, then it can belog to different subnets. Unlike the past releases, the subnets can have different sizes even if they may have the same network address. This is accomplished by using a different netmask on each of the host interfaces.
/End Quote/
Again if your idea is only to use the 100MB card why don't you disable the 10MB card and make the 100MB default.
-HTH
I am RU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 10:42 PM
08-07-2001 10:42 PM
Re: Routing problems
I think it's strange that i can't choose a interface with the 'route' command...
If i look on a nt/2k machine and do a route /? i can give a interface as a argument...
Is there also a way to make the btlan01 as default lancard.
I already looked at /etc/rc.config.d/netconf and switched the lan0/btlan01. Now the btlan01 is nr 0, and lan0 is 1. But nothing changed...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 09:25 AM
08-08-2001 09:25 AM
Re: Routing problems
Just a thought...why don't you try to 'bring down' the other lan card, before you add your default route? eg:
1. ifconfig lan1 down
2. route add default 'nnn.nnn.nnn.nnn'
3. ifconfig lan1 nnn.nnn.nnn.nnn netmask 255.255.255.254 broadcast nnn.nnn.nnn.nnn up
then take a look at netstat -rn.
Hope this helps...
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 12:10 PM
08-08-2001 12:10 PM
Re: Routing problems
As has been pointed out, HP-UX doesn't support it.
And, no, HP-UX doesn't support using interface in the 'route' command -- it just tries to figure it out based on the IP address of the gateway you give.
Did you mean, maybe, to give one of the NICs and address in the "NT" subnet,
172.21.182.0/255.255.254.0
?
BV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 12:14 AM
08-09-2001 12:14 AM
Re: Routing problems
The card was enabled and configured by another employee that has left the company now.
But thanks all for your help and this forum is GOOD !!!
ps:here are some points :)