OpenVZ Forum


Home » International » Russian » работа venet только через eth1
работа venet только через eth1 [message #48880] Fri, 28 December 2012 07:18
x129 is currently offline  x129
Messages: 1
Registered: December 2012
Junior Member
From: 93.174.49*
Доброго!

Есть сервер с двумя сетевыми:
eth0 - 10.10.10.2 (управление и прочее vlan100)
eth1 - подключен к cisco с port based vlan (200).
Нужно чтобы все виртуалки работали через маршрутизируемый интерфейс с выходом на eth1. Конфигурация:

br0 Link encap:Ethernet HWaddr 56:1C:5F:C3:85:4A
inet addr:10.37.130.2 Bcast:10.37.130.255 Mask:255.255.255.0
inet6 addr: fdb2:2c26:f4e4::1/64 Scope:Global
inet6 addr: fe80::541c:5fff:fec3:854a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:18492 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:3808412 (3.6 MiB)

br1 Link encap:Ethernet HWaddr 00:25:90:76:00:AD
inet6 addr: fe80::643c:53ff:feb8:2062/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14917688 errors:0 dropped:0 overruns:0 frame:0
TX packets:11370260 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6165767289 (5.7 GiB) TX bytes:16076482312 (14.9 GiB)

br2 Link encap:Ethernet HWaddr 00:25:90:76:00:AC
inet addr:10.37.131.2 Bcast:10.37.131.255 Mask:255.255.255.0
inet6 addr: fdb2:2c26:f4e4:1::1/64 Scope:Global
inet6 addr: fe80::6c43:34ff:fe7a:498a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34004 errors:0 dropped:0 overruns:0 frame:0
TX packets:55178 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1746107 (1.6 MiB) TX bytes:41302457 (39.3 MiB)

eth0 Link encap:Ethernet HWaddr 00:25:90:76:00:AD
inet addr:10.10.20.41 Bcast:10.10.20.255 Mask:255.255.255.0
inet6 addr: fe80::225:90ff:fe76:ad/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15456640 errors:0 dropped:0 overruns:0 frame:0
TX packets:18873347 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6599106681 (6.1 GiB) TX bytes:16437465875 (15.3 GiB)
Interrupt:20 Memory:f7a00000-f7a20000

eth1 Link encap:Ethernet HWaddr 00:25:90:76:00:AC
inet addr:94.228.*.15 Bcast:94.228.*.255 Mask:255.255.255.0
inet6 addr: fe80::225:90ff:fe76:ac/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:67968 errors:0 dropped:0 overruns:0 frame:0
TX packets:21752 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:36892751 (35.1 MiB) TX bytes:12924239 (12.3 MiB)
Interrupt:16 Memory:f7900000-f7920000

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:6533717 errors:0 dropped:0 overruns:0 frame:0
TX packets:6533717 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:72175627815 (67.2 GiB) TX bytes:72175627815 (67.2 GiB)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fe80::1/128 Scope:Link
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 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)

Previous Topic: ploop кто-то использовал?
Next Topic: Bonding внутри контейнера
Goto Forum:
  


Current Time: Thu Jan 18 10:05:36 GMT 2018