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

(usagi-users 01024) Out of Topic: ping ipv6 address



Hi guys,

Sorry this is slightly out of topic. 
I created a virtual device which hooks onto a real device and I ifconfig
both ipv4 and ipv6 addresses on this device.
This virtual device is loaded via insmod. Now, I did not do anything to
dev->neigh_setup, specifically, I did not assign any neigh_ops (arp or
ndisc). 

The thing is that I can ping the IPv4 address but not the IPv6 address. 

eth0: 163.221.170.205
	3ffe:501:808:4001:210:a4ff:fe11:5302

(virtual device) linsix0: 163.221.170.206
				  3ffe:501:808:4001:210:a4ff:fe11:5300 *

When I add the second IPv6 address (*) to eth0, the ping6 works (of
course).

sysctl info (same for both):
router_solicitation_delay = 1
router_solicitation_interval = 4
router_solicitations = 3
dad_transmits = 1
autoconf = 1
accept_redirects = 1
accept_ra = 1
forwarding = 0

Now, tell me if I am wrong here, neighbour discovery would have
broadcast the (*) IPv6 address to neighbouring hosts. Why is it that it
did not work on the virtual device?

TIA!
Jonathan