1847572 Members
3889 Online
110265 Solutions
New Discussion

Re: Secondary Interface.

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

Secondary Interface.

Hello,
I installed a secondary lan interface (lan10) card on my Nclass running 11.0. It's active and appears to be configured correctly. It's in DNS, I can ping it and telnet to it. However glance shows all activity going to the lan1 card. How can I force activity on the secondary interface? I telneted to the secondary interface and tried ftp'ing a file(get) from another box, a real large file. All activity showed on the lan1.

Bob
UNIX IS GOOD
9 REPLIES 9
Nobody's Hero
Valued Contributor

Re: Secondary Interface.

Yes, they are on different sub nets. So with these route add commands. Can I interrupt service to the box while configuring the secondary interface with route adds?
UNIX IS GOOD
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Secondary Interface.

First of all,I assume that these cards are on different subnets; if not, they need to be. Having more than 1 card on the same subnet (without APA) is chaotic. It almost works well.

If your card is properly configured, you still need to tell your box how to route through this second interface. That is doune using route add commands. Man 1m route for details.
If it ain't broke, I can fix that.
John Palmer
Honored Contributor

Re: Secondary Interface.

What IP addresses are you using? Please post the output from 'netstat -in' and 'netstat -rnv'.

Regards,
John
Nobody's Hero
Valued Contributor

Re: Secondary Interface.

netstat -rnv
Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
127.0.0.1/255.255.255.255
127.0.0.1 UH 0 1504 lo0 4136
10.31.1.2/255.255.255.255
10.31.1.2 UH 0 14452 lan10 4136
172.16.9.69/255.255.255.255
172.16.9.69 UH 0 24677 lan5 4136
10.31.1.0/255.255.255.0
10.31.1.2 U 2 0 lan10 1500
172.16.8.0/255.255.248.0
172.16.9.69 U 2 0 lan5 1500
127.0.0.0/255.0.0.0 127.0.0.1 U 0 0 lo0 4136
default/0.0.0.0 172.16.8.1 UG 0 0 lan5 1500
UNIX IS GOOD
Nobody's Hero
Valued Contributor

Re: Secondary Interface.

10.31.1.2 is the secondary interface.

netstat -rn
Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 1504 lo0 4136
10.31.1.2 10.31.1.2 UH 0 14395 lan10 4136
172.16.9.69 172.16.9.69 UH 0 24669 lan5 4136
192.151.53.128 172.16.8.26 UGH 0 0 lan5 1500
64.58.76.228 172.16.8.26 UGH 0 0 lan5 1500
10.31.1.0 10.31.1.2 U 2 0 lan10 1500
172.16.8.0 172.16.9.69 U 2 0 lan5 1500
127.0.0.0 127.0.0.1 U 0 0 lo0 4136
default 172.16.8.1 UG 0 0 lan5 1500
UNIX IS GOOD
John Palmer
Honored Contributor

Re: Secondary Interface.

Hi,

The way that you've got the routing table configured at the moment, all outgoing traffic (apart from addresses in the 10.31.1 subnet) will go via your lan5.

You can add routes 'on the fly' without any problem but they will require you to have at least one router in the 10.31.1 subnet.

Regards,
John
Nobody's Hero
Valued Contributor

Re: Secondary Interface.

What about incomming traffic. Does that default to only the primary lan1?
UNIX IS GOOD
Nobody's Hero
Valued Contributor

Re: Secondary Interface.

So there is no way to send traffic directly to lan10 as it is set up now?
UNIX IS GOOD
Eric Kimminau
New Member

Re: Secondary Interface.

You would need to set up higher metric network routes to the networks you want to try to reach via your secondary interface. In the case of failure or excessive utilization on your primary interface, then all traffic for those defined networks would use the secondary interface.

In both IRIX and Solaris there is a concept of interface "bonding". In Solaris this is done via mpathd.

An interesting message you may want to read:
http://aa11.cjb.net/hpux_admin/2000/06/0221.html
There is a software product called Auto-Port Aggregation. The software can
perform the following function:
o load balancing
o hot standby (no load balancing)
o link aggregate
o Bandwidth scaling (2 * 100BaseT give 200 Mbps, 4 * 100BaseT gives 400
Mbps)
o redundancy
o Single MAC address

And it supports 100BaseT, gigabits, and FDDI. However, it doesn't support a
mixture of network card models, as documented.

The description can be found in
http://www.unix.hp.com/operating/networking/autoport_aggregation/index.html

Hope that helps!

Eric.