You are not logged in.

#1 2022-08-02 01:46:43

eom.dev
Member
Registered: 2022-02-11
Posts: 57

[SOLVED] ipv6 routing on a bus

I wanted to try manually configuring an ipv6 network between two arch linux machines connected on an ethernet bus.  On the first machine, I ran:

ip link set eth0 up
ip address add fd00:4572:6963:1::1/64 dev eth0

which produced

$ ip -6 r
::1 dev lo proto kernel metric 256 pref medium
fd00:4572:6963:1::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium

and on the second machine:

ip link set eth0 up
ip address add fd00:4572:6963:1::2/64 dev eth0

resulting in:

$ ip -6 r
::1 dev lo proto kernel metric 256 pref medium
fd00:4572:6963:1::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium

Again, these two machines are connected by an ethernet cable with nothing in between.  Lights are flashing on both devices... for the record.  On either machine, pinging the other fails with *Destination unreachable: Address unreachable*, and ssh fails with *No route to host*.

I am hoping to understand why this isn't working.  It stands out to me that I did not specify a gateway, but my impression was that traffic would not be routed via a gateway but rather directly to the other host.  Thanks for your time!

Last edited by eom.dev (2022-08-02 03:29:56)

Offline

#2 2022-08-02 01:55:38

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: [SOLVED] ipv6 routing on a bus

ewaller@odin/home/ewaller % ip -6 route 
::1 dev lo proto kernel metric 256 pref medium
2600:6c50:4d00:34e5::/64 dev wlan0 proto ra metric 600 pref medium
fe80::/64 dev wlan0 proto kernel metric 1024 pref medium
default via fe80::aa5e:45ff:fe43:85a0 dev wlan0 proto ra metric 600 pref medium
ewaller@odin/home/ewaller % 

Check your IPv6 routes.  I bet it is trying to look for anything starting with fe80:: on another network interface.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2022-08-02 03:30:17

eom.dev
Member
Registered: 2022-02-11
Posts: 57

Re: [SOLVED] ipv6 routing on a bus

Thanks you.

Offline

Board footer

Powered by FluxBB