[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: multiple v6 address config



On Sun, 6 Jun 2004, Dick Visser wrote:

> Now when I try to ping something (f.i. the gateway), it get this:
>
> outkast:/home/dick# ping6 2001:898:1001:1001::20
> PING 2001:898:1001:1001::20(2001:898:1001:1001::20) from
> 2001:898:2000:1b::5 : 56 data bytes
> >From ::1 icmp_seq=1 Destination unreachable: Address unreachable
> >From ::1 icmp_seq=2 Destination unreachable: Address unreachable
> >From ::1 icmp_seq=3 Destination unreachable: Address unreachable
>
>
> What is going wrong?


I spent again a number of hours to get my box going, trying to fiddle with
all the different entries in /proc/sys/net/ipv6/conf/all/.

If I set the router_solicitations to a higher number, things suddenly
start to work :)

I also need to change some other values as well, or else IPv6 on my box
won't go up after a rebooting.

My interfaces files now looks like this:

iface eth0 inet6 static
        pre-up modprobe ipv6
        pre-up echo 1 > /proc/sys/net/ipv6/conf/all/autoconf
        pre-up echo 1 > /proc/sys/net/ipv6/conf/all/accept_ra
        pre-up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
        pre-up echo 10 > /proc/sys/net/ipv6/conf/all/router_solicitations
	address 2001:0898:1001:1001::21
        netmask 127
        up ip -6 route add 2000::/3 via 2001:0898:1001:1001::20 dev eth0
        up ip addr add 2001:0898:2000:001b::1 dev eth0


Thought I'd post it here, because somebody else might benefit from my
trial and error work....


-- 
  *    ***     Dick Visser         TIENHUIS Networking
 **   *   *    Marco Polostraat 234-3  P: +31206843731
  *   * ***    1056 DP Amsterdam       F: +31208641420
  *   * * *    The Netherlands         M: +31622698108
  *   **  *    WWW:             http://www.tienhuis.nl
  *   *   *    Email:         d.n.m.visser@tienhuis.nl
  *   *   *    IP Phone:          sip:dick@tienhuis.nl
 ***   ***     PGP-key: http://www.tienhuis.nl/gpg.txt
Live webcam (WM9): http://www.terena.nl/~dick/cam2.asx



Reply to: