OpenVZ Forum


Home » General » Support » *SOLVED* Unable to access VE from outside
Re: Unable to access VE from outside [message #6338 is a reply to message #6320] Thu, 14 September 2006 10:08 Go to previous messageGo to previous message
marcot is currently offline  marcot
Messages: 16
Registered: September 2006
Junior Member
Hi Vass,

shure, here we are.

In below´s config i´ve been adding xx.yy.180.203 as eth1:203 to the HN (this one is pingable from outside world) whereas the VE carries xx.yy.180.202 (which is unreachable from outside).

Both are public IPs.


HN:

ifconfig -a

eth1      Link encap:Ethernet  HWaddr 00:16:17:18:19:BC
          inet addr:xx.yy.9.37  Bcast:xx.yy.9.63  Mask:255.255.255.224
          inet6 addr: xx::yy:zz:aa:bb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22815 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20538 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2501799 (2.3 Mb)  TX bytes:3500666 (3.3 Mb)
          Interrupt:177 Base address:0x6000

eth1:203  Link encap:Ethernet  HWaddr 00:16:17:18:19:BC
          inet addr:xx.yy.180.203  Bcast:xx.yy.180.207  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:177 Base address:0x6000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:37 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2779 (2.7 Kb)  TX bytes:7312 (7.1 Kb)

route -nv

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
xx.yy.180.202  0.0.0.0         255.255.255.255 UH    0      0        0 venet0
xx.yy.180.200  xx.yy.180.201   255.255.255.248 UG    0      0        0 eth1
xx.yy.9.32     0.0.0.0         255.255.255.224 U     0      0        0 eth1
169.254.0.0    0.0.0.0         255.255.0.0     U     0      0        0 eth1
127.0.0.0      0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0        xx.yy.9.33      0.0.0.0         UG    0      0        0 eth1



VE:

ifconfig -a

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:29 errors:0 dropped:0 overruns:0 frame:0
          TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7312 (7.1 Kb)  TX bytes:2779 (2.7 Kb)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:xx.yy.180.202  P-t-P:xx.yy.180.202  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

route -nv

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
191.255.255.0   0.0.0.0         255.255.255.0   U     0      0        0 venet0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         191.255.255.1   0.0.0.0         UG    0      0        0 venet0



Thanks in advance !

[Updated on: Thu, 14 September 2006 10:08]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: vmware + vz on same hwnode: networking problem
Next Topic: Problem with installing openvz on debian
Goto Forum:
  


Current Time: Sun Oct 26 22:00:04 GMT 2025

Total time taken to generate the page: 0.10032 seconds