[Users] IPv6 with venet

Jan Tomasek jan at tomasek.cz
Tue Jul 10 03:40:11 EDT 2007


Vitaliy Gusev wrote:
> Please check  /proc/sys/net/ipv6/conf/all/forwarding

It is disabled:

  staj-dev:~# for f in /proc/sys/net/ipv6/conf/*/forwarding; do echo $f; 
cat $f; done
  /proc/sys/net/ipv6/conf/all/forwarding
  0
  /proc/sys/net/ipv6/conf/default/forwarding
  0
  /proc/sys/net/ipv6/conf/eth0/forwarding
  0
  /proc/sys/net/ipv6/conf/lo/forwarding
  0
  /proc/sys/net/ipv6/conf/venet0/forwarding
  0

Problem is that when I do:

  echo "1" > /proc/sys/net/ipv6/conf/all/forwarding

HW node stops responding on IPv6 ping, reason probably is that setting 
that removes default GW:

  staj-dev:~# route -6
  Kernel IPv6 routing table
  Destination                                 Next Hop 
               Flags Metric Ref    Use Iface
  ::1/128                                     :: 
               U     0      13       1 lo
  2001:718:1:e::/128                          :: 
               U     0      0        2 lo
  2001:718:1:e::23:3004/128                   :: 
               U     0      266       1 lo
  2001:718:1:e::/64                           :: 
               U     256    217       0 eth0
  fe80::/128                                  :: 
               U     0      0        2 lo
  fe80::1/128                                 :: 
               U     0      0        1 lo
  fe80::213:72ff:fe1b:b97/128                 :: 
               U     0      8        1 lo
  fe80::/64                                   :: 
               U     256    0        0 eth0
  fe80::/64                                   :: 
               U     256    0        0 venet0
  ff02::1/128                                 ff02::1 
               UC    0      229       0 eth0
  ff00::/8                                    :: 
               U     256    0        0 eth0
  ff00::/8                                    :: 
               U     256    0        0 venet0

When I set GW manualy it start work and it works also for VE. GREAT!


Well and now. Why setting forwarding=1 removes GW? Is there any way how 
to add it there automaticaly without my attention? I'm afraid that GW IP 
fe80::215:faff:fe87:3100 is somehow related to router MAC and that it 
will change when router become replaced. Any sugestion on this?

Thanks a lot!
-- 
-----------------------
Jan Tomasek aka Semik
http://www.tomasek.cz/


More information about the Users mailing list