[Users] IPv6 again but this time with veth
Jan Tomasek
jan at tomasek.cz
Thu Jun 28 10:50:27 EDT 2007
Vitaliy Gusev wrote:
> Hello, do you use a bridge?
Probably not... if there is some place where I should RTFM, than just
provide me URL please ;) I was hoping setup will be similar as is for
IPv4. IPv6 itself is new for me, and with combination with OpenVZ quite
hard to understand
> How I see <staj-dev> is a host-node,
Yes.
> but what is two others hosts <semik>,
that is just IPv4 capable box, used for demonstration that my veth012.0
interface is at least able to communicate on IPv4.
> <ip6v2-test>?
That is VE 233012 where I'm trying to get IPv6 working.
> What steps did you do for veth012.0 ?
staj-dev# vzctl set 233012 --netif_add
eth0,00:0C:29:63:A6:73,veth012.0,00:0C:29:63:A6:74 --save
>> > staj-dev:~# ifconfig veth012.0 0
>> > staj-dev:~# echo 1 > /proc/sys/net/ipv4/conf/veth012.0/forwarding
>> > staj-dev:~# echo 1 > /proc/sys/net/ipv4/conf/veth012.0/proxy_arp
>> > staj-dev:~# echo 1 > /proc/sys/net/ipv4/conf/eth0/forwarding
>> > staj-dev:~# echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
>> > staj-dev:~# ip route add 195.113.233.012 dev veth012.0
>>
>> > staj-dev:~# echo 1 > /proc/sys/net/ipv6/conf/veth012.0/forwarding
>> > staj-dev:~# echo 1 > /proc/sys/net/ipv6/conf/eth0/forwarding
>> > staj-dev:~# echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
Am I now more clear? Thanks for help.
--
-----------------------
Jan Tomasek aka Semik
http://www.tomasek.cz/
More information about the Users
mailing list