OpenVZ Forum - RDF feed
type: channel
items: Help please with vlan
items: Re: Help please with vlan

Help please with vlan
type: item
description: The host machine is CentOS 5 In one network goes vlan-2 and with the numbers 11 (192.168.1.0/29) and 17 (192.168.2.128/28) And each vlan its own address of the router and use a default route fails. When set up had to distort the way: 1. The route started by default 192.168.1.1 2. And for the second vlan in /etc/iproute2/rt_tables added 201 vlan17 and /etc/sysconfig/network-scripts/route-eth0.17 prescribed here is 192.168.1.2.128/28 dev eth0.17 table vlan17 default via 192.168.1.2.129 table vlan17 With this config, the host machine for both addresses ping ok But virtualki on the 17th when you create a vlan not ping from vneshki. But if they start to ping rebutnut and pinganut with the host machine. But not for long. After some time again to fall off. And each start virtualki waddle this error arpsend: 192.168.1.4 is detected on another computer : 00:11:20:f9:b7:01 vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 192.168.1.4 eth0.17 FAILED [root@server3 ~]# ip route list table all 192.168.2.128/28 dev eth0.17 table vlan17 scope link default via 192.168.2.129 dev eth0.17 table vlan17 192.168.2.133 dev venet0 scope link 192.168.2.132 dev venet0 scope link 192.168.2.131 dev venet0 scope link 192.168.1.4 dev venet0 scope link 192.168.1.5 dev venet0 scope link 192.168.1.6 dev venet0 scope link 192.168.1.0/29 dev eth0.11 proto kernel scope link src 192.168.1.3 192.168.2.128/28 dev eth0.17 proto kernel scope link src 192.168.2.130 169.254.0.0/16 dev eth0.17 scope link default via 192.168.1.1 dev eth0.11 broadcast 192.168.1.0 dev eth0.11 table 255 proto kernel scope link src 192.168.1.3 broadcast 127.255.255.255 dev lo table 255 proto kernel scope link src 127.0.0.1 local 192.168.1.3 dev eth0.11 table 255 proto kernel scope host src 192.168.1.3 local 192.168.2.130 dev eth0.17 table 255 proto kernel scope host src 192.168.2.130 broadcast 192.168.2.128 dev eth0.17 table 255 proto kernel scope link src 192.168.2.130 broadcast 192.168.1.7 dev eth0.11 table 255 proto kernel scope link…
creator: sasha181
date: 2010-06-30T06:13:11-00:00

Re: Help please with vlan
type: item
description: Hello, sorry but I had some difficulties to understand your post. Nevertheless, I'd like to make some notes: - here is a very useful article which may be used when configuring VLANs. http://en.gentoo-wiki.com/wiki/OpenVZ_VLAN - Quote: arpsend: 192.168.1.4 is detected on another computer : 00:11:20:f9:b7:01 vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 192.168.1.4 eth0.17 FAILED Isn't this message clear? There is another computer 00:11:20:f9:b7:01 which has this ip address. - Quote: After some time again to fall off. It seems that information which is intended to be distributed via arpsend becomes out of date.
creator: maratrus
date: 2010-07-02T14:26:07-00:00