Operating System - HP-UX
1832490 Members
3293 Online
110043 Solutions
New Discussion

K200 on two different networks

 
Tony Flaherty
Frequent Advisor

K200 on two different networks

Hi,

We have a K200, HPUX 11i with two network cards, a 10Mbit internal card and a 100Mbit expansion card. We use the 100Mbit card to connect to our lan, the 110Mibit is unused.

We have a connection to IBM for management of a hosted server. We have an IBM router here. I want to connect the 10Mbit card to the IBM router so that we can telnet, ftp etc. from the K200 to the hosted server. I've tried setting this up in SAM with no success.

We're Informix programmers who dable in HPUX admin and have managed to confuse ourselves on this one so if anyone could explain or point to the correct RTFM I would be greatful.

Thanks.
There are 10 types of people in the world, Those who understand Binary and those who don't.
4 REPLIES 4
Karthik S S
Honored Contributor

Re: K200 on two different networks

Hi assuming that the 100Mbps card is lan0 and 10Mbps card is lan1,

ifconfig lan1 x.x.x.x netmask y.y.y.y

x.x.x.x is a IP address in the IBM router network. Edit the /etc/rc.config.d/netconf to make these changes permanant. Now from this system you should be able to connect to the IBM network ( I am assuming that these are on the different networks). If required you can add a static route to this network.

Regards,
Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Stefan Farrelly
Honored Contributor

Re: K200 on two different networks

This isnt so easy to setup. Before you start you will need to know;

1. an IP address that is allowed an will work on the IBM router/network.
2. the subnetmask used on the IBM router/network.
3. the IP of the IBM router (for routing).

Whomever looks after your IBM router/network should be able to give you this. Once you have it all you will need to add some entries to /etc/rc.config.d/netconf

INTERFACE_NAME[1]=
IP_ADDRESS[1]=
SUBNET_MASK[1]=
BROADCAST_ADDRESS[1]=""
LANCONFIG_ARGS[1]="ether"
DHCP_ENABLE[1]=0

Where interface name is the lan id of the lancard (eg. lan1) you will use to connect to the IBM router. IP_ADDRESS is the ip to use and same for SUBNET_MASK. Leave the other fields as above. Now you will need some more for routing;

ROUTE_DESTINATION[1]=
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]=
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""

Where DESTINATION is say the net part of the IP address, eg; net X.Y
and GATEWAY is the IP of the IBM router. ROUTE_COUNT should be 1.

Then when you reboot or run /sbin/init.d/network start it should activate.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Tony Flaherty
Frequent Advisor

Re: K200 on two different networks

Thanks, all now configured and working!
There are 10 types of people in the world, Those who understand Binary and those who don't.
Tony Flaherty
Frequent Advisor

Re: K200 on two different networks


My apologies for not assigning points to the replies to my post here. I have tried twice now and for some reason they points are not being accepted. For info, first reply os 5 points ,2nd reply is 10 points.

Thanks.
There are 10 types of people in the world, Those who understand Binary and those who don't.