Operating System - HP-UX
1753604 Members
6309 Online
108797 Solutions
New Discussion юеВ

2 IP Address for 1 server

 
sharathkv25
Frequent Advisor

2 IP Address for 1 server

hi,

I am configuring a "hp9000 rp3410" & the MP has one ip address.

When configuring the OS from BCH,I was asked to enter an IP-Address. I entered a different IP Address with the same gateway & subnet mask as the MP's IP Address.

Now I can login to the MP IP Address.

I cannot login to the regular OS IP-Address.

I want to login to the OS directly and not go through BCH each time.

I can ping the MP IP Address.
I cannot ping the new OS IP Address.

Thanks
8 REPLIES 8
Ivan Krastev
Honored Contributor

Re: 2 IP Address for 1 server

Log on and see with lanscan what is your active interface - where you have link from the switch:
#!/bin/sh
for i in 0 1 2 3 4 5 6 7 8 9
do
echo lan $i
lanadmin -x $1
done

Set up this interface with your ip address - file /etc/rc.config.d/netconf , start sshd server :
/sbin/init.d/secsh start
and log on to server.

regards,
ivan
goldboy
Trusted Contributor

Re: 2 IP Address for 1 server

assuming that a network cable was connected to the onboard LAN interface, do you actually see the Link light on the port when the OS is up and running?

there is also a simple way to use SAM to configure and check the IP address going to "network interfaces" section

"Life is what you make out of them!"
sharathkv25
Frequent Advisor

Re: 2 IP Address for 1 server

thanks,

i am able to ping the OS - IPAddress now. But when I telnet to the OS IPAdress, i don't get a login screen. Just black screen.

Now I cannot ping to the MP ip-Adress, getting request timed out.

I have connected the LAN cable to the "LAN Gb".

If I connect the LAN cable to "LAN 10/100", I can ping MP Ip-Address & not the OS IP-Address.

Any ideas?

Thanks
Patrick Wallek
Honored Contributor

Re: 2 IP Address for 1 server

You are, incorrectly, assuming that both IP addresses will work through the SAME network port. That is not correct.

The MP works ONLY through the 10/100 port.

The OS will work ONLY through the 1 Gbit port. You MUST run ANOTHER lan cable from your switch to the Gbit port so you have cables plugged into BOTH ports.
Torsten.
Acclaimed Contributor

Re: 2 IP Address for 1 server

The LAN10/100 labeled port is part of the MP.
It doesn not really belong to the server, the OS cannot see this port.

The OS can only access the built-in port labeled LAN Gb.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
sharathkv25
Frequent Advisor

Re: 2 IP Address for 1 server

I have 2 LAN cables attached. One for MP port & another for OS port.

I can only get into the MP port & not the OS port.

Both MP port address & OS port address share the same subnet mask,getway,ect ..except for the IP Address.

Any ideas why I cannot get into OS port?

thanks
Mel Burslan
Honored Contributor

Re: 2 IP Address for 1 server

are you sure your network interface configured correctly on the G-bit port ?

please post the output of this command for us to know your network setup to certain extent:

for i in 0 1 2 3 4 5 6 7 8 9
do
echo lan$i
ifconfig lan$i
echo "-----"
done

________________________________
UNIX because I majored in cryptology...
Hein van den Heuvel
Honored Contributor

Re: 2 IP Address for 1 server

I would suspect the physical connectors / cables.

I'd physically switch the two cables at the RP side an see whether the problem moves.

That is, whether you can ping the other IP address from an other system in the LAN.

If that works, switch the other ends and visually carefully inspect the connectors and plugs, or just try a different - known - to - working - cable.

Someone asked already, but I did not see a reply, whether you see any (green) led indicators lit next to the LAN Connectors.

Refer to figure 2-6 and 2-7 in :

http://docs.hp.com/en/hw.html#HP%209000%20rp3410/rp3440%20Server


Hein.