Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung Nächste Überarbeitung Beide Seiten, nächste Überarbeitung | ||
lpi2:routing [2024/04/15 06:02] ingo_wichmann [5 Routen] |
lpi2:routing [2024/04/15 06:14] ingo_wichmann [5 Routen] |
||
---|---|---|---|
Zeile 26: | Zeile 26: | ||
Terminal a: | Terminal a: | ||
ip netns exec a /bin/bash | ip netns exec a /bin/bash | ||
+ | sysctl -w 'net.ipv6.conf.all.forwarding=1' | ||
ip link set up dev a-b1 | ip link set up dev a-b1 | ||
+ | ip addr add fca::1/64 dev a0 | ||
ip addr add fca:b1::a/64 dev a-b1 | ip addr add fca:b1::a/64 dev a-b1 | ||
ip addr add fca:b2::a/64 dev a-b2 | ip addr add fca:b2::a/64 dev a-b2 | ||
Zeile 32: | Zeile 34: | ||
Terminal b1: | Terminal b1: | ||
ip netns exec b1 /bin/bash | ip netns exec b1 /bin/bash | ||
+ | sysctl -w 'net.ipv6.conf.all.forwarding=1' | ||
ip link set up dev b1-a | ip link set up dev b1-a | ||
ip addr add fca:b1::b1/64 dev b1-a | ip addr add fca:b1::b1/64 dev b1-a | ||
Zeile 40: | Zeile 43: | ||
Terminal b2: | Terminal b2: | ||
ip netns exec b2 /bin/bash | ip netns exec b2 /bin/bash | ||
+ | sysctl -w 'net.ipv6.conf.all.forwarding=1' | ||
ip link set up dev b2-a | ip link set up dev b2-a | ||
ip addr add fca:b1::b2/64 dev b2-a | ip addr add fca:b1::b2/64 dev b2-a | ||
Zeile 48: | Zeile 52: | ||
Terminal c: | Terminal c: | ||
ip netns exec c /bin/bash | ip netns exec c /bin/bash | ||
+ | sysctl -w 'net.ipv6.conf.all.forwarding=1' | ||
ip link set up dev c-b1 | ip link set up dev c-b1 | ||
ip link set up dev c-b2 | ip link set up dev c-b2 | ||
ip addr add fcb1:c::c/64 dev c-b1 | ip addr add fcb1:c::c/64 dev c-b1 | ||
ip addr add fcb2:c::c/64 dev c-b2 | ip addr add fcb2:c::c/64 dev c-b2 | ||
+ | ip addr add fcc::1/64 dev c0 | ||
ping -qc1 fcb1:c::b1 | ping -qc1 fcb1:c::b1 | ||
ping -qc1 fcb2:c::b2 | ping -qc1 fcb2:c::b2 |