Little help needed .
/etc/network/interfaces
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp2s0
iface enp2s0 inet static
address 46.4.107.107/27
gateway 46.4.107.97
up route add -net 46.4.107.96 netmask 255.255.255.224 gw 46.4.107.97 dev enp2s0
iface enp2s0 inet6 static
address 2a01:04f8:0141:03e4::1/64
post-up /sbin/ip -f inet6 route add 2a01:04f8:0141:03e4:ff:ff:ff:ff dev enp2s0
post-up /sbin/ip -f inet6 route add default via 2a01:04f8:0141:03e4:ff:ff:ff:ff
pre-down /sbin/ip -f inet6 route del 2a01:04f8:0141:03e4:ff:ff:ff:ff dev enp2s0
pre-down /sbin/ip -f inet6 route del default via 2a01:04f8:0141:03e4:ff:ff:ff:ff
#gateway fe80::1
auto vmbr0
iface vmbr0 inet static
address 192.168.1.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
iface vmbr0 inet6 static
address 2a01:04f8:0141:03e4::10
post-up /sbin/ip -f inet6 route add 2a01:04f8:0141:03e4::/64 dev vmbr0
pre-down /sbin/ip -f inet6 route del 2a01:04f8:0141:03e4::/64 dev vmbr0
post-up sysctl -p
post-up iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o enp2s0 -j SNAT --to-source 46.4.107.107
------------------------------------------------------------------
when i try to ping google on ipv6
ping ipv6.google.com
PING ipv6.google.com(fra15s46-in-x0e.1e100.net (2a00:1450:4001:808::200e)) 56 data bytes
From sintest6 (2a01:4f8:141:3e4::1): icmp_seq=1 Destination unreachable: Address unreachable
From sintest6 (2a01:4f8:141:3e4::1): icmp_seq=2 Destination unreachable: Address unreachable
From sintest6 (2a01:4f8:141:3e4::1): icmp_seq=3 Destination unreachable: Address unreachable
From sintest6 (2a01:4f8:141:3e4::1): icmp_seq=4 Destination unreachable: Address unreachable
From sintest6 (2a01:4f8:141:3e4::1): icmp_seq=5 Destination unreachable: Address unreachable
i can ping the guests on ipv4 and ipv6 i dont know what i did wrong.
/etc/network/interfaces
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp2s0
iface enp2s0 inet static
address 46.4.107.107/27
gateway 46.4.107.97
up route add -net 46.4.107.96 netmask 255.255.255.224 gw 46.4.107.97 dev enp2s0
iface enp2s0 inet6 static
address 2a01:04f8:0141:03e4::1/64
post-up /sbin/ip -f inet6 route add 2a01:04f8:0141:03e4:ff:ff:ff:ff dev enp2s0
post-up /sbin/ip -f inet6 route add default via 2a01:04f8:0141:03e4:ff:ff:ff:ff
pre-down /sbin/ip -f inet6 route del 2a01:04f8:0141:03e4:ff:ff:ff:ff dev enp2s0
pre-down /sbin/ip -f inet6 route del default via 2a01:04f8:0141:03e4:ff:ff:ff:ff
#gateway fe80::1
auto vmbr0
iface vmbr0 inet static
address 192.168.1.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
iface vmbr0 inet6 static
address 2a01:04f8:0141:03e4::10
post-up /sbin/ip -f inet6 route add 2a01:04f8:0141:03e4::/64 dev vmbr0
pre-down /sbin/ip -f inet6 route del 2a01:04f8:0141:03e4::/64 dev vmbr0
post-up sysctl -p
post-up iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o enp2s0 -j SNAT --to-source 46.4.107.107
------------------------------------------------------------------
when i try to ping google on ipv6
ping ipv6.google.com
PING ipv6.google.com(fra15s46-in-x0e.1e100.net (2a00:1450:4001:808::200e)) 56 data bytes
From sintest6 (2a01:4f8:141:3e4::1): icmp_seq=1 Destination unreachable: Address unreachable
From sintest6 (2a01:4f8:141:3e4::1): icmp_seq=2 Destination unreachable: Address unreachable
From sintest6 (2a01:4f8:141:3e4::1): icmp_seq=3 Destination unreachable: Address unreachable
From sintest6 (2a01:4f8:141:3e4::1): icmp_seq=4 Destination unreachable: Address unreachable
From sintest6 (2a01:4f8:141:3e4::1): icmp_seq=5 Destination unreachable: Address unreachable
i can ping the guests on ipv4 and ipv6 i dont know what i did wrong.