- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with two network cards!
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
Discussions
Discussions
Discussions
Forums
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
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
тАО11-08-2002 07:47 AM
тАО11-08-2002 07:47 AM
Unfortunaly, after a router configuration change that took place this past weekend, it seems every request (telnet, FTP, rcp) coming from the server uses the slowest of the two cards.
Any ideas?
See the following (IP addresses changed):
# netstat -rn
Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 243355887 lo0 4136
199.99.99.59 199.99.99.59 UH 0 3341383 lan1 4136
199.99.99.60 199.99.99.60 UH 0 4 lan0 4136
199.99.99.0 199.99.99.60 U 2 0 lan0 1500
199.99.99.0 199.99.99.59 U 2 0 lan1 1500
127.0.0.0 127.0.0.1 U 0 0 lo0 4136
default 199.99.99.5 UG 0 0 lan1 1500
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 07:55 AM
тАО11-08-2002 07:55 AM
Re: Problem with two network cards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 07:57 AM
тАО11-08-2002 07:57 AM
Re: Problem with two network cards!
ifconfig lan0:1
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 08:02 AM
тАО11-08-2002 08:02 AM
Re: Problem with two network cards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 08:05 AM
тАО11-08-2002 08:05 AM
Re: Problem with two network cards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 08:15 AM
тАО11-08-2002 08:15 AM
Re: Problem with two network cards!
Here's the command to shutdown the second NIC if required:
# ifconfig lan1:1 down
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 08:21 AM
тАО11-08-2002 08:21 AM
Re: Problem with two network cards!
As I indicated earlier, I'd only configure the fastest NIC. If you are looking for resilience then the standby card facility of MC/Serviceguard may be an option or you could possibly use Auto Port Aggregation (if you've got a compatible switch).
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 08:30 AM
тАО11-08-2002 08:30 AM
SolutionIt is not a good idea to have multiple network cards from the same system on the same subnet. What i would suggest is to put the netowkr cards in different subnets and then use the faster speed card ip subnet as the default router.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 08:39 AM
тАО11-08-2002 08:39 AM
Re: Problem with two network cards!
See below:
GIGACARD:
==============================================
Card Name: lan1
IP Interface #: 0
Hardware Path: 0/10/0/0
Station Address (hex): xxxxxxx
Card Type: [ 1000Base-T ->]
Speed : [ 1000 ->]
Duplex Mode: [ FULL ->]
Autoneg: [ ON ->]
Internet Address: 199.99.99.59 [ Modify Host Name Aliases.. ]
Subnet Mask: 255.255.254.0 (optional)
10/100 CARD:
==============================================
Card Name: lan0
IP Interface #: 0
Hardware Path: 0/0/0/0
Station Address (hex): xxxxxxxx
Card Type: [ Fast Ether ->]
Autoneg: [ OFF ->]
Speed (million bps): [ 100 ->]
Duplex Mode: [ FULL ->]
Internet Address: 172.16.52.80 [ Add Host Name Aliases.. ]
Subnet Mask: 255.255.254.0 (optional)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 08:48 AM
тАО11-08-2002 08:48 AM
Re: Problem with two network cards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 09:26 AM
тАО11-08-2002 09:26 AM
Re: Problem with two network cards!
Your users will presumably only be using the 199.99.99.59 IP address and the default gateway 199.99.99.5 is in the same subnet therefore they can only use the 1000base card.
The problem with having two NICS in the same subnet is that the system has two possibilities for outgoing connections and you can't be certain which one it will use.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 10:26 AM
тАО11-08-2002 10:26 AM
Re: Problem with two network cards!
To make it short and clear:
1. Listen to the John good advice (first one) and use only one interface in the same subnet. No choice for kernel - no problem for you. Two cards in the same network doesn't mean double transmission speed.
2. Look at the John good advice (the last one). What you did is you've changed the IP for the slower card. No, if you didn't change enything else, according to your previous routing:
If you want connection to: 199.99.99.x or 199.99.98.x (netmask is 255.255.254.0) it goes directly through faster card.
If you want connection to: 172.16.52.x or 172.16.53.x (netmask also 255.255.254.0) it goes directly through slower card. (And if it is not what is directly connected to your local network, you probably receive no answer).
Everything else is chosen to go through the default gateway, that is 199.99.99.5, which actually belongs to the net serviced by the faster card.
Think what you want to archive. Thats what you have now. If you don't belive me - check it with traceroute.
Hope I helped a bit.
Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2002 03:57 AM
тАО11-09-2002 03:57 AM
Re: Problem with two network cards!
GIGACARD:
==============================================
Card Name: lan1
IP Interface #: 0
Hardware Path: 0/10/0/0
Station Address (hex): xxxxxxx
Card Type: [ 1000Base-T ->]
Speed : [ 1000 ->]
Duplex Mode: [ FULL ->]
Autoneg: [ ON ->]
Internet Address: 199.99.99.59 [ Modify Host Name Aliases.. ]
Subnet Mask: 255.255.254.0 (optional)
10/100 CARD:
==============================================
Card Name: lan0
IP Interface #: 0
Hardware Path: 0/0/0/0
Station Address (hex): xxxxxxxx
Card Type: [ Fast Ether ->]
Autoneg: [ OFF ->]
Speed (million bps): [ 100 ->]
Duplex Mode: [ FULL ->]
Internet Address: 199.99.99.60 [ Add Host Name Aliases.. ]
Subnet Mask: 255.255.254.0 (optional)
++++++++++++++++++++++++++++++++++++++++++++
So the IP addresses are different (they have always been), but both have the same Subnet, I guess it will be best to disable for now the slowest card until I can replace the IP/subnet of the slowest card (given Sanjay and Melvyn comments regarding conflicts using the same subnet).
The scenario I encountered was that for a long time packets sent were using only the Gigacard, however recently (I do not know the reason) the delivery switched momentarily to the slowest card until I did the reset yesterday, then it went back to delivering packets with the fastest of the two cards again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2002 03:21 AM
тАО11-11-2002 03:21 AM
Re: Problem with two network cards!
The basic thing is the machines bases its IP decisions on the cards network and station address. But with two cards in the same subnet(even if they have different IP's) that will cause problems.
Regards
Gerhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2002 10:54 AM
тАО11-11-2002 10:54 AM
Re: Problem with two network cards!
One can force replies to go out the interface on which they entered by setting ip_strong_es_model to a value of 1. This will also mean that traffic for IP A will not be accepted on NIC B and vice versa.
One might also setup a bunch of host/network routes pointing at each interface IP as apropriate.
Finally though, if what you really want is some sort of fail-over, the best thing to do is to get and install the Auto Port Aggregation (APA) software and configure the two NICs under the LAN Monitor functionality.