Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

2 LAN card interfaces in HP-Ux

misin4u
Occasional Contributor

2 LAN card interfaces in HP-Ux

we added two new LAN card interface LAN4 and LAN 5
LAN 5 is configured properly with default gateway and its pingable
but we have problem with LAN 4 connecting to default gateway

#netstat -rn

Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
172.20.41.68 172.20.41.68 UH 0 lan3 4136
192.168.20.1 192.168.20.1 UH 0 lan4 4136
192.168.20.2 192.168.20.2 UH 0 lan5 4136
172.20.41.64 172.20.41.68 U 2 lan3 1500
192.168.20.0 192.168.20.2 U 2 lan5 1500
192.168.20.0 192.168.20.1 U 2 lan4 1500
127.0.0.0 127.0.0.1 U 0 lo0 4136
192.168.0.0 192.168.20.254 UG 0 lan5 1500
default 172.20.41.65 UG 0 lan3 1500


I already configured the static route with LAN5 interface.
2 REPLIES
Suraj K Sankari
Honored Contributor

Re: 2 LAN card interfaces in HP-Ux

Hi,
Can you post lanscan output.


Try to re-configure from SAM

Suraj
Matti_Kurkela
Honored Contributor

Re: 2 LAN card interfaces in HP-Ux

By their IP addresses, it looks like your lan4 and lan5 are connected to the same IP segment.

Using two physical LAN interfaces and IP addresses to connect to a single network segment is not a recommended configuration.

If you want two physical interfaces for extra capacity, use APA to join them together into a single aggregate interface, then assign the IP address to the aggregate.

If you want two IP addresses, use IP aliases on a single LAN interface (which may be the aggregate interface produced by APA).

This document might be useful in understanding how HP-UX works with multiple NICs:
http://mayoxide.com/presentations/Understanding_hpux_routing.pdf

MK
MK