IPv6 autoconfig only in promisc mode?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all!

Recently I was testing a 6to4 setup involving a gateway and a
laptop behind the gateway. I installed radvd on the gateway and
configured it to announce the tunnel running over eth1 on
interface eth0.

On the laptop, I just modprobed ipv6 and watched ifconfig's output
to see it it automatically got a scope:global address. As it didn't
get one after a minute or so, I started tcpdump in a second terminal
to check if radvd was in fact advertising the tunnel. Well, big was
my surprise when right after the next advertisement the global address
appeared, and it was even bigger when it disappeared again 5 minutes
after I had terminated tcpdump. Then I did another check with

  ifconfig eth0 promisc; sleep 60; ifconfig eth0 -promisc

and the behaviour way exactly the same. It seems like the kernel can
see the router advertisements only if the interface is in promiscuous
mode. Is this by design, is it just not finished yet, or am I missing
something completely here? Would the tcpdump output be helpful?

Beat Bolli (please CC me on replies, thanks)
-- 
mail: `echo '<bNObolli@ymaSPilAM.ch>' | sed -e 's/[A-S]//g'`
pgp:  0x506A903A; 49D5 794A EA77 F907 764F D89E 304B 93CF 506A 903A
icbm: 47° 02' 43.0" N, 07° 16' 17.5" E (WGS84)

"It takes mind over matter, and love over gold" -- Dire Straits
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux