Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : ubuntu 20.04 and virtnetwork failed after restart



Threaded Mode | Print  

 ubuntu 20.04 and virtnetwork failed after restart (1 Replies, Read 5794 times)
vahidssss
Group: Member
Post Group: Newbie
Posts: 2
Status:
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

IP: --   

ubuntu 20.04 and virtnetwork failed after restart
craftplaza
Group: Member
Post Group: Newbie
Posts: 3
Status:
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
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 17, 2021, 10:37 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.196