Operating System - HP-UX
1748157 Members
4225 Online
108758 Solutions
New Discussion

Re: not able to ping vlan gateway

 
BhanuI
Occasional Contributor

not able to ping vlan gateway

Hi ,

 

I have HP 11.31 server on which i had installed ivm machine.

it'sname is host1 . I had vswitch0 to this server for port 4 and tagged 253 to this .

and I had confgured ip to it 172.20.253.18.

Problem is i am not able to ping my gateway.

 

configuration:

host1                    4 HPUX    On (OS)        1     1     1    4 GB        -

 

vswitch config:

 

vswitch0      2 Up      Shared    lan900   0x002xyxxzzz 172.20.205.xx

 

hpvmnet -S vswitch0:

4       Active       lan      253      1            host1        none.

 

# netstat -nr
Routing tables
Destination           Gateway            Flags Refs Interface  Pmtu
127.0.0.1             127.0.0.1          UH    0    lo0       32808
172.20.253.18         172.20.253.18      UH    0    lan0      32808
172.20.200.1          172.20.253.1       UGH   0    lan0       1500
172.20.253.0          172.20.253.18      U     2    lan0       1500
127.0.0.0             127.0.0.1          U     0    lo0       32808

# netstat -ni
Name      Mtu  Network         Address         Ipkts              Ierrs Opkts              Oerrs Coll
lan0      1500 172.20.253.0    172.20.253.18   372                0     372                0     0
lo0      32808 127.0.0.0       127.0.0.1       291535             0     291535             0     0


 

Please help me.

1 REPLY 1
Akio Kabutogi
Advisor

Re: not able to ping vlan gateway

From:

 

vswitch0      2 Up      Shared    lan900   0x002xyxxzzz 172.20.205.xx

 It looks the VM host has the address "172.20.205.xx".

I assume the VM host can go through the router 172.20.200.1, right ?

Then,

# netstat -ni
Name      Mtu  Network         Address         Ipkts              Ierrs Opkts              Oerrs Coll
lan0      1500 172.20.253.0    172.20.253.18   372                0     372                0     0

 concerns me. The subnet address looks different between the VM host/router and the VM guest.

VM guest's subnet looks to be 172.29.253. But the subnet of VMhost and the router looks different than this:

172.20.200 ??

 

Check out the subnet mask by using

On the VM guest:
# ifconfig lan0

On the VM host:
# ifconfig lan900

 And then, be sure to use the same subnet mask as the one VM host uses.

 

kab
I work for HPE