On Tue, Dec 13, 2016 at 08:50:00PM +0000, Gavin Westwood wrote:
So, I've had IPv6 configured how I believe it
should be for some time,
but every time I test it (which is limited by the lack of IPv6
connectivity by my backward ISP), it doesn't seem to be working, in or
out. Can anyone help me getting it working?
I've replaced my IP allocation with 'beef' below.
I've flushed my ip6table rules for now
/etc/network/interfaces:
<snip>
iface eth0 inet6 static
address 2001:ba8:1f1:beef::2
netmask 64
gateway 2001:ba8:1f1:beef::1
post-up sysctl -w net.ipv6.conf.default.accept_ra=0
post-up sysctl -w net.ipv6.conf.all.accept_ra=0
post-up sysctl -w net.ipv6.conf.${IFACE}.accept_ra=0
post-up sysctl -w net.ipv6.conf.default.autoconf=0
post-up sysctl -w net.ipv6.conf.all.autoconf=0
post-up sysctl -w net.ipv6.conf.${IFACE}.autoconf=0
# ip -6 addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 2001:ba8:1f1:beef::2/64 scope global deprecated
valid_lft forever preferred_lft 0sec
inet6 2001:ba8:1f1:beef:216:5eff:fe00:2c0/64 scope global deprecated
mngtmpaddr dynamic
valid_lft 22130sec preferred_lft 0sec
inet6 fe80::216:5eff:beef:2c0/64 scope link
valid_lft forever preferred_lft forever
eth0 Link encap:Ethernet HWaddr 00:16:5e:00:02:XX
inet addr:85.119.X.Y Bcast:85.119.A.B Mask:255.255.248.0
inet6 addr: fe80::216:5eff:fe00:2c0/64 Scope:Link
inet6 addr: 2001:ba8:1f1:beef:216:5eff:fe00:2c0/64 Scope:Global
inet6 addr: 2001:ba8:1f1:beef::2/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:622300 errors:0 dropped:0 overruns:0 frame:0
TX packets:598288 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:X (X.X MiB) TX bytes:X (X.X MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:54214 errors:0 dropped:0 overruns:0 frame:0
TX packets:54214 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:X (X.X MiB) TX bytes:X (X.X MiB)
# ip -6 route
2001:ba8:1f1:beef::/64 dev eth0 proto kernel metric 256
fe80::/64 dev eth0 proto kernel metric 256
You don't have a default route. You're routing to your local
network, and to the link-local address only. My (fully working, and
slightly more complex) IPv6 routing table is:
2001:8b0:11fe:8d1d:2::/80 dev dmz proto kernel metric 256 pref medium
2001:8b0:11fe:8d1d::/64 dev br0 proto kernel metric 256 pref medium
fe80::/64 dev br0 proto kernel metric 256 pref medium
fe80::/64 dev dmz proto kernel metric 256 pref medium
fe80::/64 dev enp2s0 proto kernel metric 256 pref medium
default via 2001:8b0:11fe:8d1d::252 dev br0 metric 1024 pref medium
So somehow your gateway is going missing.
Hugo.
# traceroute6
ipv6.google.com
traceroute to
ipv6.google.com (2a00:1450:4009:807::200e), 30 hops max,
80 byte packets
connect: Network is unreachable
_______________________________________________
users mailing list
users(a)lists.bitfolk.com
https://lists.bitfolk.com/mailman/listinfo/users
--
Hugo Mills | Two things came out of Berkeley in the 1960s: LSD
hugo@... carfax.org.uk | and Unix. This is not a coincidence.
http://carfax.org.uk/ |
PGP: E2AB1DE4 |