Choose different IP?
Shadow Hawkins on Wednesday, 22 February 2012 15:43:51
Hello,
I have finally set up SixXS IPv6. I am using the CLI version of AICCU on Windows XP SP2 in a VM with NAT-mode-network-card.
AICCU chooses the interface address "::2" for me and "::1" for the gateway.
I have 2 questions:
- How can I setup another IPv6, e.g. (MyPrefix):dead:beef:dead:beef ?
- Is there something I should do if I want to setup 2 VMs to use a 6to4? Do I need a second tunnel etc?
--
"ipconfig" shows:
Ethernetadapter VM:
Verbindungsspezifisches DNS-Suffix:
IP-Adresse. . . . . . . . . . . . : 192.168.131.65
Subnetzmaske. . . . . . . . . . . : 255.255.255.0
IP-Adresse. . . . . . . . . . . . : fe80::203:ffff:fe9c:124a%5
Standardgateway . . . . . . . . . : 192.168.131.254
Ethernetadapter aiccu:
Verbindungsspezifisches DNS-Suffix:
IP-Adresse (Autokonfig.). . . . . : 169.254.134.183
Subnetzmaske. . . . . . . . . . . : 255.255.0.0
IP-Adresse. . . . . . . . . . . . : 2001:4dd0:ff00:61c::2
IP-Adresse. . . . . . . . . . . . : fe80::2ff:8cff:fe04:a1be%8
Standardgateway . . . . . . . . . : 2001:4dd0:ff00:61c::1
Tunneladapter Teredo Tunneling Pseudo-Interface:
Verbindungsspezifisches DNS-Suffix:
IP-Adresse. . . . . . . . . . . . : fe80::5445:5245:444f%6
Standardgateway . . . . . . . . . :
Tunneladapter Automatic Tunneling Pseudo-Interface:
Verbindungsspezifisches DNS-Suffix:
IP-Adresse. . . . . . . . . . . . : fe80::5efe:169.254.134.183%2
Standardgateway . . . . . . . . . :
Tunneladapter Automatic Tunneling Pseudo-Interface:
Verbindungsspezifisches DNS-Suffix:
IP-Adresse. . . . . . . . . . . . : fe80::5efe:192.168.131.65%2
Standardgateway . . . . . . . . . :
Choose different IP?
Jeroen Massar on Wednesday, 22 February 2012 15:47:21 - How can I setup another IPv6, e.g. (MyPrefix):dead:beef:dead:beef ?
You need to use addresses out of a subnet.
- Is there something I should do if I want to setup 2 VMs to use a 6to4? Do I need a second tunnel etc?
With the subnet you should be able to natively announce and use that prefix on the local Ethernet. So you don't need any tunnels.
Also note that 6to4 is likely not what you meant.
Choose different IP?
Shadow Hawkins on Wednesday, 22 February 2012 16:06:18
Thanks for your quick reply. Can you please tell me exactly what I have to do? I hardly found out how AICCU works and I had several problems. I do not know where I do configure subnetting with AYIYA and AICCU. Thanks.
Choose different IP?
Shadow Hawkins on Wednesday, 22 February 2012 16:38:50
PS: I already have a subnet, which I enabled now.
IPv6 Them: 2001:4dd0:ff00:61c::2/64 (T...)
Prefix: 2001:4dd0:ff00:861c::/64
State: Enabled
But how do I use it? "netsh int ipv6 show address" shows that address "...::2" is manually assigned. How do I use another address? AICCU kinda does configure it automatically and I did not find tutorials for Windows how to use multiple IPv6 in a SixXS subnet. I'd like to let more than 1 VM access the same tunnel, with another IPv6.
Choose different IP?
Shadow Hawkins on Wednesday, 22 February 2012 18:18:39
At http://yorickdowne.wordpress.com/2008/04/05/ipv6-at-home-part-2-tunnel-brokers-windows-ayiya-tunnel/ there is written:
"If you want to get any of your other machines at home onto ipv6, youll need to request a /48 subnet from SixXS. These actions requesting a tunnel, requesting a subnet, changing tunnel properties cost ISK, a virtual currenty SixXS uses. You gain ISK by signing up, and thereafter by having a functioning tunnel up and running."
How to get this? Please help me. I don't find any accurate information on the web.
Choose different IP?
Shadow Hawkins on Wednesday, 22 February 2012 20:00:05
I have run following commands once as described in http://www.sixxs.net/faq/connectivity/?faq=usingsubnet&os=windows .
netsh interface ipv6 add route (Your subnet prefix)/64 aiccu publish=yes
netsh interface ipv6 set interface aiccu forwarding=enabled advertise=enabled
Now I am more near to the goal. Alas, the IP is not static, but I only get a temporary IPv6 which changes when I reboot the VM.
I tried following to add a manual IP:
netsh interface ipv6 add address aiccu 2001:4dd0:ff00:861c:dead:beef:dead:beef
The IP was added to my "aiccu" adapter, but I still got my temporary IP as public IP. How to tell AICCU to choose the other IP which I assigned manually?
Choose different IP?
Shadow Hawkins on Wednesday, 22 February 2012 22:15:17
As I understand it, you are trying to use a VM to provide ipv6 connectivity to either the host OS and/or a second VM? It's possible to do this by creating a second (virtual) LAN on the host and use VM1 to route between your tunnel endpoint and this LAN.
- Create a VM with two NICs (VM1).
- Connect the first NIC (NIC1) to your existing ipv4 connection, bridged to physical NIC or natted to physical NIC
- Connect the second NIC (NIC2) to a virtual LAN that exists only on your host.
- Configure VM1 to create a tunnelled ipv6 connection to your tunnel broker. This can be either a 6in4 tunnel or Sixxs AICCU. This must be from your TUNNELLED /64 you cannot use this /64 anywhere else.
- Confirm VM1 has ipv6 connectivity (ping6 ipv6.google.com).
- Configure VM1 to ROUTE ipv6 packets between interfaces. How you do this depends on which OS your VM is running.
- Configure NIC2 on VM1 for a static ipv6 address out of your ROUTED /64 subnet.
- You should probably configure NIC2 for Router Advertisements to allow your hosts to auto-configure EUI-64 addresses. Set the other stateful configuration flag so the hosts know to query DHCP for DNS a server.
- Configure a DHCP6 server to hand out (only) the ipv6 DNS servers.
- On the host (or additional VMs), enable the NIC connection for the virtual LAN. This should auto-configure from the virtual router VM1 and you should have ipv6 connectivity via VM1.
This worked for me using W7 running VirtualBox as the host platform and a FreeBSD v8.2 VM as the virtual router VM1.
youll need to request a /48 subnet from SixXS
That's not strictly necessary now as you get a routed /64 with your tunnel, sufficient for 1 LAN.
How to tell AICCU to choose the other IP which I assigned manually?
netsh interface ipv6 set privacy state=disable
Choose different IP?
Shadow Hawkins on Thursday, 01 March 2012 08:50:55
Hello. Thanks for your reply. I will try it out. At the moment I have only 1 VM but I am planning of setting up another VM on a different computer in my network (= same external IPv4). I will try to figure this out as soon as I need the IPv6 connection on the second VM. The VMs are both independent. Additionally, they are running with WLAN and it is a pain in the a** to setup a VM on a WLAN system, as this is very badly supported by Virtual PC, VirtualBox and VMware...
I have currently following question: Is it possible that 2 VMs (inside the same network) connect to the same /64 subnet and the same tunnel at the same time, without the need of interacting? (I do want that both VMs can run independently on 2 computers) Or do I need to request a second /64 network or a second tunnel for this purpose? I have not much knowledge about this.
About creating a "static IPv6 address", I had success with following commands (ran once) I figured out (I described it here: link - NOT a general solution):
netsh interface ipv6 reset
netsh interface ipv6 add address aiccu (my SUBNET prefix):(my desired interface identifier)
netsh interface ipv6 set interface aiccu forwarding=enabled advertise=enabled
netsh interface ipv6 set address aiccu (my IPv6 prefix)::2 preferredlifetime=0
netsh interface ipv6 set address aiccu (my SUBNET prefix):(my desired interface identifier) store=persistent
Is this solution correct? Or should I use the "privacy state=disable" instead?
Regards
Daniel Marschall
Choose different IP?
Shadow Hawkins on Thursday, 01 March 2012 21:01:55 I have currently following question: Is it possible that 2 VMs (inside the same network) connect to the same /64 subnet and the same tunnel at the same time, without the need of interacting?
No. Think of a tunnel as a point-to-point interface. even though it uses a /64 you can only use two addresses. The tunnel endpoint should always be ::1 and your endpoint ::2.
Choose different IP?
Shadow Hawkins on Thursday, 01 March 2012 21:07:21 How to tell AICCU to choose the other IP which I assigned manually?
netsh interface ipv6 set privacy state=disablePosting is only allowed when you are logged in. |