Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC add local ipv6 to bridge #210

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

RFC add local ipv6 to bridge #210

wants to merge 1 commit into from

Conversation

rubo77
Copy link
Contributor

@rubo77 rubo77 commented Dec 11, 2018

Hier muss die local ip6 ergänzt werden, sonst funktioniert der ddhcpd nicht mit mesh-announce.

die richtige IP muss noch ergänzt werden, dazu aus der MAC Adresse des GWs die korrekte link local Adresse bestimmen

Hier muss die local ip6 ergänzt werden, sonst funktioniert der ddhcpd nicht mit mesh-announce
@rubo77
Copy link
Contributor Author

rubo77 commented Dec 11, 2018

Von hand kann man dies in der datei

/etc/network/interfaces.d/ffnord-bridge

korrigieren, dazu die ip6 adresse berechnen aus der mac, z.b. für fe:ed:be:ef:ff:00 :

apt install ipv6calc
mac="$(ip a s bat-ffnord|grep link/eth|cut -d" " -f6)"
LOCAL_IPV6=$(ipv6calc --action prefixmac2ipv6 --in prefix+mac --out ipv6addr fe80:: $mac)

dann diese Zeile ergänzen:

echo 'post-up /sbin/ip -6 addr add '$LOCAL_IPV6'/64 dev $IFACE || true'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant