OpenVZ Forum - RDF feed
type: channel
items: VLAN setup - confusion/help :(
items: Re: VLAN setup - confusion/help :(

VLAN setup - confusion/help :(
type: item
description: hi, i'm trying to configure VLAN access to a host and it configures everything but i can't get out from the VE. basically what i'm trying to do is have VE0 on one VLAN and each of the VEs on a different VLAN to separate them out. the steps i've done are: - installed latest devel kernel - modprobe 8021q - modprobe vzethdev - vconfig add eth0 900 - brctl addbr vzbr900 - echo 1 > /proc/sys/net/ipv4/conf/eth0/forwarding - echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp - brctl addif vzbr900 eth0.900 - vzctl create 101 --ostemplate centos-4-x86_64-minimal --ipadd 210.18.55.132 --hostname vztest1 - vzctl set 101 --veth_add veth101.0,00:12:34:56:78:9A,eth0,00:12:34:56:78:9B --save - brctl addif vzbr900 veth101.0 - vzctl start 101 - vzctl exec 101 "ifdown venet0:0" - vzctl exec 101 "ifconfig eth0 210.18.55.132 netmask 255.255.255.0 up" when i ping the gateway (or anything) from VE101 i get nothing when i start VE101, i get: Starting VPS ... VPS is mounted Adding IP address(es): 210.18.55.132 arpsend: 172.18.55.132 is detected on another computer : 00:00:0c:07:ac:01 vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 210.18.55.132 eth0 FAILED Setting CPU units: 1000 Set hostname: vztest1 Processing veth devices VPS start in progress... any thoughts or suggestions as to what i'm doing wrong ????? many thx scatha
creator: tgault
date: 2006-08-25T04:20:17-00:00

Re: VLAN setup - confusion/help :(
type: item
description: What about forwarding for bridge? I mean something like [host-node]# echo 1 > /proc/sys/net/ipv4/conf/vzbr0/forwarding [host-node]# echo 1 > /proc/sys/net/ipv4/conf/vzbr0/proxy_arp ...
creator: Vasily Tarasov
date: 2006-08-25T08:55:20-00:00

Re: VLAN setup - confusion/help :(
type: item
description: vass, it doesnt create the vzbr900 subdirectory ... brctl show bridge name bridge id STP enabled interfaces vzbr900 8000.00123456789a no eth0.900 veth101.0 ls /proc/sys/net/ipv4/conf all default eth0 lo venet0 veth101.0 Link encap:Ethernet HWaddr 00:12:34:56:78:9A 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) vzbr900 Link encap:Ethernet HWaddr 00:12:34:56:78:9A 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)
creator: tgault
date: 2006-08-28T01:22:53-00:00