Quantcast
Channel: Ubuntu Forums - Networking & Wireless
Viewing all articles
Browse latest Browse all 23300

netplan try with bridge cause system freeze

$
0
0
Hello there!

I have installed fresh Ubuntu Server 18.04.1 LTS on OVH bare-metal server. I need to run network bridge for LXD containers, but I failed. First of all, after installation there was no file under /etc/netplan/ so I have created one

This is my initial simple configuration without bridges and it works fine:

/etc/netplan/01-netcfg.yaml:

Code:

network:
  version: 2
  renderer: networkd
  ethernets:
    eno1:
    dhcp4: false
    addresses:
      - aaa.bbb.ccc.ddd/24
      - fo1.fo1.fo1.fo1/32
      - fo2.fo2.fo2.fo2/32
      - fo2.fo2.fo2.fo2/32
    gateway4: gw1.gw2.gw3.gw4
    nameservers:
      addresses: [127.0.0.1,8.8.8.8,8.8.4.4]

aaa.bbb.ccc.ddd is my main IP and fo... are fail-over ips.


Then I tried to create a bridge and have tested different configurations and none of them works, even following simple example without failover IPs cause system freeze:

Code:

network:
  version: 2
  renderer: networkd
  ethernets:
    eno1:
    dhcp4: false
  bridges:
    br0:
    interfaces: [eno1]
    dhcp4: false
    addresses:
      - aaa.bbb.ccc.ddd/24
    gateway4: gw1.gw2.gw3.gw4
    nameservers:
      addresses: [127.0.0.1,8.8.8.8,8.8.4.4]

With above configuration even this:

netplan --debug try

cause system freeze.

There is nothing helpful in the logs. This is my first Ubuntu Server, but as user of Debian since 5.0 I have not anticipated such troubles. What did I do wrong?

Viewing all articles
Browse latest Browse all 23300

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>