Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #183729
| From | Guus Sliepen <guus@debian.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Gateway disappears on IPv6 |
| Date | 2017-07-15 21:40 +0200 |
| Message-ID | <u3B4Z-5tk-7@gated-at.bofh.it> (permalink) |
| References | <u1CeR-2AZ-7@gated-at.bofh.it> <u3zcR-4lb-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Sat, Jul 15, 2017 at 07:31:29PM +0200, Rainer Dorsch wrote:
> > I added a IPv6 support to a KVM virtualized Jessie system following the
> > instructions by the hoster
> >
> > https://www.netcup-wiki.de/wiki/Zus
> > %c3%a4tzliche_IP_Adresse_konfigurieren#IPv6%7C
That should still work, but I see it uses the ancient interface alias
notation (like eth0:1). The example given there can be rewritten to a
more modern form:
allow-hotplug eth0
iface eth0 inet static
address 37.100.195.4/22
gateway 37.100.192.1
iface eth0 inet static
address 46.38.240.15
iface eth0 inet6 static
address 2a03:4000:2:11c5::1/64
gateway fe80::1
Note that the netmasks and broadcast addresses are gone, and you can
have multiple inet stanzas for the same interface.
> > root@netcup:~# /sbin/route -6
> > Kernel IPv6 routing table
> > Destination Next Hop Flag Met Ref Use If
[...]
> > ::/0 fe80::1 UGDAe 1024 3 0 eth0
The flags field contains the letter 'e', which means that this route
expires. This is added by the kernel, most likely because the gateway
address is not inside 2a03:4000:2:11c5::/64, and will cause it to remove
the route after a while. This looks like the same issue reported in
Debian bug #378506, which is fixed in stretch.
The workaround is to remove the gateway fe80::1 statement, but to add
this instead:
up ip -6 route add default via fe80::1 dev $IFACE onlink
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus@debian.org>
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Gateway disappears on IPv6 Rainer Dorsch <ml@bokomoko.de> - 2017-07-10 10:30 +0200
Re: Gateway disappears on IPv6 Guus Sliepen <guus@debian.org> - 2017-07-15 21:40 +0200
Re: Gateway disappears on IPv6 Rainer Dorsch <ml@bokomoko.de> - 2017-07-21 00:30 +0200
csiph-web