[j-nsp] RA Discovery and link-local addressing
Ben Dale
bdale at comlinx.com.au
Wed Jan 27 07:06:13 EST 2010
Hi All,
I don't seem to be able to find a definitive answer to this one either in Juniper's docs, or the very dry RFCs I've been ploughing through but:
I have an SRX (9.6) running a small IPv6 network (a tunnel and a /48 provided by HE). I have statically allocated a /64 from the /48 to a vlan interface and enabled RA. Host machines (OSX 10.6.2) on that VLAN are discovering addresses from that range correctly, and traffic is being forwarded as expected, but the address they learn for their router is actually the link-local address on the SRX vlan interface, rather than the static address that I would expect.
This seems counter-intuitive, but it may also be my current lack of RA clue!
Here you can see the configured and the link-local addresses on the interface:
root at srx100-border# run show interfaces terse vlan.10
Interface Admin Link Proto Local Remote
vlan.10 up up inet 172.16.10.252/24
inet6 2001:470:f083:aaaa::1/64
fe80::224:dcff:fe6b:788/64
root at srx100-border# show protocols | display set
set protocols router-advertisement interface vlan.10 prefix 2001:470:f083:aaaa::/64
Meanwhile, on the client:
lojack:~ bendale$ ifconfig en1
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::219:e3ff:fed5:eac6%en1 prefixlen 64 scopeid 0x5
inet 172.16.10.23 netmask 0xffffff00 broadcast 172.16.10.255
inet6 2001:470:f083:aaaa:219:e3ff:fed5:eac6 prefixlen 64 autoconf
ether 00:19:e3:d5:ea:c6
media: autoselect status: active
supported media: autoselect
lojack:~ bendale$ netstat -rnf inet6
Routing tables
Internet6:
Destination Gateway Flags Netif Expire
default fe80::224:dcff:fe6b:788%en1 UGSc en1
Can anyone enlighten me?
More information about the juniper-nsp
mailing list