Hallo zusammen,
Ich habe ein My KMU Office M mit 8 fixen IPv4 Adressen über Kupfer. Als Router habe ich den Centro Business im Einsatz. Den Router habe ich mit PPPoE passthrough konfiguriert: Local security gateway on LAN1 - PPPoE passthrough
Dahinter steht ein Linux Firewall mit pppd. IPv4 hat so schon immer funktioniert.
Neu habe ich nun einen /48 IPv6 Prefix zugeteilt bekommen. Wenn ich PPPoE passthrough deaktiviere wird dem Router die <my-prefix>::1 zugeteilt. Nun möchte ich aber wie bei IPv4 meinen Firewall als Endpunkt einsetzen. Dazu habe ich meine ppp config entsprechend mit +ipv6 ipv6cp-use-ipaddr ergänzt.
Mit aktiviertem Debugging sehe ich nun das übers Internet Protocol Control Protocol (IPCP) die mir zugeteilte IPv4 Adresse ausgehandelt wird. Weiter ist auch das IPV6CP Protokoll aktiv und handelt eine IPv6 Adresse aus. Dabei handelt es sich allerdings um eine Link Local Adresse:
Apr 21 08:53:21 fw1 pppd[28287]: CHAP authentication succeeded
Apr 21 08:53:21 fw1 pppd[28287]: peer from calling number E8:74:E6:6F:**:** authorized
Apr 21 08:53:21 fw1 pppd[28287]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
Apr 21 08:53:21 fw1 pppd[28287]: sent [IPV6CP ConfReq id=0x1 <addr fe80::8d15:fe4c:619f:cb6f>]
Apr 21 08:53:21 fw1 pppd[28287]: rcvd [IPCP ConfReq id=0x1 <addr 213.3.210.67>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 59 ac c4 f0 26 4e 14 00 00 00 02...
Apr 21 08:53:21 fw1 pppd[28287]: sent [IPCP ConfAck id=0x1 <addr 213.3.210.67>]
Apr 21 08:53:21 fw1 pppd[28287]: rcvd [IPV6CP ConfReq id=0x1 <addr fe80::ca4c:75ff:fed9:af00>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fb 7e 45 ff f0 00 4e 1a 00 00 61 9a 02 00 00 00
Apr 21 08:53:21 fw1 pppd[28287]: sent [IPV6CP ConfAck id=0x1 <addr fe80::ca4c:75ff:fed9:af00>]
Apr 21 08:53:21 fw1 pppd[28287]: rcvd [IPCP ConfNak id=0x1 <addr 84.253.**.***>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0f 38 b5 69 13 16 4e 14 00 00 05 dc...
Apr 21 08:53:21 fw1 pppd[28287]: sent [IPCP ConfReq id=0x2 <addr 84.253.**.***>]
Apr 21 08:53:21 fw1 pppd[28287]: rcvd [IPV6CP ConfAck id=0x1 <addr fe80::8d15:fe4c:619f:cb6f>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ca 45 7d 17 30 00 4e 10 09 09 09 72 65 74 75 72
Apr 21 08:53:21 fw1 pppd[28287]: local LL address fe80::8d15:fe4c:619f:cb6f
Apr 21 08:53:21 fw1 pppd[28287]: remote LL address fe80::ca4c:75ff:fed9:af00
Apr 21 08:53:21 fw1 pppd[28287]: Script /etc/ppp/ipv6-up started (pid 28323)
Apr 21 08:53:21 fw1 pppd[28287]: Script /etc/ppp/ipv6-up finished (pid 28323), status = 0x0
Apr 21 08:53:21 fw1 pppd[28287]: rcvd [IPCP ConfAck id=0x2 <addr 84.253.**.***>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6b b0 dd f0 8b 24 e5 a8 00 00 05 dc...
Apr 21 08:53:21 fw1 pppd[28287]: replacing old default route to eth1.101 [84.253.**.***]
Apr 21 08:53:21 fw1 pppd[28287]: local IP address 84.253.**.***
Apr 21 08:53:21 fw1 pppd[28287]: remote IP address 213.3.210.67
Apr 21 08:53:21 fw1 pppd[28287]: Script /etc/ppp/ip-up started (pid 28325)
Apr 21 08:53:21 fw1 pppd[28287]: Script /etc/ppp/ip-up finished (pid 28325), status = 0x0
Soweit so gut. Die Link Local Adresse sehe ich dann auf dem Interface ppp0:
# ip a show dev ppp0
37: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state UNKNOWN group default qlen 3
link/ppp
inet 84.253.**.*** peer 213.3.210.67/32 scope global ppp0
valid_lft forever preferred_lft forever
inet6 fe80::8d15:fe4c:619f:cb6f/10 scope link
valid_lft forever preferred_lft forever
Ein ping6 auf die remote Link Local Adresse ergibt aber keine Antwort:
ping6 -I ppp0 fe80::ca4c:75ff:fed9:af00
PING fe80::ca4c:75ff:fed9:af00(fe80::ca4c:75ff:fed9:af00) from fe80::8d15:fe4c:619f:cb6f ppp0: 56 data bytes
Ich hätte nun erwartet das ich via SLAAC (Stateless Address Autoconfiguration) Router Advertisement meine globale IPv6 Config bekommen würde. Laut tcpdump kommt da aber nichts daher:
# tcpdump -i ppp0 -n -s 0 -v ip6 and icmp6
tcpdump: listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
Weiss jemand wie das technisch gelöst ist? Muss ich DHCPv6 verwenden? Ein kurzer Versuch brachte auch damit keinen Erfolg.
@Tux0ne
Ich bin für alle Tipps dankbar!
Merci und Gruss
Luke