[Bug 1807569] Re: netplan accept-ra disables slaac

2021-02-05 Thread Tom Hetmer
After testing on Arch (no netplan)

[IPv6AcceptRA]
UseAutonomousPrefix=no
UseOnLinkPrefix=no

in /etc/systemd/network/eth1.network will get applied.
Anywhere else it won't.

So it's up to netplan to add this config option so it can be generated
into /run/systemd/network files.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1807569

Title:
  netplan accept-ra disables slaac

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1807569/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1807569] Re: netplan accept-ra disables slaac

2021-02-05 Thread Tom Hetmer
Can we get this reopened (and solved)?

Let's have this config

# This is the network config written by 'subiquity'
network:
  ethernets:
eno1:
  dhcp4: false
  dhcp6: false
  addresses:
- 2a09:e201:0:2:921b:eff:feae:82e5/64


What happens now is the system gets the static IPv6 AND autoconf. 

inet6 2a09:e201::921b:eff:feae:82e5/64 scope global dynamic mngtmpaddr 
noprefixroute
   valid_lft 2591614sec preferred_lft 604414sec
inet6 2a09:e201:0:2:921b:eff:feae:82e5/64 scope global
   valid_lft forever preferred_lft forever

I know it's a bug on the network, but there should be a way to do autoconf=0 
accept_ra=1.
systemd-networks is kinda weird and I didn't manage to configure it properly 
with

[IPv6AcceptRA]
UseAutonomousPrefix=no
UseOnLinkPrefix=no

It does nothing.
I don't want accept-ra: false because I'd like to keep using RA acquired 
gateway.

In Alpine it's as easy as

auto eth1
iface eth1 inet static
  address 2a09:e201:0:2:216:3eff:fe0d:10a6
  netmask 64

net.ipv6.conf.eth1.autoconf=0
net.ipv6.conf.eth1.use_tempaddr=0


There's something weird with netplan + networkd.

** Changed in: netplan
   Status: Expired => Confirmed

** Changed in: netplan.io (Ubuntu)
   Status: Expired => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1807569

Title:
  netplan accept-ra disables slaac

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1807569/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1807569] Re: netplan accept-ra disables slaac

2019-10-26 Thread Launchpad Bug Tracker
[Expired for netplan.io (Ubuntu) because there has been no activity for
60 days.]

** Changed in: netplan.io (Ubuntu)
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1807569

Title:
  netplan accept-ra disables slaac

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1807569/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1807569] Re: netplan accept-ra disables slaac

2019-10-26 Thread Launchpad Bug Tracker
[Expired for netplan because there has been no activity for 60 days.]

** Changed in: netplan
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1807569

Title:
  netplan accept-ra disables slaac

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1807569/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1807569] Re: netplan accept-ra disables slaac

2019-08-27 Thread Martin Pels
Hi Ryan,

On 26/08/19 21:17, Ryan Harper wrote:
> Thanks for filing the bug.
> 
> Can you provide the netplan you used?

netplan.io 0.97-0ubuntu1~18.04.1

> Also, if possible, could you run:
> 
> mkdir /etc/systemd/system/systemd-networkd.service.d/
> echo -e "[Service]\nEnvironment=SYSTEMD_LOG_LEVEL=debug" > 
> /etc/systemd/system/systemd-networkd.service.d/10-debug.conf 
> 
> 
> Reboot and then provide the output from the journal like so?
> 
> journalctl -b 0 -o short-monotonic -u systemd-networkd.service

See attached (netplandebug.log)

> And tar up whatever is in /run/systemd/network/* ?

See attached (run_systemd_network)

> Lastly, if you do not specify accept_ra at all, does this affect the
results?

This gives the same result als specifying accept_ra=true. Stateless
autoconfig addresses are added as well as gateways received through
RA's. With accept_ra=false neither autoconfig addresses or RA gateways
are added.

The only difference is that with accept_ra=true the file in
/run/systemd/network/ shows 'IPv6AcceptRA=yes', whereas if accept_ra is
not specified this line is not shown.

I hope this helps.

Kind regards,
Martin


** Attachment added: "run_systemd_network"
   
https://bugs.launchpad.net/bugs/1807569/+attachment/5285036/+files/run_systemd_network

** Attachment added: "netplandebug.log"
   
https://bugs.launchpad.net/bugs/1807569/+attachment/5285037/+files/netplandebug.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1807569

Title:
  netplan accept-ra disables slaac

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1807569/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1807569] Re: netplan accept-ra disables slaac

2019-08-26 Thread Ryan Harper
Thanks for filing the bug.

Can you provide the netplan you used?

Also, if possible, could you run:

mkdir /etc/systemd/system/systemd-networkd.service.d/
echo -e "[Service]\nEnvironment=SYSTEMD_LOG_LEVEL=debug" > 
/etc/systemd/system/systemd-networkd.service.d/10-debug.conf 


Reboot and then provide the output from the journal like so?

journalctl -b 0 -o short-monotonic -u systemd-networkd.service

And tar up whatever is in /run/systemd/network/* ?


Lastly, if you do not specify accept_ra at all, does this affect the results?

Thanks!

** Changed in: netplan
   Status: New => Incomplete

** Also affects: netplan.io (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: netplan.io (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1807569

Title:
  netplan accept-ra disables slaac

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1807569/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs