IPv6 routing

IPv6 routing

Post by Frank de Bo » Mon, 09 Jun 2003 04:21:14



Hi,

I've a somewhat hard time setting up a ipv6 space. Via my provider I've
got an IPv6 tunnel which is fully operating. I've got a tunnel endpoint
address ( 2001:888:10:505::2 ). My provider has also asigned me a block
( 2001:888:1505::/48 ) The interface sit1 has now 2 address (The
endpoint address and one from the block). That part works. (Both IP's
are reachable from the ipv6 internet). But I want to link up other linux
boxes with ipv6 to the internet without any tunnel and just by using the
  address I'm assigned to. What are the steps to do this (None of the
howto's I've found so far gave me an ussable solution)

Thanks in advanced,

Frank de bot

 
 
 

IPv6 routing

Post by Martin Coope » Mon, 09 Jun 2003 04:44:35



Quote:> Hi,

> I've a somewhat hard time setting up a ipv6 space. Via my provider
I've
> got an IPv6 tunnel which is fully operating. I've got a tunnel
endpoint
> address ( 2001:888:10:505::2 ). My provider has also asigned me a
block
> ( 2001:888:1505::/48 ) The interface sit1 has now 2 address (The
> endpoint address and one from the block). That part works. (Both IP's
> are reachable from the ipv6 internet). But I want to link up other
linux
> boxes with ipv6 to the internet without any tunnel and just by using
the
>   address I'm assigned to. What are the steps to do this (None of the
> howto's I've found so far gave me an ussable solution)

> Thanks in advanced,

> Frank de bot

Hi,
    the program you want is radvd.  Basically, you enable forwarding to
your local ethernet, then configure radvd as follows :-

interface eth0
{
        AdvSendAdvert on;

        MinRtrAdvInterval 3;
        MaxRtrAdvInterval 10;

        prefix 2001:888:1505:10::/64
{
                AdvOnLink on;
                AdvAutonomous on;
                AdvRouterAddr on;
        };

Quote:};

Then add a static route for your ipv6 network with :-

ip route add 2001:888:1505:10::/64 dev eth0

After that, when your linux machines boot up, they will get assigned an
IP address automatically using the EUI64 algorithm based on expanding
the MAC address of the ethernet card, then adding your network prefix.
The end result is that IPV6 then auto-configures itself.  See
http://v6web.litech.org/radvd/ for info on radvd.

--

   Martin

 
 
 

1. pf: ipv6 route-to (source-based routing)

Hi everyone,

I hope someone can help me with this.
I've got to ipv6 tunnels to 6bone.

In would like to perform source-based routing on my openbsd-3.2 machine
(this machine is a ipv6 router)
but I can't find the right syntax...

I tried the following:
Just a rule to trie working with pf ipv6 route-to option

pass in quick inet6 on fxp0 route-to gif0:3ffe:8280:0:2001::1710 proto tcp
from 3ffe:8280:10:3570::/64 to any
pass in inet6 all
pass out inet6 all

All the (ipv6) tcp traffic should be routed to gif0,
when I trie to activate it, I'll getr the following:

pfctl -f /etc/pf.conf
/etc/pf.conf:1: syntax error
pfctl: Syntax error in file: pf rules not loaded

Can someone help with the right syntax? (I've read the man pf.conf, but I
can't find out what I'm doing wrong).

Aditional info:
gif0 is tunnel to sixbone, (3ffe:8280:0:2001::1710=provider,
3ffe:8280:0:2001::1711=tunnel adres)
3ffe:8280:10:3570::/64 ipv6 network range, connected to fxp0

fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:a0:c9:66:ec:7c
        media: Ethernet autoselect (10baseT)
        status: active
        inet6 fe80::2a0:c9ff:fe66:ec7c%fxp0 prefixlen 64 scopeid 0x1
        inet 145.89.xx.xx netmask 0xffffff00 broadcast 145.89.xx.255
        inet6 3ffe:8280:10:3570::1 prefixlen 64

gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
        physical address inet 145.89.82.91 --> 194.109.5.241
        inet6 fe80::2a0:c9ff:fe66:ec7c%gif0 ->  prefixlen 64 scopeid 0x11
        inet6 3ffe:8280:0:2001::1711 -> 3ffe:8280:0:2001::1710 prefixlen 128

Thanks in advance,
Andree

2. em86 on Redhat 5.0

3. IPv6 routing

4. Bash : insert to the start of the file?

5. IPv6 Routing Problem

6. SyJet 1.5GB parameters wanted

7. ipv6 routing and neighbour discovery

8. export X application over http?

9. Ipv6 routing problem

10. Maybe IPv6 Routing Bug in 2.4.13 (::/0 doesnt forward)

11. IPv6 routing table implementation

12. Setting up IPv6 routing on OpenBSD

13. Utilising IPv6 routing header