Re: Vlan [message #32360 is a reply to message #32079] |
Fri, 01 August 2008 20:36  |
weldpua2008
Messages: 58 Registered: July 2006
|
Member |
|
|
weldpua2008 wrote on Fri, 18 July 2008 11:18 | Create
Делаю:
~# vconfig add eth0 20
Added VLAN with VID == 20 to IF -:eth0:-
# vzctl set 222 --netif_add eth0.20 --save
Configure veth devices: veth222.0
Saved parameters for VE 222
debian:~# vzctl enter 222
entered into VE 222
VE:222 h:/# vconfig add eth0 20
ERROR: trying to add VLAN #20 to IF -:eth0:- error: Invalid argument
|
Надо ли говорить, что:
VE:222 h:/# ifconfig -a
eth0.20 Link encap:Ethernet HWaddr 00:18:51:1B:FD:09
BROADCAST MULTICAST 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)
Тоесть:
VE:222 h:/# vconfig add eth0.20 20
Added VLAN with VID == 20 to IF -:eth0.20:-
|
|
|