ipv6 and freebsd
gahn
ipfreak at yahoo.com
Wed Feb 11 15:04:56 PST 2009
Thanks Steve:
the router that sending RA is juniper and the protocol router-advertisement has been activated:
ga at lab_1> show interfaces fe-0/0/3
...
Logical interface fe-0/0/3.170 (Index 70) (SNMP ifIndex 59)
...
Addresses, Flags: Is-Preferred
Destination: fe80::/64, Local: fe80::214:f600:aa2c:d403
Addresses, Flags: Is-Preferred Is-Primary
Destination: fec0:10:5::/64, Local: fec0:10:5:0:214:f600:aa2c:d403
ga at lab_r2> show interfaces fe-0/0/3
...
Logical interface fe-0/0/3.170 (Index 70) (SNMP ifIndex 32)
Addresses, Flags: Is-Preferred
Destination: fe80::/64, Local: fe80::214:f600:aa2c:3c03
Addresses, Flags: Is-Preferred Is-Primary
Destination: fec0:0:5::/64, Local: fec0:0:5:0:214:f600:aa2c:3c03
ga at lab:~:$ sysctl -a net.inet6.ip6.accept_rtadv
net.inet6.ip6.accept_rtadv: 1
ga at lab:~:$ ndp -i bge1
linkmtu=0, maxmtu=1500, curhlim=64, basereachable=30s0ms, reachable=36s, retrans=1s0ms
Flags: nud accept_rtadv
ga at lab:~:$ ifconfig bge1
bge1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:06:5b:f0:7d:21
inet6 fe80::206:5bff:fef0:7d21%bge1 prefixlen 64 scopeid 0x2
inet 10.0.5.10 netmask 0xffffff00 broadcast 10.0.5.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lab# tcpdump -n -i bge1 ip6
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on bge1, link-type EN10MB (Ethernet), capture size 96 bytes
17:55:44.027565 IP6 fe80::214:f600:aa2c:3c03 > ff02::1: ICMP6, router advertisement, length 24
18:02:46.283353 IP6 fe80::214:f600:aa2c:d403 > ff02::1: ICMP6, router advertisement, length 24
--- On Tue, 2/10/09, Steve Bertrand <steve at ibctech.ca> wrote:
> From: Steve Bertrand <steve at ibctech.ca>
> Subject: Re: ipv6 and freebsd
> To: ipfreak at yahoo.com
> Cc: "freebsd general questions" <freebsd-questions at freebsd.org>
> Date: Tuesday, February 10, 2009, 10:35 AM
> gahn wrote:
> > Thanks for the tips.
> >
> > But i still only see the fe80::..., link-local
> address, not the fec0:... something as I expected.
>
> Provide the output to:
>
> # sysctl -a net.inet6.ip6.accept_rtadv
> # ndp -i fxp0
> # ifconfig fxp0
>
> ...and, run a tcpdump on fxp0 capturing only IPv6 packets.
> Eventually
> you should see the router advertisements:
>
> # tcpdump -n -i fxp0 ip6
>
> If you don't see them, check your router config. What
> type of router is
> it? Most routers have RAs disabled by default.
>
> Steve
More information about the freebsd-questions
mailing list