Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 2008 09:29:35 +0800
From:      "Xiaobo Zhu" <albert.bowen@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   How to config ipv6 for this instance
Message-ID:  <a827eca60805091829t3b95bce9jbe4ae1ea66f8006f@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,
I have read the handbook and spent hours on the configuration of ipv6
on laptop, but still can't get it done.
The local network administrator only suggest the following steps to
setup ipv6 on windows xp and it works fine on that platform. I just
don't know to get it work on FreeBSD, would anyone guide me in detail
so I can also help the people aroud me.
Many thanks!

// The following steps make ipv6 works fine on windows xp
ipv6 install
netsh > interface ipv6 isatap set router 202.112.95.129
netsh >interface ipv6 add route ::/0 2 2001:da8:207:1:0:5efe:202.112.95.129

// Here is the output of "uname -a" of my laptop
FreeBSD zhu.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12
10:40:27 UTC 2007root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 i386

// Output of "ifconfig -a"
fwe0: flags=108943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,NEEDSGIANT>
mtu 1500
	options=8<VLAN_MTU>
	inet6 fe80::e0:18ff:fe86:69cb%fwe0 prefixlen 64 scopeid 0x1
	ether 02:e0:18:86:69:cb
	ch 1 dma 0
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=8<VLAN_MTU>
	inet6 fe80::21a:92ff:febf:ab3d%rl0 prefixlen 64 scopeid 0x2
	inet 172.16.120.226 netmask 0xfffffe00 broadcast 172.16.121.255
	ether 00:1a:92:bf:ab:3d
	media: Ethernet autoselect (10baseT/UTP)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
	inet 127.0.0.1 netmask 0xff000000

// My /etc/rc.conf file
# -- sysinstall generated deltas -- # Sat May 10 03:05:25 2008
# Created: Sat May 10 03:05:25 2008
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="172.16.120.1"
hostname="zhu.net"
ifconfig_rl0="inet 172.16.120.226  netmask 255.255.254.0"
keymap="us.iso"
keyrate="fast"
sshd_enable="YES"
usbd_enable="YES"
ipv6_enable="YES"

# added by xorg-libraries port
local_startup="/usr/local/etc/rc.d"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a827eca60805091829t3b95bce9jbe4ae1ea66f8006f>