Softaculous


Topic : ubuntu 20.04 and virtnetwork failed after restart


Posted By: vahidssss on March 6, 2021, 4:22 am
Hi every one,
I have some wired issue with ubuntu 20.04,
I turned off the netplans and I use the legacy method.
I made a permanent bridge and it works.
but after restarting the virtnetwork service, the bridge will be gone and I have to restart the networking service to make it again.
Code

service virtnetwork status
● virtnetwork.service - Virtualizor Network Service
    Loaded: loaded (/etc/systemd/system/virtnetwork.service; enabled; vendor preset: enabled)
    Active: active (exited) since Sat 2021-03-06 05:06:30 CET; 8min ago
    Process: 12201 ExecStart=/etc/init.d/virtnetwork start (code=exited, status=0/SUCCESS)

Mar 06 05:06:30 hostname systemd[1]: Starting Virtualizor Network Service...
Mar 06 05:06:30 hostname virtnetwork[12202]: Error: No ip address found.
Mar 06 05:06:30 hostname systemd[1]: Started Virtualizor Network Service.

my /etc/network/interface looks like this ( I've changed the IPs):
Code

auto lo
iface lo inet loopback

auto viifbr0
iface viifbr0 inet static
address 192.168.1.10 
netmask 255.255.255.0 
gateway 192.168.1.1
dns-nameservers 8.8.8.8
bridge_ports enp8s0
bridge_stp off
bridge_fd 0
bridge_maxwait 10


Posted By: craftplaza on April 24, 2021, 12:11 pm | Post: 1
your right by switching to legacy method

but there is a little bug..

You must create file /etc/sysconfig/network-scripts/ifcfg-INTERFACE_NAME so that virtnetwork can find the gateway.

no need to create bridge manual

To everyone else fist drop netplan and switch to legacy network method
just use https://tweenpath.net/ubuntu-18-04-disable-netplan-switch-networking-etc-network-interfaces/

Also ipv6 works fine with hetzner, Just install it in the correct way

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.