Can I setup an subnet just with the tunnel ... /64 prefix?
Shadow Hawkins on Wednesday, 13 April 2011 21:30:38
Hello,
May be it is just a silly question:
I just got granted a tunnel.
As my plan is to set up a local ip6 network, I'm do not really having the patience to wait for a subnet:
Can I set up a local network just with my tunnel 2001:15c0:65ff:5c0::1/64 prefix?
From googling around, The answer seems no, however I do not understand why in detail.
First:
I tried to set up a radvd-definition on the router (=tunnel end point) to announce the prefix (and enabled ip6 forwarding). This worked, all clients got a correct prefix and clients could ping each other with this prefix.
However I was not able to ping the router. This I do not understand. The default route was to the router, so why was it not able to answer to pings?
Second:
OK, one reason could have been that the router just forward everything back to the tunnel, so I manipulated the ip 6 routes to prefer the local network interface (eth0).
2001:15c0:65ff:5c0::1 dev sixxs metric 64 mtu 1280 advmss 1220 hoplimit 0
2001:15c0:65ff:5c0::/64 dev eth0 metric 120 mtu 1500 advmss 1440 hoplimit 0
fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0
fe80::/64 via :: dev sixxs proto kernel metric 256 mtu 1280 advmss 1220 hoplimit 0
default via 2001:15c0:65ff:5c0::1 dev sixxs metric 1024 mtu 1280 advmss 1220 hoplimit 0
but still no pings.
OK, I accept that I have to wait for a subnet grant, however help me to understand, why this does not work.
Michael
Can I setup an subnet just with the tunnel ... /64 prefix?
Jeroen Massar on Monday, 02 May 2011 16:51:16 Can I set up a local network just with my tunnel 2001:15c0:65ff:5c0::1/64 prefix?
No, as in that /64 only ::1 (PoP) and ::2 (your endpoint) are active. Request a subnet if you want to route a prefix behind it.
Can I setup an subnet just with the tunnel ... /64 prefix?
Shadow Hawkins on Monday, 19 September 2011 13:34:59
I guess that this last answer also applies with the situation like mine ? I hope it doesn't, but "fear" it does...
I have a (heartbeat) tunnel and a subnet working nicely IPv6-connecting my home network to IPv6 (and IPv4) internet. But then, my intention is to add IPv6 connectivity to a laptop of mine from anywhere over the internet to my home network. So my intention is to request another tunnel (an AYIYA tunnel in that case).
However, requesting a new and other /48 subnet to have that tunnel routed seems like such a waste of address space. So could I then have e.g. one of my own /48 subnets routed to that still-to-be-requested AYIYA tunnel ? Because 65536 /64 subnets is plenty to chose from for that given purpose, not so ? I could spare 1. And then yet again : from those 2 ^ 64 possible hosts in that one subnet, I'd need ... 1 single...
Can I setup an subnet just with the tunnel ... /64 prefix?
Jeroen Massar on Monday, 19 September 2011 14:17:32
Thus your current setup is:
{Internet} -> {PoP} -> {HomeRouter (tunnel /64) } -> {HomeNetwork (subnet /48) }
And you want to add:
{Laptop} -> {Internet}
As such, you only need a tunnel from my POV? And that is only a /64... (and the tunnel address space on each PoP allows for 32k tunnels per PoP, thus really there is enough of that :)
Can I setup an subnet just with the tunnel ... /64 prefix?
Shadow Hawkins on Monday, 19 September 2011 14:43:46
Jeroen,
If I understood your answer correctly, this would mean that I'd have some <tunnel prefix>::2 IPv6 address, and use just that one to connect to my home network ? If that'd work, that would indeed be pretty well for me.
But one the other hand, having had some of my /48 subnet's IPv6 address would've been kind of ... let me call it ... "neater" ?
Can I setup an subnet just with the tunnel ... /64 prefix?
Jeroen Massar on Monday, 19 September 2011 15:06:30 If that'd work, that would indeed be pretty well for me.
That works quite fine.
But one the other hand, having had some of my /48 subnet's IPv6 address would've been kind of ... let me call it ... "neater" ?
Then you would need to build your own private tunnel between those locations, and also take care of all the traffic being routed always over your home network.
Posting is only allowed when you are logged in. |