• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Main Menu

create next subnet

Started by gunzino, January 22, 2011, 08:05:55 AM

Previous topic - Next topic

gunzino

Hello,

I'm new to IPv6 and I would like to ask some questions. I have configured my IPv6 tunnel on my linux box using this settings.

modprobe ipv6
ip tunnel add he-ipv6 mode sit remote 216.66.84.46 local 193.87.77.12 ttl 255
ip link set he-ipv6 up
ip addr add 2001:470:1f14:1291::2/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 addr



This server is configuring network clients via radvd, that's ok. I want to create a next subnet for my server infrastructure. I have routed /48 prefix 2001:470:d597::/48. I want to route the new subnet to next FreeBSD router. I want to make FreeBSD router think that he has got a native IPv6. What settings I should use? I absolutely don't know what is 2001:470:d597::/48, since my ipv6 address is 2001:470:1f14:1291::2/
64. The external network interfaces is eth0, clients are eth1 and server infrastructure should be eth2. Thank you for helping me.

gunzino

And can I route /96 block from the /48 ? This block will be for the server infrastructure.

cholzhauer

Quote from: gunzino on January 22, 2011, 08:39:28 AM
And can I route /96 block from the /48 ? This block will be for the server infrastructure.

You could, but you don't want to.  Stick to /64's and everything will be much easier.

Since you already have a /48, disregard your /64.   Yes, it will still work if you want to use it, but your /48 has 64k networks...I think there's enough in there for whatever you want to do ;)


jimb

It works just like IPv4 subnetting and routing.  Just divide your /48 into /64s, and assign a subnet to your server LAN.  Then set up routes in your router(s), or run a routing protocol.

gunzino

Thank you for replies. But can you tell me how to divide the /48 to /64? I counted that it could be divided to 65536 subnets of /64 block. But what is network and broadcast address ? So my main router has ip 2001:470:d597::2/48 when I have /48 block? It would be nice when someone post me his configuration of subents using iproute on linux.  ;D Thank you very much.

cholzhauer

If your /48 was 2001:db8:1234::, you  just start adding numbers to get a /64

2001:db8:1234:1::/64
2001:db8:1234:2::/64
2001:db8:1234:3::/64

You get the idea.

Quote
So my main router has ip 2001:470:d597::2/48 when I have /48 block?

If you wanted it to.  It could have any address in your /48 assigned to it.  Don't assume it has to be ::2 because your side of the HE tunnel is ::2 (as compared to the HE side which is ::2)  There's no relationship between the addressing scheme of your tunnel /64 and your routed /48

jimb

Also, IPv6 doesn't have broadcast.