OpenVZ Forum


Home » International » Russian » independent communication through the bridge
independent communication through the bridge [message #48715] Thu, 08 November 2012 13:10 Go to next message
yuri_kurenkov is currently offline  yuri_kurenkov
Messages: 6
Registered: November 2012
Junior Member
From: *ttn.ru
Здраствуйте!

Имеем свежайшие vzctl-4.1, 2.6.32-042stab063.2 на CentOS6.3

Настраиваем veth в CT, желая получить независимое подключение через бридж.

# vzctl create CTID
# vzctl set CTID --netiff_add eth0,,,FF:FF:FF:FF:FF:FF,vmbr0

В результате в CTID.conf добавляется строка:
NETIF=" ifname=eth0,bridge=vmbr0,mac=00:18:51:49:05:C2,host_ifname=v eth108.0,host_mac=FF:FF:FF:FF:FF:FF "

Стартуем контейнер:
# vzctl start CTID

Контейнер не стартует с сообщением об ошибке:
Starting container...
Adding delta dev=/dev/ploop4 img=/vz/private/CTID/root.hdd/root.hdd (rw)
Mounting /dev/ploop4p1 at /vz/root/CTID fstype=ext4 data='balloon_ino=12,'
Container is mounted
Setting CPU units: 1000
Configure veth devices: vethCTID.0
Unable to create veth: Cannot assign requested address
Container start failed (try to check kernel messages, e.g. "dmesg | tail")
Killing container ...
Container was stopped
Unmounting file system at /vz/root/CTID
Unmounting device /dev/ploop4
Container is unmounted

Соответственно, кто виноват и что делать?

[Updated on: Mon, 12 November 2012 09:22]

Report message to a moderator

Re: [РЕШЕНО] independent communication through the bridge [message #48728 is a reply to message #48715] Mon, 12 November 2012 09:22 Go to previous message
yuri_kurenkov is currently offline  yuri_kurenkov
Messages: 6
Registered: November 2012
Junior Member
From: *ttn.ru
Правильный MAC не FF:FF:FF:FF:FF:FF, а FE:FF:FF:FF:FF:FF
Previous Topic: Проблема монтирования
Next Topic: Не ходит multicast трафик между CT
Goto Forum:
  


Current Time: Sat Jan 20 05:34:36 GMT 2018