OpenVZ Forum


Home » International » Russian » Venet on VLAN
Re: Venet on VLAN [message #9060 is a reply to message #9005] Fri, 15 December 2006 11:29 Go to previous messageGo to previous message
Bobele is currently offline  Bobele
Messages: 37
Registered: March 2006
Member
Привет Всем !!!
Продскажите старику, как дать доступ VPS'ам к другим HN

Есть 2 HN

HN1: 10.1.160.97 - здесть работает OpenVZ на нем запущены 2 VPS
HN1:/# vzlist
VEID NPROC STATUS IP_ADDR HOSTNAME
101 4 running 192.168.123.101 vz101
102 4 running 192.168.123.102 vz102

HN2: 10.1.71.53

Ping от VPS101 к HN1 и VPS102 идет.
Ping от HN1 к VPS101 и VPS102 тоже идет.

Нету ping от VPS101 к HN2 ..... Sad
Что надо сделать, что-бы VPS101 видела HN2:10.1.1.2 ???

HN1:/# ip r l
192.168.123.101 dev venet0 scope link
192.168.123.102 dev venet0 scope link
10.1.0.0/16 dev eth0 proto kernel scope link src 10.1.160.97
default via 10.1.0.1 dev eth0

HN1:/# ip a
2: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
4: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
6: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:02:b3:88:20:30 brd ff:ff:ff:ff:ff:ff
inet 10.1.160.97/16 brd 10.1.255.255 scope global eth0
inet6 fe80::202:b3ff:fe88:2030/64 scope link
valid_lft forever preferred_lft forever

HN1:/# vzctl exec 101 ip r l
191.255.255.1 dev venet0 scope link
default via 191.255.255.1 dev venet0

HN1:/# vzctl exec 101 ip a
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
3: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,10000> mtu 1500 qdisc noqueue
link/void
inet 127.0.0.1/32 scope host venet0
inet 192.168.123.101/32 scope global venet0:0

Буду признателен за любую помощь.

[Updated on: Fri, 15 December 2006 12:34]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: Сеть в VE
Next Topic: Ограничение пропускной способности
Goto Forum:
  


Current Time: Fri Nov 15 20:08:37 GMT 2024

Total time taken to generate the page: 0.03273 seconds