 |
|
 |
|
Next: debian-ipv6@lists.debian.org won!
|
| Author |
Message |
External

Since: Nov 15, 2007 Posts: 4
|
(Msg. 1) Posted: Wed Nov 14, 2007 10:20 pm
Post subject: ipv6 route problems Archived from groups: linux>debian>maint>ipv6 (more info?)
|
|
|
debian-ipv6ers,
I'm trying to set up an IPv6 default route without using stateless
address autoconfiguration. In the example below, I want to set up a
default route through a router interface at IPv6 address
fd35:5ab8:3be8:eeee::1, which is on interface eth1:
sudo /sbin/ip -6 route add ::/0 via fd35:5ab8:3be8:eeee::1 dev eth1
RTNETLINK answers: Invalid argument
Setting a route to a specific block also fails:
/sbin/ip -6 route add fd35:5ab8:3be8:1::/64 via fd35:5ab8:3be8:eeee::1
dev eth1
RTNETLINK answers: Invalid argument
I can't tell what is wrong; this appears to be correct syntax. Is there
in fact a syntax error or is something else misconfigured? I am using
the default 2.6.22-3-686 debian kernel.
Thanks,
Bill Cerveny
--
To UNSUBSCRIBE, email to debian-ipv6-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org |
|
| Back to top |
|
 |  |
External

Since: Nov 20, 2006 Posts: 14
|
(Msg. 2) Posted: Wed Nov 14, 2007 10:40 pm
Post subject: Re: ipv6 route problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
>>>>> "debian" == debian <debian-v6.DeleteThis@21st-century-networks.com> writes:
debian> debian-ipv6ers, I'm trying to set up an IPv6 default route
debian> without using stateless address autoconfiguration. In the
debian> example below, I want to set up a default route through a
debian> router interface at IPv6 address fd35:5ab8:3be8:eeee::1, which
debian> is on interface eth1:
Do you mean you want all traffic to go out of eth1, or that you want
all traffic to go via a router somewhere else whose address is
fd35:5ab8:3be8:eeee::1 which is reachable via eth1?
You can't specify eth1's address as part of the route.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
--
To UNSUBSCRIBE, email to debian-ipv6-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org |
|
| Back to top |
|
 |  |
External

Since: Jun 07, 2007 Posts: 4
|
(Msg. 3) Posted: Thu Nov 15, 2007 1:20 am
Post subject: Re: ipv6 route problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Peter Chubb wrote:
> You can't specify eth1's address as part of the route.
In this case my system is faulty, because: 'ip route add default via
2001:x   ::1 dev sixxs' works well:
$ ip -6 rou sh default
default via 2001:x   ::1 dev sixxs metric 1024 mtu 1480 advmss 1220
hoplimit 64
Regards
Friedemann
--
To UNSUBSCRIBE, email to debian-ipv6-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org |
|
| Back to top |
|
 |  |
External

Since: Jan 23, 2007 Posts: 17
|
(Msg. 4) Posted: Thu Nov 15, 2007 6:20 am
Post subject: Re: ipv6 route problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Hello,
debian-v6 DeleteThis @21st-century-networks.com a écrit :
>
> sudo /sbin/ip -6 route add ::/0 via fd35:5ab8:3be8:eeee::1 dev eth1
> RTNETLINK answers: Invalid argument
Could you provide the output of "/sbin/ip -6 addr show dev eth1" and
"/sbin/ip -6 route show dev eth1" ?
--
To UNSUBSCRIBE, email to debian-ipv6-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org |
|
| Back to top |
|
 |  |
External

Since: Nov 15, 2007 Posts: 4
|
(Msg. 5) Posted: Thu Nov 15, 2007 10:10 am
Post subject: Re: ipv6 route problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Thu, 15 Nov 2007 12:10:35 +0100, "Pascal Hambourg"
<pascal.mail.RemoveThis@plouf.fr.eu.org> said:
> Hello,
>
> debian-v6.RemoveThis@21st-century-networks.com a écrit :
> >
> > sudo /sbin/ip -6 route add ::/0 via fd35:5ab8:3be8:eeee::1 dev eth1
> > RTNETLINK answers: Invalid argument
>
> Could you provide the output of "/sbin/ip -6 addr show dev eth1" and
> "/sbin/ip -6 route show dev eth1" ?
/sbin/ip -6 addr show dev eth1
3: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qlen 1000
inet6 fd35:5ab8:3be8:eeee::3/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::206:5bff:fe3e:af91/64 scope link
valid_lft forever preferred_lft forever
/sbin/ip -6 route show dev eth1
fd35:5ab8:3be8:eeee::/64 metric 256 expires 21269551sec mtu 1500
advmss 1440 hoplimit 4294967295
fe80::/64 metric 256 expires 21269551sec mtu 1500 advmss 1440 hoplimit
4294967295
ff00::/8 metric 256 expires 21269551sec mtu 1500 advmss 1440 hoplimit
4294967295
Bill Cerveny |
|
| Back to top |
|
 |  |
