Operating System - HP-UX
1826388 Members
4499 Online
109692 Solutions
New Discussion

How do I multihome a server?

 
T Anderson
Occasional Contributor

How do I multihome a server?

I have 2 L-Class servers that I am trying to get a second interface to with with.

I plumbed the interface and it shows UP in ifconfig. However, landiag shows this interface's Operational Status ad down.

The first interface works fine.

What am I missing? How do I go about getting traffic through the second interface?

Thanks.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: How do I multihome a server?

Couple of things to know.

You can't bring up two NIC cards on the same network.

Ex. lan0 is 192.168.0.10 mask 255.255.255.0

lan1 192.168.0.11 mask 255.255.255.0

Networking will freeze and the machine will drop right of the network.

What you can do is virutal interfaces on the same card.

lan0 can be 192.168.0.10 mask 255.255.255.0 (which is actually lan0:0)

lan0:1 can be 192.168.0.11 mask 255.255.255.0

If you want two actual ports on the network you need an addtition cost software product Port Agregation. You might even need a multi-port NIC card as well.

Good Luck.,

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
John Meissner
Esteemed Contributor

Re: How do I multihome a server?

Have you tried using SAM to go in and activate the lan card/assign an IP address?
All paths lead to destiny
Tim Sanko
Trusted Contributor

Re: How do I multihome a server?

I would:

ifconfig ethX unplumb (your interface)
rmsf the old path.
ioscan
insf

ifconfig ethX (your interface)
plumb

ifconfig ethX xxx.xxx.xxx.yyy (your IP ) XXX.XXX.XXX.XXX (your netmask) up

netstat -in (check the interface.

set my default route

route add xxx.xxx.xxx.yyy zzz.zzz.zzz.zzz

edit /etc/rc.config.d/netconf
and apply the proper parms.
T Anderson
Occasional Contributor

Re: How do I multihome a server?

Thanks for the replies.

I have unplumbed the interface and re-ip'ed it. I am not adding the second interface to the same subnet - it's a different subnet.

Although the interface has been re-ip'ed landiag still shows it's Operational state as down, although ifconfig shows it as up.

Any further help will be greatly appreciated.
John Bolene
Honored Contributor

Re: How do I multihome a server?

We have separate networks for production traffic and Omniback traffic.

We just configured the 2 ports on the different networks using Sam, rebooted the server and up they came.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com