SixXS::Sunset 2017-06-06

Ubuntu: How I setup my subnet
[us] Shadow Hawkins on Tuesday, 25 July 2006 23:02:46
Greetings. Thought this quick outline might be of use to someone using Ubuntu. I setup my IPV6 subnet today. I did the following: 1) installed radvd from the repo 2) I edited radvd with my /48 prefix (note that you put the /48 in radvd as a /64) prefix 2001:4830:152d::/64 { AdvOnLink on; AdvAutonomous on; AdvRouterAddr on; }; 3) I then edited rc.local and added two lines: a) ifconfig eth0 add 2001:4830:152d:0:20e:cff:fe74:b111/64 (edited per post below) I found I had to add an ipv6 address to eth0 from my allocated group in order to get this to work. b) ip -6 ro add 2001:4830:152d::/48 dev lo For addresses in my /48 that I assign, I don't want to go to sixxs and then back down, I want to go direct. This in fact helped me test my subnet setup so that I could issue ping6 commands to the dhcp3 gathered ipv6 addresses on my other systems. Ping times are horrid outside of my network but I have connectivity from computers using my subnet! PING sixxs.net(noc.sixxs.net) 56 data bytes 64 bytes from noc.sixxs.net: icmp_seq=1 ttl=52 time=169 ms 64 bytes from noc.sixxs.net: icmp_seq=2 ttl=52 time=166 ms 64 bytes from noc.sixxs.net: icmp_seq=3 ttl=52 time=166 ms 64 bytes from noc.sixxs.net: icmp_seq=4 ttl=52 time=165 ms 64 bytes from noc.sixxs.net: icmp_seq=5 ttl=52 time=167 ms Inside they are pretty good. PING 2001:4830:152d:0:20e:cff:fe74:b111(2001:4830:152d:0:20e:cff:fe74:b111) 56 data bytes 64 bytes from 2001:4830:152d:0:20e:cff:fe74:b111: icmp_seq=1 ttl=64 time=0.228 ms 64 bytes from 2001:4830:152d:0:20e:cff:fe74:b111: icmp_seq=2 ttl=64 time=0.238 ms 64 bytes from 2001:4830:152d:0:20e:cff:fe74:b111: icmp_seq=3 ttl=64 time=0.136 ms 64 bytes from 2001:4830:152d:0:20e:cff:fe74:b111: icmp_seq=4 ttl=64 time=0.224 ms
Ubuntu: How I setup my subnet
[ch] Jeroen Massar SixXS Staff on Tuesday, 25 July 2006 09:47:03
a) ifconfig eth0 add 2001:4830:152d:0:20e:cff:fe74:b111/80
That definitely should end in a /64, otherwise quite some hosts on your subnet will be unreachable. Also note that there is actualyl a FAQ describing this ;)
Ping times are horrid outside of my network but I have connectivity from computers using my subnet!
That is at least 80ms of trans atlantic latency, the rest is most likely your connectivity to the PoP. traceroute to 2001:4830:152d:0:20e:cff:fe74:b111 (2001:4830:152d:0:20e:cff:fe74:b111) from 2001:838:1:1:210:dcff:fe20:7c7c, 30 hops max, 16 byte packets 1 fe0.breda.ipv6.concepts-ict.net (2001:838:1:1::1) 0.396 ms 0.54 ms 0.342 ms 2 se2.ams-ix.ipv6.concepts-ict.net (2001:838:0:10::1) 2.019 ms 1.964 ms 2.022 ms 3 zpr2.amt.cw.net (2001:7f8:1::a500:1273:1) 2.492 ms 2.717 ms 2.068 ms 4 so-5-2-0-dcr1.amd.cw.net (2001:5000:0:12::1) 2.566 ms 2.585 ms 2.346 ms 5 as0-dcr2.amd.cw.net (2001:5000:0:11::2) 2.481 ms 2.817 ms 2.14 ms 6 so-4-0-0-dcr1.tsd.cw.net (2001:5000:0:20::2) 9.095 ms 9.72 ms 8.99 ms 7 so-1-0-0-zcr1.lnt.cw.net (2001:5000:0:61::2) 9.722 ms 9.162 ms 9.129 ms 8 2001:7f8:4::31f9:1 (2001:7f8:4::31f9:1) 10.092 ms 9.917 ms 9.529 ms 9 v3323-mpd.cr1.ewr1.us.occaid.net (2001:4830:fe:1010::2) 82.833 ms 83.065 ms 82.957 ms 10 67.ge0-0.cr1.ord1.us.occaid.net (2001:4830:ff:1301::2) 105.069 ms 104.716 ms 104.927 ms 11 sixxs-chcgil-gw.customer.occaid.net (2001:4830:e5:5::2) 106.226 ms 105.748 ms 105.403 ms 12 2001:4830:152d:0:20e:cff:fe74:b111 (2001:4830:152d:0:20e:cff:fe74:b111) 166.564 ms 166.877 ms 166.965 ms Yep, 60ms to/from the PoP and about a 100ms transatlantic. Most likely about the same as you have on IPv4 then.
Ubuntu: How I setup my subnet
[us] Shadow Hawkins on Tuesday, 25 July 2006 23:06:50
That definitely should end in a /64, otherwise quite some hosts on your subnet will be unreachable.
Doh! you're right! Fixed and that also fixed a problem I discovered on a windows host which could ping the subnet but not get out the tunnel! re: latency... v4 ping to the pop PING 66.39.212.2 (66.39.212.2) 56(84) bytes of data. 64 bytes from 66.39.212.2: icmp_seq=1 ttl=52 time=61.7 ms 64 bytes from 66.39.212.2: icmp_seq=2 ttl=53 time=75.0 ms 64 bytes from 66.39.212.2: icmp_seq=3 ttl=52 time=65.7 ms 64 bytes from 66.39.212.2: icmp_seq=4 ttl=53 time=66.7 ms v6 ping to the pop PING 2001:4830:1500:4c::1(2001:4830:1500:4c::1) 56 data bytes 64 bytes from 2001:4830:1500:4c::1: icmp_seq=1 ttl=64 time=63.2 ms 64 bytes from 2001:4830:1500:4c::1: icmp_seq=2 ttl=64 time=62.4 ms 64 bytes from 2001:4830:1500:4c::1: icmp_seq=3 ttl=64 time=63.8 ms 64 bytes from 2001:4830:1500:4c::1: icmp_seq=4 ttl=64 time=62.3 ms So that looks great and seems to confirm the transatlantic times. No problems at all with the pop btw, so they are a keeper. :-)
Ubuntu: How I setup my subnet
[nl] Carmen Sandiego on Tuesday, 01 August 2006 22:13:17
a) ifconfig eth0 add 2001:4830:152d:0:20e:cff:fe74:b111/80
That definitely should end in a /64, otherwise quite some hosts on your subnet will be unreachable.
Also note that there is actualyl a FAQ describing this wink
Damm, I should read it better. Have had problems for a month with my subnet routing... It was just in front of my |:( B-) Thanks for the eye opening!

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker