[Bug 1860781] Re: netplan networkd - bridge configuration not work

Alexey Smovzh 1860781 at bugs.launchpad.net
Fri Jan 24 12:53:12 UTC 2020


** Package changed: ubuntu => netplan.io (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1860781

Title:
  netplan networkd - bridge configuration not work

Status in netplan.io package in Ubuntu:
  New

Bug description:
  Ubuntu: 18.04.3 LTS bionic

  Kernel: 4.15.0-70-generic


  1. configure network bridge with brctl with following commands and all
  works fine:

  sudo brctl addbr br-ex
  sudo brctl addif br-ex enp0s3
  sudo ip link set mtu 1500 dev br-ex
  sudo ip addr del 10.64.10.100/24 brd 10.64.10.255 dev enp0s3
  sudo ip addr replace 10.64.10.100/24 brd 10.64.10.255 dev br-ex
  sudo ip link set br-ex up
  sudo ip -f inet r replace default via 10.64.10.1 dev br-ex

  
  2. configure the same network bridge with netplan and NetworkManager as renderer with following config all works fine:

  network:
    version: 2
    renderer: NetworkManager
    ethernets:
      enp0s3:
        dhcp4: no
        dhcp6: no
    bridges:
      br-ex:
        interfaces: [enp0s3]
        addresses: [10.64.10.100/24]
        gateway4: 10.64.10.1
        mtu: 1500
        nameservers:
          addresses: [8.8.8.8]
        dhcp4: no
        dhcp6: no
        parameters:
          stp: no

  
  3. Configure network bridge with same config but with networkd as network renderer does not work
  networkctl - shows that interfaces are managed by networkd and its ok
  ip a - shows proper bridge configuration and ip address assignment
  ip route - shows proper route via 10.64.10.1 and br-ex dev
  No any error messages in systemd-networkd service log
  But network don't work
  I can't ping external hosts from this machine or ping this machine from external host 
   
    network:
    version: 2
    renderer: networkd
    ethernets:
      enp0s3:
        dhcp4: no
        dhcp6: no
    bridges:
      br-ex:
        interfaces: [enp0s3]
        addresses: [10.64.10.100/24]
        gateway4: 10.64.10.1
        mtu: 1500
        nameservers:
          addresses: [8.8.8.8]
        dhcp4: no
        dhcp6: no
        parameters:
          stp: no

  
  Can it be that i mislead some required by networkd configuration parameter?
  Or may be networkd does not set some kernel parameter which brctl and NetworkManager does?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1860781/+subscriptions



More information about the foundations-bugs mailing list