- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Using different NIC cards; selecting one for s...
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-06-2002 05:51 AM
05-06-2002 05:51 AM
Using different NIC cards; selecting one for sends!
What I'd like to know is, since we have a couple of active cards with different IPs/speeds each, how do I set up a default port for sending (i.e. FTPs from scripts, file copies from one system to another -- rcp, etc.) so that I may use for sending (because of speed) only the 1000Base-T and not the Fast Ethernet card.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 05:59 AM
05-06-2002 05:59 AM
Re: Using different NIC cards; selecting one for sends!
Unfortunately you can not have the same IP/subnet on two different interfaces. Your thought is good but not possible to implement.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 06:06 AM
05-06-2002 06:06 AM
Re: Using different NIC cards; selecting one for sends!
This thread may help you:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x7c459f5b3d4fd61190030090279cd0f9,00.html
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 06:13 AM
05-06-2002 06:13 AM
Re: Using different NIC cards; selecting one for sends!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 06:20 AM
05-06-2002 06:20 AM
Re: Using different NIC cards; selecting one for sends!
You can set up a static route on the local system using 'route' so that the packets intended for a specific destination will go through the other interface. However, the destination will receive the packets through the same interface in that operation.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 06:23 AM
05-06-2002 06:23 AM
Re: Using different NIC cards; selecting one for sends!
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 06:58 AM
05-06-2002 06:58 AM
Re: Using different NIC cards; selecting one for sends!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 07:04 AM
05-06-2002 07:04 AM
Re: Using different NIC cards; selecting one for sends!
============================================
About this subject, I have basically the same issue. Can someone clear up a question I have about /etc/r.config.d/netconf
To make all outbound traffic go on the fastest card (let's assume a 1000Base-T card uses xxx.xx.xx.01 IP while xxx.xx.xx.02 is a Fast Ethernet), would prescedence here make this happen? By the way, in my netconf file, the only IP appering under the Internet Configuration parameters is the Fast Ethernet; the 1000Base-T is included under reverse ARP
Inside netconf...
# Internet configuration parameters. See ifconfig(1m), autopush(1m)
# For each additional network interfaces, add a set of variable assignments
# like the ones below, changing the index to "[1]", "[2]" et cetera.
#
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=xxx.xx.xx.02
SUBNET_MASK[0]=255.255.254.0
BROADCAST_ADDRESS[0]=xx.xxx.xxx.255
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0
#Here is my question???
#INTERFACE_NAME[1]=lan1
#IP_ADDRESS[1]=xxx.xx.xx.01
#SUBNET_MASK[0]=255.255.254.0
#BROADCAST_ADDRESS[0]=xx.xxx.xxx.255
#INTERFACE_STATE[0]=up
#DHCP_ENABLE[0]=0
#
# Router Discover Protocol daemon configuration. See rdpd(1m)
# RDPD: Set to 1 to start rdpd daemon
RDPD=0
#
# Reverse ARP daemon configuration. See rarpd(1m)
#
# RARP: Set to 1 to start rarpd daemon
#
RARP=0
IP_ADDRESS[1]=xxx.xx.xx.01
SUBNET_MASK[1]=255.255.254.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=xxx.xx.xx.255
INTERFACE_STATE[1]=up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 07:27 AM
05-06-2002 07:27 AM
Re: Using different NIC cards; selecting one for sends!
Precedence will not matter. But look at your default route statement in the same file and modify it to point to the gigabit interface. So, the traffic by default will go through it.
And you can add static routes using the IP of the fast ethernet card if you need to use it in those cases.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 07:34 AM
05-06-2002 07:34 AM
Re: Using different NIC cards; selecting one for sends!
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 07:48 AM
05-06-2002 07:48 AM
Re: Using different NIC cards; selecting one for sends!
If you are referring to the below statements inside netconf, it appears to me that the ROUTE_DESTINATION is using the slower card right now [0]....
# Internet routing configuration. See route(1m), routing(7)
#
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=xxx.xx.xx.5
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
Because from Internet configuration parameters, this is what we have (slower card)...
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=xxx.xx.xx.02
SUBNET_MASK[0]=255.255.254.0
BROADCAST_ADDRESS[0]=xx.xxx.xxx.255
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0
What's the RARP? This is where the fast card appears...
# Reverse ARP daemon configuration. See rarpd(1m)
#
RARP=0
IP_ADDRESS[1]=xxx.xx.xx.01
SUBNET_MASK[1]=255.255.254.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=xxx.xx.xx.255
INTERFACE_STATE[1]=up
Also, after changes take place here, do they take effect immediately after the parameters are changed or do I need to reboot? Sorry for the little questions, but this is really new ground to discover for me...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 08:12 AM
05-06-2002 08:12 AM
Re: Using different NIC cards; selecting one for sends!
1. The index of route statements doesn't have any relation with that of the corresponding interface. But it depends on the reachability of the IP address of the ROUTE_GATEWAY and it usually sits on one of the broadcasting domains of the interfaces.
2. If you do not have a gateway on the broadcast domain of lan1, you will need to switch the IPs of these interfaces.
3. You cannot have the same subnet on two interfaces. It appears that the IP Addresses of interfaces are different but are in the same subnet.
4. RARP is reverse address resolution protocol that responds to requests that ask for the IP Address of a particular hardware address. I wouldn't recommend to change it.
5. You will need to reboot the server to have these changes into affect. It will not be automatic. You can make then online by using ifconfig and route commands. But I would suggest you reboot the servers.
The essence of this is that you are basically switching the functionalities of these two cards.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2002 09:23 AM
05-10-2002 09:23 AM
Re: Using different NIC cards; selecting one for sends!
Some clarification:
The fast 1000Base-T card is located at the bottom (IP 199.199.52.79); the Fast Ethernet (slower card) located at the top (IP 199.199.52.80) and setup as default route destination. Should I just be changing the values inside the brackets? 199.199.52.80 to [1] and 199.199.52.79 to [0]???
From what I understand in your comments Sridhar, this is what I must do to achieve my goal, correct? I also understand a reboot is necessary afterwards.
Also, any other files I need to be concerned with?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2002 01:01 PM
05-10-2002 01:01 PM
Re: Using different NIC cards; selecting one for sends!
If you want to send out email only through your larger card, configure sendmail to use the nodename of the larger card. ie. if your larger card's name in /etc/hosts or whatever is 'bob', configure sendmail to route through 'bob'. I think that would work...
Hope it helps.
John