Hello,
I have a bridge configured for IPv4 and IPv6. This bridge advertise routes using BGP to my router.
From the incus host I’m able to ping the container in IPv4 and IPv6.
From another host I’m able to ping IPv4 and IPv6 addresses of the bridge.
From another host, I am able to ping the container using its IPv4 address but not using its IPv6 address.
I see that the routes are correctly advertised.
Bridge configuration
config:
bgp.ipv6.nexthop: 2a01:cb1c:***
bgp.peers.openwrt.address: 10.10.10.1
bgp.peers.openwrt.asn: "65000"
ipv4.address: 10.100.1.1/24
ipv4.firewall: "true"
ipv4.nat: "false"
ipv6.address: fd12:3456:7890:1::1/64
ipv6.firewall: "true"
ipv6.nat: "false"
The container
+------+---------+---------------------+--------------------------------------------+-----------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------+---------+---------------------+--------------------------------------------+-----------+-----------+
| c1 | RUNNING | 10.100.1.106 (eth0) | fd12:3456:7890:1:216:3eff:fee9:b863 (eth0) | CONTAINER | 0 |
+------+---------+---------------------+--------------------------------------------+-----------+-----------+
Ping from incus host
$ ping 10.100.1.106
PING 10.100.1.106 (10.100.1.106) 56(84) bytes of data.
64 bytes from 10.100.1.106: icmp_seq=1 ttl=64 time=0.196 ms
$ ping6 fd12:3456:7890:1:216:3eff:fee9:b863
PING fd12:3456:7890:1:216:3eff:fee9:b863 (fd12:3456:7890:1:216:3eff:fee9:b863) 56 data bytes
64 bytes from fd12:3456:7890:1:216:3eff:fee9:b863: icmp_seq=1 ttl=64 time=0.426 ms
Ping from another host
$ ping 10.100.1.106
PING 10.100.1.106 (10.100.1.106): 56 data bytes
64 bytes from 10.100.1.106: icmp_seq=0 ttl=63 time=9.917 ms
$ ping6 fd12:3456:7890:1:216:3eff:fee9:b863
PING6(56=40+8+8 bytes) 2a01:cb1c:e08:4900:31b6:f4a3:6f47:8a4c --> fd12:3456:7890:1:216:3eff:fee9:b863
^C
--- fd12:3456:7890:1:216:3eff:fee9:b863 ping6 statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss
Ping incus host from another one (works)
ping6 fd12:3456:7890:1::1
PING6(56=40+8+8 bytes) 2a01:cb1c:e08:4900:31b6:f4a3:6f47:8a4c --> fd12:3456:7890:1::1
16 bytes from fd12:3456:7890:1::1, icmp_seq=0 hlim=64 time=96.388 ms
Routes advertised
{
"peers": [
{
"address": "10.10.10.1",
"asn": 65000,
"count": 1,
"holdtime": 0,
"password": ""
}
],
"prefixes": [
{
"nexthop": "0.0.0.0",
"owner": "network_5",
"prefix": "10.100.1.0/24"
},
{
"nexthop": "2a01:cb1c:***",
"owner": "network_5",
"prefix": "fd12:3456:7890:1::/64"
}
],
"server": {
"address": "10.10.10.2:179",
"asn": 65001,
"router_id": "10.10.10.2",
"running": true
}
}
I don’t understand why I can ping fd12:3456:7890:1::1 but not the container inside the subnet.
Also I have verified and net.ipv6.conf.all.forwarding=1
.