Communications and Wireless
1847583 Members
3241 Online
110265 Solutions
New Discussion

Configuring multiple cards

 
Tim Carter
Occasional Contributor

Configuring multiple cards

Can someone tell me what is different on 11.
I have an N-class box that I am trying to configure a second lan card in. The primary lan card is in a class C network. This second card is in a class B network. Everything looks like it is up and working but I can't access any of the other systems on the second network and I can't access this box from any of the other systems in the class B net. I currently have 4 K-class boxes running 10.20 with this same configuration and everything works fine. The only thing I see different is that under 10.20 with netstat, the gateway to my class B network shows as 127.0.0.1 but under 11 it is showing as the address of the second card itself. I would appreciate anyone who currently has multiple lan cards configured in the same box under 11 letting me know what is needed. Thanks!
I love my job!
2 REPLIES 2
Chakravarthi
Trusted Contributor

Re: Configuring multiple cards

start routed deamon, then you should be able to access,,

else should be some problem in

1. network configuration
2. check based on the physical any VLAN configuration is done, in your network, and you are using correct ports
Ron Kinner
Honored Contributor

Re: Configuring multiple cards

11 is famous for suddenly enforcing the RFC which forbids using subnet zero just as the RFC became obsolete. (If you div1de a class A address (10.0.0.0)into for example B size subnets your first B size subnet would be 10.0.0.0 -10.0.255.255. This is the subnet zero which is not allowed. The same applies to divide a class B into C's or C into pieces. The first and last subnets are not allowed by the obsolete RFC. If this applies to your system then you can fix it with:

ndd -set /dev/ip ip_check_subnet_addr 0

and
edit /etc/rc.config.d/nddconf
to add:

TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_check_subnet_addr
NDD_VALUE[0]=0

(change the [0] to the next higher number if you already have something there.) This will insure that the change stays after a reboot.


You can also look at

lanadmin
lan
display

Normally it comes up with the lan with ppa = 0 first so you probably have to do
ppa 1
to get to the new card. If you have them numbered in some strange way then you may have to try a few other numbers to get the next one or run ioscan or lanscan to see how they are numbered.

Anyway it should say starting on about line 6:

Administration Status (value) = up(1)
Operation Status (value) = up(1)
(Speed is shown on line 5 - make sure it matches what the switch thinks it needs.)

You can also see if you are getting any packets in or out and whether you are seeing a lot of errors. If you see up up and it doesn't work then maybe you have a bad cable or switch port.

If you see up down then the NIC thinks it is OK but does not see a cable plugged in with a good port on the other end. Sort of like not having a link light on. (if you have multiple NICs HPUX may have a different idea of how to count them.)

If you see down down then it's usually a config problem on the box.

As far as netstat -rn showing the ip address as the gateway for the network that is normal for 11.0. Make sure you have not made the mistake of defining two default gateways. If you look at netstat -rnv you will see if the box has tried to send any packets out that interface.

You can also use landiag and linkloop to test the circuit.

netconf should look something like:

LANCONFIG_ARGS[0]="ether"
DHCP_ENABLE[0]=0

LANCONFIG_ARGS[1]="ether"
DHCP_ENABLE[1]=0

ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="A.B.C.254"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""

ROUTE_DESTINATION[1]="E.F.I.0"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]="E.F.G.250"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""


GATED=0
GATED_ARGS=""

RDPD=0

IP_ADDRESS[0]=A.B.C.D
SUBNET_MASK[0]=255.255.255.0
INTERFACE_NAME[0]=lan0
BROADCAST_ADDRESS[0]=A.B.C.255
INTERFACE_STATE[0]=up

IP_ADDRESS[1]=E.F.G.H
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=E.F.G.255
INTERFACE_STATE[1]=up

Ron