SixXS::Sunset 2017-06-06

static ipv6 with aiccu tunnel setup problem
[be] Shadow Hawkins on Wednesday, 26 January 2011 17:58:17
[IPv4 Internet] --- [Linksys WRT120N] -- [SWITCH] Following hosts are connected to [SWITCH] - LAPTOP : Ubuntu Linux 10.10 - PC : Ubuntu Linux 10.10 - Virtual Machine @ PC1 : WinXP Pro SP3 32b I've ordered a Linksys E2000 to run dd-wrt on which will host my SixXS tunnel. But it could still take 7 days to be shipped... For now, I want to have LAPTOP running my tunnel. And I like to add static ipv6 addresses to PC and VM@PC. This is my subnet from SixXS : 2001:subnet:subnet::/48 I want to use following subnet : 2001:subnet:subnet:cafe::/64 Goal: LAPTOP: 2001:subnet:subnet:cafe:feed::1/64 PC : 2001:subnet:subnet:cafe:feed::2/64 VM@PC : 2001:subnet:subnet:cafe:feed::3/64 Configurations (I already made) LAPTOP (full ipv6 connectivity)
wlan0 Link encap:Ethernet HWaddr 00:00:00:b8:ff:3b inet addr:10.0.0.4 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: 2001:subnet:subnet:cafe:feed::1/64 Scope:Global inet6 addr: fe80::200:00ff:feb8:ff3b/64 Scope:Link
2001:6f8:202:43f::/64 dev sixxs proto kernel metric 256 mtu 1280 advmss 1220 hoplimit 4294967295 2001:subnet:subnet:cafe::/64 dev wlan0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 4294967295 fe80::/64 dev virbr0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 4294967295 fe80::/64 dev wlan0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 4294967295 fe80::/64 dev sixxs proto kernel metric 256 mtu 1280 advmss 1220 hoplimit 4294967295 default via 2001:6f8:202:43f::1 dev sixxs metric 1024 mtu 1280 advmss 1220 hoplimit 4294967295
PC
eth0 Link encap:Ethernet HWaddr 90:e6:ba:3c:1b:53 inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::92e6:baff:fe3c:1b53/64 Scope:Link inet6 addr: 2001:subnet:subnet:cafe:feed::2/64 Scope:Global
2001:subnet:subnet:cafe::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 4294967295 fe80::/64 dev vboxnet0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 4294967295 fe80::/64 dev vmnet8 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 4294967295 fe80::/64 dev vmnet1 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 4294967295 fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 4294967295
VM@PC
how do I add a static ipv6 address to a LAN Adapter? Do I have to add a static route? How?
Problems: PC doesn't have IPv6 connectivity (connect: Network is unreachable) VM@PC doesn't have IPv6 connectivity at all.
static ipv6 with aiccu tunnel setup problem
[be] Shadow Hawkins on Wednesday, 26 January 2011 18:21:31
I also can ping6 from PC1 to LAPTOP and vica versa i've added "ip -6 route add default dev eth0"
static ipv6 with aiccu tunnel setup problem
[nl] Shadow Hawkins on Wednesday, 26 January 2011 20:44:24
If you go the static route you need to add two routes: one is a route to the subnet and the other one is the default route. To add static ip to laptop, use the method that is compatible with the linux distribution you are using. Not sure about Ubuntu, but I'm guessing it is similar to Debian, ie. change the /ect/network/interfaces file and add your static IPv6 address there. iface eth0 inet static address 2001:blah netmask 64 up ip -6 route add 2001:subnet:subnet:cafe::/64 dev eth0 up ip -6 route add default via (ip address router) dev eth0 This should be all that is needed for your ubuntu laptop, static ip + the two routes that are needed on bootup. For the XP machine, you set static IP address and gateway in the normal (gui way) You might need to add a route to the subnet by using: netsh int ipv6 add route 2001:subnet:subnet:cafe::/64 idx where idx is the inderface identifier, which you can obtain by issuing netsh int ipv6 show int
static ipv6 with aiccu tunnel setup problem
[be] Shadow Hawkins on Wednesday, 26 January 2011 22:01:43
Thanks for you answers so far.. Now what I want to know, "ip address router", what should I put there? - The ipv6 local loop of LAPTOP (which is my router)? - The ipv4 of LAPTOP D
static ipv6 with aiccu tunnel setup problem
[nl] Shadow Hawkins on Wednesday, 26 January 2011 23:20:03
The IP address of your router is either wan0 global IPv6 address (2001:subnet:subnet:cafe:feed::1) or wan0 link local address (fe80::200:00ff:feb8:ff3b) either will work. AS LONG as you have enabled IPv6 forwarding. for more info,refer to this link: https://wiki.ubuntu.com/IPv6 For XP, you need to add IPv6 stack before you will be able to set it's ipv6 static address, but I assume you already done that.
static ipv6 with aiccu tunnel setup problem
[nl] Shadow Hawkins on Wednesday, 26 January 2011 20:45:18
sorry the correct line should of course be: iface eth0 inet6 static

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

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