Operating System - HP-UX
1754020 Members
7583 Online
108811 Solutions
New Discussion

network not working on newly created hp-ux guest

 
SOLVED
Go to solution
J Andersen
Advisor

network not working on newly created hp-ux guest

I have a problem very similar to this thread: network not working on newly created hp-ux guest

 

The difference is that I do not have MC/ServiceGuard - nor does the guest have the same IP address as the host, as suggested in the solution to that thread. From inside the guest, networking seems to be OK, only it can't reach the outside world; I can't even ping the default router (10.33.40.1). From the outside, I can ping the guest, and ssh comes back with a prompt, but all logins fail and nothing is seen in any logs - no errors or even notifications that a login attempt was made.

 

Here are some settings:

 

Guest:

 

# netstat -in
Name      Mtu  Network         Address         Ipkts              Ierrs Opkts              Oerrs Coll
lan0      1500 10.33.40.0      10.33.40.7      20529              0     12429              0     0   
lo0      32808 127.0.0.0       127.0.0.1       2786               0     2786               0     0   

 

# nwmgr

Name/          Interface Station          Sub-   Interface      Related
ClassInstance  State     Address        system   Type           Interface
============== ========= ============== ======== ============== =========
lan0           UP        0x02D7B126F574 iether   1000Base-T     
lan900         DOWN      0x000000000000 hp_apa   hp_apa         
lan901         DOWN      0x000000000000 hp_apa   hp_apa         
lan902         DOWN      0x000000000000 hp_apa   hp_apa         
lan903         DOWN      0x000000000000 hp_apa   hp_apa         
lan904         DOWN      0x000000000000 hp_apa   hp_apa         

 

# ifconfig lan0
lan0: flags=1843<UP,BROADCAST,RUNNING,MULTICAST,CKO>
        inet 10.33.40.7 netmask fffffe00 broadcast 10.33.41.25

Host (guest is running):

 

# netstat -in
Name      Mtu  Network         Address         Ipkts              Ierrs Opkts              Oerrs Coll
lo0      32808 127.0.0.0       127.0.0.1       81885              0     81885              0     0   
lan0      1500 10.33.40.0      10.33.40.24     3004993            0     1647460            0     0   

# nwmgr

Name/          Interface Station          Sub-   Interface      Related
ClassInstance  State     Address        system   Type           Interface
============== ========= ============== ======== ============== =========
lan0           UP        0xB499BA183FB8 iether   1000Base-T     
lan1           DOWN      0xB499BA183FB9 iether   1000Base-T     
lan2           DOWN      0xB499BA186F78 iether   1000Base-T     
lan3           DOWN      0xB499BA186F79 iether   1000Base-T     
lan900         DOWN      0x000000000000 hp_apa   hp_apa         
lan901         DOWN      0x000000000000 hp_apa   hp_apa         
lan902         DOWN      0x000000000000 hp_apa   hp_apa         
lan903         DOWN      0x000000000000 hp_apa   hp_apa         
lan904         DOWN      0x000000000000 hp_apa   hp_apa         

 

# ifconfig lan0
lan0: flags=843<UP,BROADCAST,RUNNING,MULTICAST>
    inet 10.33.40.24 netmask fffffe00 broadcast 10.33.41.255

# hpvmstatus -P nambawan
[Virtual Machine Details]
Virtual Machine Name VM #  OS Type State
==================== ===== ======= ========
nambawan                 3 HPUX    On (OS)   


[Runnable Status Details]
Runnable status        : Runnable


[Remote Console]
Remote Console not configured

[Authorized Administrators]
Oper Groups             :
Admin Groups            :
Oper Users              :
Admin Users             :

[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
     1       10.0%  100.0%

[Memory Details]
Total    Reserved
Memory   Memory  
=======  ========
   2 GB     64 MB

[Storage Interface Details]
Guest                                 Physical
Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device
======= ========== === === === === === ========= =========================
disk    scsi         0   0   0   0   0 lv        /dev/vg00/rnambawan_sys
disk    scsi         0   0   0   1   0 lv        /dev/vg00/rnambawan_oracle
dvd     scsi         0   0   0   2   0 file      /repo/hp/hp-ux/11.31/hpux.11.31.base.iso

[Network Interface Details]
Interface Adaptor    Name/Num   PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch   lan        vmsw0      1         0   1   0 02-d7-b1-26-f5-74

[Misc Interface Details]
Guest                                 Physical
Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device
======= ========== === === === === === ========= =========================
serial  com1                           tty       console


2 REPLIES 2
Solution

Re: network not working on newly created hp-ux guest

>>  From the outside, I can ping the guest, and ssh comes back with a prompt, but all logins fail and nothing is seen in any logs - no errors or even notifications that a login attempt was made.

 

Duplicate IP address? What happens if you shut down the VM guest and try and ping/login to the guest? Does it now fail completely - if not, something else has the same IP address...


I am an HPE Employee
Accept or Kudo
J Andersen
Advisor

Re: network not working on newly created hp-ux guest

Hi Duncan

 

Thank you for taking the time to do my thinking for me :-)

 

I really should have spotted that one, but I had checked in DNS that the address wasn't occupied - I couldn't imagine that our network admins would have unnamed IP addresses lying around, but there you are. Why would they do such a thing? I think it is probably a switch, but why hide it? It adds nothing to security and I have just spent unnecessary time on it. No matter - it works now; thank you for helping.