Re: IPV6 auto method not working

2020-03-25 Thread Andrei Borzenkov via networkmanager-list
26.03.2020 02:48, Jeremy Ardley пишет:
> I have a debian stretch system acting as a client.
> 
> I have another system acting as ipv6 router and dhcpv6 server . I am
> using isc-dhcp-server and radvd router advertisements.
> 
> My issue is that the client instance of NetworkManager is not behaving
> as expected
> 
> This stanza does not attempt to get an ipv6 address
> 
> [ipv6]
> addr-gen-mode=eui64
> dns-search=
> ip6-privacy=2
> may-fail=false
> method=auto
> 
> This stanza gets an ipv6 address but does not get a default route
> (expected to not pick up default route)
> 
> [ipv6]
> addr-gen-mode=eui64
> dns-search=
> ip6-privacy=2
> may-fail=false
> method=dhcp
> 

I tentatively say it is your environment mis-configuration. DHCPv6 does
not have default gateway option at all. Default gateway is supplied by
RA from router. If "auto" fails to obtain address, it sounds like your
router does not send RA at all.

> I also have ipv4 enabled in the connection and it works correctly
> 
> I have run wireshark on the client and see no dhcp6 related traffic when
> method=auto.
> 

Client should be using DHCPv6 only if RA contains M or O bit; do you see
any RA at all? What is their content?

> version: network-manager-gnome/oldstable,now 1.4.4-1+deb9u1 amd64
> [installed]
> 
> 
> ___
> networkmanager-list mailing list
> networkmanager-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/networkmanager-list
> 

___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


IPV6 auto method not working

2020-03-25 Thread Jeremy Ardley
I have a debian stretch system acting as a client.

I have another system acting as ipv6 router and dhcpv6 server . I am
using isc-dhcp-server and radvd router advertisements.

My issue is that the client instance of NetworkManager is not behaving
as expected

This stanza does not attempt to get an ipv6 address

[ipv6]
addr-gen-mode=eui64
dns-search=
ip6-privacy=2
may-fail=false
method=auto

This stanza gets an ipv6 address but does not get a default route
(expected to not pick up default route)

[ipv6]
addr-gen-mode=eui64
dns-search=
ip6-privacy=2
may-fail=false
method=dhcp

I also have ipv4 enabled in the connection and it works correctly

I have run wireshark on the client and see no dhcp6 related traffic when
method=auto.

version: network-manager-gnome/oldstable,now 1.4.4-1+deb9u1 amd64
[installed]


___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list