Operating System - HP-UX
1833323 Members
2879 Online
110051 Solutions
New Discussion

Need help setting up 2nd LAN card

 
SOLVED
Go to solution
David Johnson_6
Advisor

Need help setting up 2nd LAN card

Hi,
I have an HP 9000 L2000 with 3 lan cards.
I want to set up the second card, lan1.
I could really use some white papers.
I and not not sure how to make the traffic from lan0 and lan1 completely separate.

ccchpl(/root_home)#lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x001083FE7454 0 UP lan0 snap0 1 ETHER Yes 119
0/3/0/0 0x001083FBB6CC 1 UP lan1 snap1 2 ETHER Yes 119
0/6/0/0 0x001083FBB6BA 2 UP lan2 snap2 3 ETHER Yes 119
5 REPLIES 5
Geoff Wild
Honored Contributor
Solution

Re: Need help setting up 2nd LAN card

You will need a different gateway/subnet to make them separate...

The "LAN Adminstrators Guide" is good - especcially chapter 6

http://docs.hp.com/en/B2355-90796/ch06s03.html

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Mel Burslan
Honored Contributor

Re: Need help setting up 2nd LAN card

If you can explain the scenario that you are trying to accomplish, help can be much more coincise. But as geoff said, you should have two different gateways on two different subnets to start with. And unless you are the network administartor, you will need help from them to give you ports on different subnets and they also need to give you the default gateway (router interface) ip addresses for each subnet. After all this information is in your hands, it is just setting up a new lan and adding some net routes.
________________________________
UNIX because I majored in cryptology...
David Johnson_6
Advisor

Re: Need help setting up 2nd LAN card

Thank you for your answers.

Lan0 has al network traffic at this time.
I am setting up Lan1 to a separate router
for use on one application.

The admin will setup everything on the router side. All i need is address for server and the iether net side of the router.
Nguyen Anh Tien
Honored Contributor

Re: Need help setting up 2nd LAN card

I highly recommand you use SAM
read this guide
http://docs.hp.com/en/B2355-90796/ch02s02.html
tienna
HP is simple
Mel Burslan
Honored Contributor

Re: Need help setting up 2nd LAN card

According to this information you provided, you will receive an ip address for this interface and the gateway ip address for this subnet from your network administrators.
As an example, lets say the addresses that gave you are as follows (totally hypotetical):

Server LAN1 IP Address: 145.21.177.42
Gateway IP : 145.21.177.254
(on gateway addresses, together with not being a requirements, the last octet of the ip address is usually 254 or 253 or 1, hence I chose 254)

your steps to initiate this new interface is as follows:

ifconfig lan1 inet 145.21.177.42 netmask 255.255.255.0 up
route add net 145.21.177.0 145.21.177.254 1

and after running these commands, you need to edit the /etc/rc.config.d/netconf file and add the new interface and route information by looking at the block of similar examples in this file. If you have any questions doing those, feel free to post your questions.
________________________________
UNIX because I majored in cryptology...