[Users] IPv6 again but this time with veth
Jan Tomasek
jan at tomasek.cz
Fri Jun 29 06:45:11 EDT 2007
Vitaliy Gusev wrote:
> You added veth012.0 device to the bridge br0. How about eth0 ?
>
It wasn't there. After adding it I finally could yell "IT WORSK!" but
just for while. :( In few minutes it stopped working on IPv4 (v6 is
still fine). I discovered that problem is in arp (my GW is .233.1):
> staj-dev:~# arp -n
> Address HWtype HWaddress Flags Mask Iface
> 195.113.233.224 (incomplete) eth0
> 195.113.233.12 ether 00:0C:29:63:A6:73 C vzbr0
> 195.113.233.254 (incomplete) eth0
> 195.113.233.92 (incomplete) eth0
> 195.113.233.193 (incomplete) eth0
> 195.113.233.99 ether 00:0C:29:6D:67:1A C vzbr0
> 195.113.233.99 (incomplete) eth0
> 195.113.233.36 (incomplete) eth0
> 195.113.233.254 ether 00:13:72:39:61:AA C vzbr0
> 195.113.233.2 (incomplete) eth0
> 195.113.233.1 (incomplete) eth0
> 195.113.233.245 (incomplete) eth0
> 195.113.233.246 (incomplete) eth0
staj-dev:~# arp -s 195.113.233.1 00:15:FA:87:31:0
> Address HWtype HWaddress Flags Mask Iface
> 195.113.233.91 (incomplete) eth0
> 195.113.233.246 (incomplete) eth0
> 195.113.233.34 (incomplete) eth0
> 195.113.233.12 ether 00:0C:29:63:A6:73 C vzbr0
> 195.113.233.74 (incomplete) eth0
> 195.113.233.1 ether 00:15:FA:87:31:00 CM eth0
fixes problem. But that is really ugly hack, this way I have to add
static arp records for every host in network 195.113.233.0/24 outside of
this HW node. That is not good way.
Any idea why ARP (and IPv4) stop work? Command I do execute are:
brctl addbr vzbr0
ifconfig vzbr0 0
echo 1 > /proc/sys/net/ipv4/conf/vzbr0/forwarding
echo 1 > /proc/sys/net/ipv4/conf/vzbr0/proxy_arp
brctl addif vzbr0 veth012.0
brctl addif vzbr0 eth0
ip route add 195.113.233.12 dev vzbr0
--
-----------------------
Jan Tomasek aka Semik
http://www.tomasek.cz/
More information about the Users
mailing list