Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2009 15:04:55 -0800 (PST)
From:      gahn <ipfreak@yahoo.com>
To:        Steve Bertrand <steve@ibctech.ca>
Cc:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: ipv6 and freebsd
Message-ID:  <528659.6218.qm@web52102.mail.re2.yahoo.com>
In-Reply-To: <4991C8EC.8050100@ibctech.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Steve:

the router that sending RA is juniper and the protocol router-advertisement has been activated:

ga@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@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@lab:~:$ sysctl -a net.inet6.ip6.accept_rtadv
net.inet6.ip6.accept_rtadv: 1
ga@lab:~:$ ndp -i bge1
linkmtu=0, maxmtu=1500, curhlim=64, basereachable=30s0ms, reachable=36s, retrans=1s0ms
Flags: nud accept_rtadv 
ga@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@ibctech.ca> wrote:

> From: Steve Bertrand <steve@ibctech.ca>
> Subject: Re: ipv6 and freebsd
> To: ipfreak@yahoo.com
> Cc: "freebsd general questions" <freebsd-questions@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


      



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