Не выходит настроить внешний интерфейс контейнера
на HW машине
# cat /proc/sys/net/ipv4/conf/eth0/forwarding
1
# cat /proc/sys/net/ipv4/conf/eth0/proxy_arp
1
# cat /proc/sys/net/ipv4/conf/veth102ex/forwarding
1
# cat /proc/sys/net/ipv4/conf/veth102ex/proxy_arp
1
# ip route show
77.120.120.8xx dev veth102ex scope link
77.120.120.0/24 dev eth0 proto kernel scope link src 77.120.120.1xx
10.100.1.0/24 dev eth1 proto kernel scope link src 10.100.1.103
default via 10.100.1.1 dev eth1
default via 77.120.120.1 dev eth0
ifconfig
eth0 Link encap:Ethernet HWaddr 00:e0:81:74:95:fe
inet addr:77.120.120.1xx Bcast:77.120.120.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:81ff:fe74:95fe/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1649862 errors:0 dropped:0 overruns:0 frame:0
TX packets:382528 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:303049477 (289.0 MiB) TX bytes:41360666 (39.4 MiB)
eth1 Link encap:Ethernet HWaddr 00:e0:81:74:95:ff
inet addr:10.100.1.103 Bcast:10.100.1.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:81ff:fe74:95ff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:76756 errors:0 dropped:0 overruns:0 frame:0
TX packets:68772 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:37929406 (36.1 MiB) TX bytes:4006952 (3.8 MiB)
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:1413735 errors:0 dropped:0 overruns:0 frame:0
TX packets:1413735 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:231521457 (220.7 MiB) TX bytes:231521457 (220.7 MiB)
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:1673 errors:0 dropped:0 overruns:0 frame:0
TX packets:2874 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:115705 (112.9 KiB) TX bytes:216203 (211.1 KiB)
veth102ex Link encap:Ethernet HWaddr 00:e0:81:74:95:fe
inet6 addr: fe80::2e0:81ff:fe74:95fe/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:65 errors:0 dropped:1 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3348 (3.2 KiB) TX bytes:5780 (5.6 KiB)
контейнер:
ifconfig
eth0 Link encap:Ethernet HWaddr 00:24:81:51:18:6b
inet addr:77.120.120.8xx Bcast:0.0.0.0 Mask:255.255.255.255
inet6 addr: fe80::224:81ff:fe51:186b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:61 errors:0 dropped:0 overruns:0 frame:0
TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5612 (5.4 KiB) TX bytes:3252 (3.1 KiB)
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)
# ip route show
default dev eth0 scope link
OS: Debian GNU/Linux 6.0
(в установке сети следовал h t t p ://www.scribd.com/doc/31965889/OpenVZ-Manual-RUS)
HW машина пингуется, контейнер нет
Подскажите чего не хватает в конфигурации.
Заранее спасибо