1834480 Members
3486 Online
110067 Solutions
New Discussion

CONFIGURE A LAN

 
Fernando Plaza_1
New Member

CONFIGURE A LAN

HI,
I HAVE FOUR HP9000 WITH TWO NETWORK CARD (FAST ETHERNET).
ONE OF THIS IS FOR THE OFFICE NETWORK, BUT THE OTHER WE WANT THAT BE FOR ATTACH THIS FOUR MACHINES TOGETHER IN A LITTLE NET.

CAN ANYBODY HELP ME?

ONE TIME I ENABLE THE SECOND CARD AND ASSING A IP ADDRESS... BUT I LOST THE SYSTEM IN MY OFFICE NET...
3 REPLIES 3
Victor BERRIDGE
Honored Contributor

Re: CONFIGURE A LAN

Hi,
You will have to configure your network using specific netmask values to make your network look as 2 subnets or use the reserved networks IP for the second subnet, unfortunatly I dont remember the values I think I use 172.21.1.X but Im on B class...
And you would have to do the things properly have an extra switch-router...
that is not requested in same network using netmask...

Good luck
Victor
Curt Thompson
Respected Contributor

Re: CONFIGURE A LAN

Hello Fernando,

Have you tried setting up the second LAN card in each system using a completely different IP address scheme? In other words, don't use the same IP address range for the second LAN card that you are currently using for the first LAN card.

For example. If your systems are using 15.14.13.1 and .2 and .3 and .4 as the IP addrresses for the primary LAN, then use something like 192.0.0.1, .2, .3 and .4 for the secondary LAN card. Since these four systems will be connected on a small, private LAN (using a hub, switch, or router) then you can use just about any IP range you wish. These systems can communicate over the private LAN without any traffic getting into your primary LAN.

ALternatively, you could adjust the subnet mask on each system in order to create a 'subnet' from which you could carefully pick a new range of IP addresses for the secondary cards, but the first suggestion will allow you to minimize your impact on your primary production LAN.

Good Luck.

Ovidiu D. Raita
Valued Contributor

Re: CONFIGURE A LAN

It is simple like this:

Chose a C class net 193.1.1.0.
Then assign IPs to the 4 systems:
sys1 193.1.1.1
sys2 193.1.1.2
sys3 193.1.1.3
sys4 193.1.1.4

That's it !

Now the HP-UX commands:

# lanscan <- to see the interfaces
# netstat -i <- to see the IPs assigned to them

Let's say you've got lan1 unconfigured on sys1
# ifconfig lan1 193.1.1.1 up
.. the same for sys2,3,4

# ping 193.1.1.255 <- all of them should answer

Know that everything works make the changes permanent:

#vi /etc/rc.config.d/netconf

duplicate the section that configures the first lan card then change the index [0] to [1] for all the variables(live the netmask blank)

save and

#/sbin/init.d/net start

check lan config with
#netstat -i

update the /etc/hosts file ( chose a different name for the second lan like sys1new)

If I missed anything, let me know.

Good luck,
Ovidiu

Simple solutions to complex problems