Hurricane Electric's IPv6 Tunnel Broker Forums
May 24, 2013, 05:19:06 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Hurricane Electric's Tunnelbroker.net forums!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Routing the tunnel to LAN from a 2008 Server  (Read 2324 times)
tombayo
Newbie
*
Posts: 3


View Profile
« on: December 06, 2011, 12:00:03 pm »

Hi!

I have a LAN network with around 15 computers, these are all assigned an IP from a NAT within the range 192.168.1.100-200.
In my LAN I also have a windows 2008 server which has a static IP; 192.168.1.50

Now what I want to do, is to use my Windows Server to assign the users in my network IPv6 addresses from my IPv6-tunnel.
The question is how?

These are my tunnel-details:
Server IPv4 Address: 216.66.80.90
Server IPv6 Address: 2001:470:27:39a::1/64
Client IPv4 Address:  84.55.233.161
Client IPv6 Address:  2001:470:27:39a::2/64

I've managed to set up an interface "IP6Tunnel" on the Windows Server, and that worked great, but I just cannot figure out how to route the tunnel-interface into my LAN.

The way I want it to work is that the IPv6 Addresses are assigned like this:
The server gets: 2001:470:27:39a::50
The clients: 2001:470:27:39a::100-200


Is this even possible?


A huge thanks in advance!


- Tombayo
Logged
cholzhauer
Hero Member
*****
Posts: 2082


View Profile
« Reply #1 on: December 06, 2011, 12:01:49 pm »

Quote

The way I want it to work is that the IPv6 Addresses are assigned like this:
The server gets: 2001:470:27:39a::50
The clients: 2001:470:27:39a::100-200


Is this even possible?


To do that you'll need DHCPv6;  RA will only give you addresses based on the MAC address.

There's a DHCP role in Server 2008 that should do what you want
Logged
nickbeee
tunneld
Jr. Member
**
Posts: 70


I do this just for fun.


View Profile
« Reply #2 on: December 07, 2011, 12:28:03 pm »

You don't route the tunnel interface /64 into your LAN. It's used purely for the point-to-point link.

You will need to use a routed /64 or /48 which you can see on your tunnel details page. Based on the addressing you have given, your routed /64 is likely to be 2001:470:28:39a::1/64.

Logged

Nick B.

Tunnelling with [Open|Net|Free]BSD and IOS.
IPv6 courtesy of   HE and   Sixxs.
tombayo
Newbie
*
Posts: 3


View Profile
« Reply #3 on: December 13, 2011, 12:11:55 am »

Thanks for your answers!

I've set up my server with the DHCP role and configured it to give out addresses from my routed /64.

This didn't work, for some reason. The computers in my network aren't getting any ipv6 addresses at all.

It feels like there's some additional configuration needed, like a way to link the tunnel to my LAN, or something like that?

Anyone got any ideas?

Thanks in advance Smiley
Logged
nickbeee
tunneld
Jr. Member
**
Posts: 70


I do this just for fun.


View Profile
« Reply #4 on: December 13, 2011, 12:19:07 am »

Does your 2008 server have routing and remote access configured?
Logged

Nick B.

Tunnelling with [Open|Net|Free]BSD and IOS.
IPv6 courtesy of   HE and   Sixxs.
cholzhauer
Hero Member
*****
Posts: 2082


View Profile
« Reply #5 on: December 13, 2011, 05:13:50 am »

You'll need to tell your computers to get their IPv6 addresses from a DHCPv6 server and not RA.

To do that, you'll need to set the correct flags

http://blogs.technet.com/b/teamdhcp/archive/2009/02/12/dhcp-broadcast-flag-handling-in-windows-7.aspx

http://blogs.technet.com/b/teamdhcp/archive/tags/ipv6/
Logged
tombayo
Newbie
*
Posts: 3


View Profile
« Reply #6 on: December 13, 2011, 10:55:02 am »

Does your 2008 server have routing and remote access configured?

No it didn't have RRAS configured.
I'm guessing this was what I was looking for.
Any good guides for setting this up with the tunnelling service, or something like that?
Logged
liuxyon
Jr. Member
**
Posts: 53



View Profile
« Reply #7 on: February 17, 2012, 08:14:01 am »

I have the same question. I have done normal work for windows 2003. but it can't normal worke for win 2008. I looking for it also.
Logged
cholzhauer
Hero Member
*****
Posts: 2082


View Profile
« Reply #8 on: February 17, 2012, 08:18:11 am »

Looking for what? RRAS config?
Logged
liuxyon
Jr. Member
**
Posts: 53



View Profile
« Reply #9 on: February 20, 2012, 11:30:19 am »

use windows netsh command.
Logged
cholzhauer
Hero Member
*****
Posts: 2082


View Profile
« Reply #10 on: February 20, 2012, 11:34:03 am »

You really should open your own thread

Code:
Steps below were done in Vista.  Steps for Windows 7 might be a little different.

1.  Open Regedit, navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters
Add STRING value called ‘DisabledComponents’ and set its value to 0; Reboot
Open the LAN adapter properties and open the IPv6 properties
Manually add an address from this subnet: 2001:db8:1f07:e9a::/64
Keep the prefix at 64
Add this gateway: 2001:db8:1f06:e9a::1
Add this DNS server: 2001:db8:200::2 (this is one of HE’s DNS servers)
Click OK and OK to save the changes
Open ‘cmd’ and type the following commands
netsh interface teredo set state disabled
netsh interface ipv6 add v6v4tunnel IP6Tunnel <your local IP address> 216.66.22.2
netsh interface ipv6 add address IP6Tunnel 2001:db8:1f06:e9a::2
netsh interface ipv6 add route ::/0 IP6Tunnel 2001:db8:1f06:e9a::1

10.  Test IPv6 connectivity by pinging or opening a website like ipv6.google.com

Steps to configure host to act as IPv6 router

1.  In CMD type: netsh int ipv6 set interface IP6Tunnel forwarding=enabled
2.  Next, type: netsh int ipv6 set interface "Local Area Connection" forwarding=enabled advertise=enabled
3.  Next, add the first address of the routed IP address to the Local Area Connection
netsh int ipv6 add address "Local Area Connection" 2001:db8:8:a0a::1
4.  Next, add the default route and next hop for the tunnel and Local Area Connection, then publish it:
netsh int ipv6 set route 2001:db8:8:a0a::/64 "Local Area Connection" publish=yes
5.  Next, add the default route for the tunnel and publish it:
netsh interface ipv6 set route ::/0 IP6Tunnel 2001:db8:7:a0a::1 publish=yes

You will obviously need to change the IPv6 addresses so they reflect your assigned tunnels
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!