routes - using mDNS, no router, ipv6 on ubuntu gets "Invalid Argument" -


i'm trying set appliance announce service using mdns, , connect no infrastructure or router or dhcp. works between raspberry pi , osx. not between raspberry pi (running ubuntu hostname 'ubuntu.local') , ubuntu 14.02 on intel. here's run down of focused test, command line of ubuntu on intel, after clearing out routes on ubuntu.

jeff@jeff-optiplex-sx280:~$ ip -6 route list  jeff@jeff-optiplex-sx280:~$ sudo traceroute -i eth0 ubuntu.local traceroute ubuntu.local (fe80::ba27:ebff:fe1a:74e5), 30 hops max, 80 byte packets connect: network unreachable 

so -- no routes, right? let's add 1 , try again:

jeff@jeff-optiplex-sx280:~$ sudo ip -6 route add fe80::/10 dev eth0 jeff@jeff-optiplex-sx280:~$ sudo traceroute -i eth0 ubuntu.local traceroute ubuntu.local (fe80::ba27:ebff:fe1a:74e5), 30 hops max, 80 byte packets  1  ubuntu.local (fe80::ba27:ebff:fe1a:74e5%eth0)  0.925 ms  0.988 ms  1.058 ms 

now have route , have demonstrated ubuntu on intel knows ipv6 address of ubuntu.local, , can talk it. note forced use of eth0 interface. let's try without specifying interface, since route added should send fe80* traffic out eth0:

jeff@jeff-optiplex-sx280:~$ sudo traceroute ubuntu.local traceroute ubuntu.local (fe80::ba27:ebff:fe1a:74e5), 30 hops max, 80 byte packets connect: invalid argument  jeff@jeff-optiplex-sx280:~$ ssh -6 ubuntu.local ssh: connect host ubuntu.local port 22: invalid argument 

without specifying interface, "invalid argument". various tests ssh, wget, etc return 'invalid argument'. if force interface again, using ipv6 address of raspberry pi (ubuntu.local) appending %eth0, can connect.

jeff@jeff-optiplex-sx280:~$ ssh -6 ubuntu@fe80::ba27:ebff:fe1a:74e5%eth0 password:  welcome ubuntu 14.04.2 lts (gnu/linux 3.18.0-14-rpi2 armv7l)    * documentation:  https://help.ubuntu.com/ last login: fri mar 20 20:56:52 2015 fe80::20f:1fff:fee2:2c36%eth0 ubuntu@ubuntu:~$ exit logout connection fe80::ba27:ebff:fe1a:74e5%eth0 closed. 

syntactically, can't seem append interface mdns name, ssh complain. seems "invalid argument" artifact of trying device other eth0, can't confirm. missing point on ipv6 routing? i've got no gateway in use case, lot of advice see doesn't apply. tried making raspberry pi gateway no different outcome.

thanks advice!

-jeff


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -