Jump to content

howto ipv6ify your local network using your linux router


Deags

Recommended Posts

i'm really bored

so here goes

Firstly install ipv6 on all PC's. on windows running ipv6 install should do the trick. On linux you need to enable it in the kernel and change some options. Documentation for your distro easily found on the internet.

Okay on your linux router you need to install two pieces of software. radvd and the gateway6 client.

check your package manger otherwise source for Gateway6 can be found here. http://go6.net/4105/download.asp and radvd http://www.litech.org/radvd/.

once installed/compiled you need to sign up to a broker AND request for a prefix /48.

here are a three brokers there are more i just can't find them right now

http://broker.aarnet.net.au/

http://go6.net/4105/freenet.asp

http://www.broker.ipv6.ac.uk/

Okay once you have signed up and have a subnet. you now configure gateway6. And your Linux firewall.

iptables -I OUTPUT -j ACCEPT --proto 41; iptables -I INPUT -j ACCEPT --proto 41

gw6c.conf

the following values will need changing

if_prefix: This is the LAN adaptor.

userid: Username you chose

passwd: password

server: the broker you signed up with

dns_server: this can be commented out but you need it if you want to use reverse dns with ipv6. Mine is setup for ns1.afraid.org

Link to comment
Share on other sites

userid=useridhere
passwd=userpassword
server=broker.aarnet.net.au


########################## ROUTER CONFIGURATION ###############################
#
# Use these parameters for the client to act as a router and give IPv6 
# to several PCs. 
#
# Router flag: 
#  host_type=host|router
#   Set this value for the client to act as a router. 
#
# Default value: host
#
host_type=router
prefixlen=48

#
# Interface prefix:
#  Name of the interface that will be configured to send router advertisements. 
#  This is an interface index on Windows (for example 4) and a name on Linux and 
#  BSD, for example eth1 or fxp1. 
#
if_prefix=eth1

#
# DNS Server: 
#  Specify a local DNS server to which will be delegated the reverse prefix. 
#
# Example: dns_server=mydnsserver.domain
#
dns_server=67.19.72.206
gw6_dir=/usr/local/gw6c
auth_method=any
retry_delay=30
keepalive=yes
keepalive_interval=30
tunnel_mode=v6udpv4
if_tunnel_v6v4=sit1
if_tunnel_v6udpv4=tun
if_tunnel_v4v6=sit0
client_v4=auto
client_v6=auto
template=linux
proxy_client=no

Okay now to run gateway6client (gw6c). Here is the init script i use.

http://deags.de.funpic.org/view.php?id=64

Link to comment
Share on other sites

Now just execute

/etc/init.d/gw6c start

ifconfig and hope everything works.

Wait a minute or two for the machines on your network to get a ipv6 address then goto http://go6.net/ and see if it tells your your IPv6 address. You can also try my ipv6 webserver. http://shut-up-or-you-will-get.strangled.net/

I hope it works. I have it running well on my network :D.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...