ifconfig_alc0_ipv6="inet6 accept_rtadv"
可以直接获取ip的 本帖最后由 uutorok 于 2012-04-22 16:01 编辑
很悲剧,我试了一下,不行啊,不知道哪里弄错了:
/etc/rc.conf:
ifconfig_re0="DHCP"
dhcp_program="/sbin/dhclient"
dccp_flags=""
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
ether 00:23:5a:d1:70:84
inet6 fe80::223:5aff:fed1:7084%re0 prefixlen 64 scopeid 0x2
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
#dhclient re0
dhclient already running, pid: 7364.
exiting.
#netstat -r
Routing tables
Internet:
Destination Gateway Flags Refs UseNetif Expire
0.0.0.0 link#2 U 0 0 re0
freebsd link#8 UH 0 0 lo0
Internet6:
Destination Gateway Flags Netif Expire
freebsd.st.org link#8 UH lo0
fe80::%re0 link#2 U re0
fe80::223:5aff:fed link#2 UHS lo0
fe80::%lo0 link#8 U lo0
fe80::1%lo0 link#8 UHS lo0
ff01::%re0 fe80::223:5aff:fed U re0
ff01::%lo0 fe80::1%lo0 U lo0
ff02::%re0 fe80::223:5aff:fed U re0
ff02::%lo0 fe80::1%lo0 U lo0 killall -9 dhclient &&dhclient re0 回复 14# 芭比小柒
还是不行。。。
很郁闷。。。 用DHCP客户端连接
页:
1
[2]