External

Since: Nov 15, 2007 Posts: 4
|
(Msg. 6) Posted: Thu Nov 15, 2007 10:20 am
Post subject: Re: ipv6 route problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Peter,
I want all traffic to go via a router somewhere else whose address is
fd35:5ab8:3be8:eeee::1 which is reachable via eth1.
If I delete the "dev eth1", I get:
/sbin/ip -6 route add ::/0 via fd35:5ab8:3be8:eeee::1
RTNETLINK answers: Invalid argument
/sbin/ip -6 route add fd35:5ab8:3be8:1::/64 via fd35:5ab8:3be8:eeee::1
RTNETLINK answers: Invalid argument
Bill
On Thu, 15 Nov 2007 14:23:10 +1100, "Peter Chubb"
<peterc DeleteThis @gelato.unsw.edu.au> said:
> >>>>> "debian" == debian <debian-v6 DeleteThis @21st-century-networks.com> writes:
>
> debian> debian-ipv6ers, I'm trying to set up an IPv6 default route
> debian> without using stateless address autoconfiguration. In the
> debian> example below, I want to set up a default route through a
> debian> router interface at IPv6 address fd35:5ab8:3be8:eeee::1, which
> debian> is on interface eth1:
>
> Do you mean you want all traffic to go out of eth1, or that you want
> all traffic to go via a router somewhere else whose address is
> fd35:5ab8:3be8:eeee::1 which is reachable via eth1?
>
> You can't specify eth1's address as part of the route.
>
> --
> Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT
> gelato.unsw.edu.au
> http://www.ertos.nicta.com.au ERTOS within National ICT
> Australia
>
>
> --
> To UNSUBSCRIBE, email to debian-ipv6-REQUEST DeleteThis @lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster DeleteThis @lists.debian.org
>
--
To UNSUBSCRIBE, email to debian-ipv6-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org |
|
| Back to top |
|
 |  |
External

Since: Jan 23, 2007 Posts: 17
|
(Msg. 7) Posted: Thu Nov 15, 2007 11:10 am
Post subject: Re: ipv6 route problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
debian-v6.TakeThisOut@21st-century-networks.com a écrit :
>
> /sbin/ip -6 addr show dev eth1
> 3: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qlen 1000
> inet6 fd35:5ab8:3be8:eeee::3/64 scope global
> valid_lft forever preferred_lft forever
> inet6 fe80::206:5bff:fe3e:af91/64 scope link
> valid_lft forever preferred_lft forever
>
> /sbin/ip -6 route show dev eth1
> fd35:5ab8:3be8:eeee::/64 metric 256 expires 21269551sec mtu 1500
> advmss 1440 hoplimit 4294967295
> fe80::/64 metric 256 expires 21269551sec mtu 1500 advmss 1440 hoplimit
> 4294967295
> ff00::/8 metric 256 expires 21269551sec mtu 1500 advmss 1440 hoplimit
> 4294967295
I don't see what's wrong. I tested the same addresses and routes on my
sarge (haven't moved to etch yet) and it worked.
--
To UNSUBSCRIBE, email to debian-ipv6-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org |
|
| Back to top |
|
 |  |
External

Since: Nov 15, 2007 Posts: 4
|
(Msg. 8) Posted: Thu Nov 15, 2007 1:50 pm
Post subject: Re: ipv6 route problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
OK, I got it working about 15 minutes ago. The command succeeds if I
specify the link-local address of the router interface instead of the
ULA address I assigned it:
/sbin/ip -6 route add ::/0 via fe80::206:5bff:fe3e:af91 dev eth1
I am curious to find out if this is intended behavior.
Thanks for the help,
Bill Cerveny
--
To UNSUBSCRIBE, email to debian-ipv6-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org |
|
| Back to top |
|
 |  |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|