Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

v6 startup

32 views
Skip to first unread message

Alexander Koch

unread,
Dec 17, 2002, 5:30:11 AM12/17/02
to
Hello,

I am doing something wrong on this box, I think.
When saying ifdown eth0, then rmmod and insmod again,
v6 is not there. What I see is:

shekinah /lib/modules/2.5.52 # traceroute6 www.kame.net
traceroute: bind sending socket: Invalid argument

shekinah /lib/modules/2.5.52 # ip -6 route ls
2001:668:0:f::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440
fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440
ff00::/8 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440
default dev eth0 proto kernel metric 256 mtu 1500 advmss 1440
unreachable default dev lo metric -1 error -101

My /etc/network/interfaces says this:
auto eth0
iface eth0 inet static
address 213.200.88.76
netmask 255.255.255.128
gateway 213.200.88.1

iface eth0 inet6 static
address 2001:0668:0000:f::76
netmask 64
#up ip route add default via 2001:668:0:f:: dev eth0

So where is the default route coming from? Nothing here
should announce a default route, no radvd or zebra or cisco
in this network. Previously I had the now commented- out ip
route command but that did not work either.

Anyone?

I can type 'ip -6 route del default dev eth0' and then use
the command above and it works, but surely this is not the
preferred way to put this in the up statements, right?

Alexander,
overcoming his lazyness and trying to do it right from the start...

--
Alexander Koch <ko...@tiscali.net> / ako4-ripe
Network Engineer, Tiscali International Network
Robert-Bosch-Strasse 32, D-63303 Dreieich, Germany
Phone +49 6103 916 480, Fax +49 6103 916 464


--
To UNSUBSCRIBE, email to debian-ip...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Leonardo Saavedra Henriquez

unread,
Dec 17, 2002, 1:20:07 PM12/17/02
to
On Tue, 17 Dec 2002, Alexander Koch wrote:
> My /etc/network/interfaces says this:
> auto eth0
> iface eth0 inet static
> address 213.200.88.76
> netmask 255.255.255.128
> gateway 213.200.88.1
>
> iface eth0 inet6 static
> address 2001:0668:0000:f::76
> netmask 64
> #up ip route add default via 2001:668:0:f:: dev eth0


echo "ip route add default via 2001:668:0:f:: dev eth0" >
/etc/init.d/ipv6start

and then
ln -s /etc/init.d/ipv6start /etc/rcS.d/S90ipv6start

besides echo "ipv6" >> /etc/modules

I hope that help you!

--
+----------------------------------------------+ ,''`.
| Leonardo Saavedra Henriquez |l...@ubiobio.cl | : :' :
| Est. Ing Civil en Informatica|U. del Bio-Bio | `. `'
+----------------------------------------------+ `-
[leo-> ~ $] cd pub && more beer

Marco d'Itri

unread,
Dec 18, 2002, 1:30:13 PM12/18/02
to
On Dec 17, Alexander Koch <ko...@tiscali.net> wrote:

>So where is the default route coming from? Nothing here

The kernel will add one anyway. It has a low metric and will be
overridden by user-specified routes.
I understand this is mandated by some RFC, or at least by the
interpretation of the linux network developers.

--
ciao,
Marco

Daniel O'Neill

unread,
Dec 18, 2002, 2:20:10 PM12/18/02
to
specifically, it falls under the 'magic protocol' area of the ipv6 spec,
in that essentially any given ipv6 system can dynamically allocate an
ipv6 address. this requires at least rudimentary routing, iirc. that
being said, this should provide suffucient of a network configuration
for a system to 'plug and play' onto a v6 network. (assuming the values
provided by the router advertisements are correct, and the default out
route has a lead to said router, of course. ;)

i personally think it's bloody stupid :)

On Wed, 2002-12-18 at 17:20, Marco d'Itri wrote:
> On Dec 17, Alexander Koch <ko...@tiscali.net> wrote:
>
> >So where is the default route coming from? Nothing here
> The kernel will add one anyway. It has a low metric and will be
> overridden by user-specified routes.
> I understand this is mandated by some RFC, or at least by the
> interpretation of the linux network developers.
>
> --
> ciao,
> Marco
--

Daniel O'Neill <don...@thelodgingco.com>
The Lodging Company

signature.asc
0 new messages