OpenVZ Forum


Home » General » Support » VLAN setup - confusion/help :(
VLAN setup - confusion/help :( [message #5641] Fri, 25 August 2006 04:20 Go to next message
tgault is currently offline  tgault
Messages: 2
Registered: August 2006
Junior Member
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 Sad

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
Re: VLAN setup - confusion/help :( [message #5647 is a reply to message #5641] Fri, 25 August 2006 08:55 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
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
...
Re: VLAN setup - confusion/help :( [message #5695 is a reply to message #5641] Mon, 28 August 2006 01:22 Go to previous message
tgault is currently offline  tgault
Messages: 2
Registered: August 2006
Junior Member

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)
Previous Topic: *SOLVED* How to create logs?
Next Topic: Stopping VPS ...
Goto Forum:
  


Current Time: Mon Jul 15 17:58:31 GMT 2024

Total time taken to generate the page: 0.02314 seconds