FreeBSD routing -> Windows XP
Carmen Sandiego on Monday, 16 June 2003 05:54:33
I managed to setup my FreeBSD box with IPv6 a while ago and did not do anything with it.
Last night I reinstalled FreeBSD on another machine, wich took over the role of gateway and now I wish to get IPv6 on my Windows XP machines (2).
But where do I start ?
I have been searching or should I say googling my ass off for days, and came up with nothing.
I know people want to shout RTFM and stuff like that.
If you would be so kind to give me a hint into the right direction, I will go and continue my quest.
With Regards,
Ron Roethof
FreeBSD routing -> Windows XP
Carmen Sandiego on Monday, 16 June 2003 12:44:41
at this moment my BSD config is :
-su-2.05b# ifconfig
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::220:18ff:fe2c:1096%ed0 prefixlen 64 scopeid 0x1
inet6 2001:960:611::1 prefixlen 64
ether 00:20:18:2c:10:96
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::250:bfff:fe12:88ff%rl0 prefixlen 64 scopeid 0x2
inet 213.204.211.8 netmask 0xffffff00 broadcast 213.204.211.255
ether 00:50:bf:12:88:ff
media: Ethernet autoselect (100baseTX <full-duplex> )
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
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
tunnel inet 213.204.211.8 --> 213.204.193.2
inet6 2001:960:2:3::2 --> 2001:960:2:3::1 prefixlen 128
inet6 fe80::220:18ff:fe2c:1096%gif0 prefixlen 64 scopeid 0x4
The defaultroute of ipv6 is to the Scarlet POP
-su-2.05b# cat /etc/rtadvd.conf
ed0:\
:addrs#1:\
:addr="2001:960:611::":prefixlen#64:\
:tc=ether:
but now comes the question ...
- what are the settings for my windows machines ?
- is the ed0 setting correct ?
my windows ipv6 is installed, but I have no clue about what IP I should give it and what defaultroute
Thx in advance,
Ron Roethof
FreeBSD routing -> Windows XP
Carmen Sandiego on Monday, 16 June 2003 10:44:50
umm never mind :)
I just noticed that if you use
netsh interface ipv6 reset
that it goes into automode and it works :)
FreeBSD routing -> Windows XP
Shadow Hawkins on Wednesday, 24 September 2003 20:20:02
My freebsd box acts as a router and I have a M$ XP SP1 box on my LAN with ipv6
installed.
I have IPv6 connectivity up and running and am advertising a /64 prefix to my
boxes on the LAN thru rtadvd.
Is there anyway I can configure rtadvd.conf so that when the prefix is
advertised that the lifetime of the IPv6 address on the XP box is set to
infinite?
From rtadvd(8):
-s Do not add or delete prefixes dynamically. Only statically con-
figured prefixes, if any, will be advertised.
Rtadvd is running with the -s switch.
Or have I misunderstood the manpage and is rtadvd only for dynamic IP allocation?
vader# ps auxww | grep rtadvd
root 39549 0.0 0.2 952 508 ?? Ss 8:16PM 0:00.00 rtadvd -s ep1
vader# tcpdump -i ep1 icmp6
tcpdump: listening on ep1
20:16:44.242215 fe80::2a0:24ff:fec5:4550 > ff02::1: icmp6: router advertisement
20:16:50.451979 vader.ipv6.lordsith.net > 3ffe:8114:2000:1e60:6c51:5ff8:def0:5874: icmp6: neighbor sol: who has 3ffe:8114:2000:1e60:6c51:5ff8:def0:5874
20:16:50.452253 3ffe:8114:2000:1e60:6c51:5ff8:def0:5874 > vader.ipv6.lordsith.net: icmp6: neighbor adv: tgt is 3ffe:8114:2000:1e60:6c51:5ff8:def0:5874
Currently I'm using the following rtadvd.conf:
default:\
:raflags#0:rltime#3600:\
:pinfoflags#64:vltime#0:pltime#0:mtu#1500:
ether:\
:mtu#1280:tc=default:
# interfaces.
ep1:\
:addrs#1:\
:addr="3ffe:8114:2000:1e60::":prefixlen#64:tc=ether:
ep1 is the NIC for the LAN.
ifconfig ep1 output:
ep1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.1 netmask 0xfffffff8 broadcast 192.168.0.7
inet6 fe80::2a0:24ff:fec5:4550%ep1 prefixlen 64 scopeid 0x4
inet6 3ffe:8114:2000:1e60::1 prefixlen 64
ether 00:a0:24:c5:45:50
media: Ethernet 10baseT/UTP
This gives me an IPv6 address on the XP box but every so often another
address is advertised.
C:\Documents and Settings\Sith>ipv6 if
Interface 4: Ethernet: Local Area Connection
{539CF502-FE79-4576-B82C-981DD3089E67}
uses Neighbor Discovery
uses Router Discovery
link-layer address: 00-01-a7-02-48-62
preferred global 3ffe:8114:2000:1e60:6c51:5ff8:def0:5874, life 6d22h24m50s/2
2h22m3s (anonymous)
preferred global 3ffe:8114:2000:1e60:201:a7ff:fe02:4862, life 29d23h58m48s/6
d23h58m48s (public)
preferred link-local fe80::201:a7ff:fe02:4862, life infinite
multicast interface-local ff01::1, 1 refs, not reportable
multicast link-local ff02::1, 1 refs, not reportable
multicast link-local ff02::1:ff02:4862, 2 refs, last reporter
multicast link-local ff02::1:fff0:5874, 1 refs, last reporter
link MTU 1280 (true link MTU 1500)
current hop limit 64
reachable time 27000ms (base 30000ms)
retransmission interval 1000ms
Other than statically configuring an address from the /64 prefix onto the
NIC on the XP box (which I don't have the knowledge for as yet), is this possible thru rtadvd?
TIA
Marco
FreeBSD routing -> Windows XP
Jeroen Massar on Wednesday, 24 September 2003 20:27:56
"rtadvd.conf - config file for router advertisement daemon"
rltime (num) Router lifetime field (unit: seconds). Its value must be
no greater than 3600000. When rtadvd runs on a host, this value
must explicitly set 0 on all the advertising interfaces as
described in rtadvd(8). The default value is 1800.
rtrltime
(num) route lifetime field in route information option. (unit:
seconds). The default value is 2592000 (30 days). (not specified
in draft-draves-router-selection-01.txt now)
FreeBSD routing -> Windows XP
Shadow Hawkins on Thursday, 25 September 2003 07:53:46
I think you need to disable privacy on your XP box....
I had the same here (thoug I am routing with XP)
I disabled privacy on al my XP boxes:
netsh interface ipv6 set privacy disabled
but maby this isn't the solution... (as I sead: I don't use Linux / BSD at the moment)
Posting is only allowed when you are logged in. |