Ubuntu 18.04 redudant network.

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Ubuntu 18.04 redudant network.

Postby arcanisgk » 25. August 2018 23:46

I do not know where to ask for help with this situation:

how cant configure priority in new yaml setup network.

in old version i have this:

Code: Select all
auto lo
iface lo inet loopback
auto new0
iface new0 inet static
    address xxx.xxx.xxx.xxx
    netmask xxx.xxx.xxx.xxx
    up route add default gw aaa.aaa.aaa.aaa metric 10
    down route del default gw aaa.aaa.aaa.aaa

auto new1
iface new1 inet static
    address yyy.yyy.yyy.yyy
    netmask yyy.yyy.yyy.yyy
    up route add default gw bbb.bbb.bbb.bbb
    down route del default gw bbb.bbb.bbb.bbb


but I need to prioritize interface with ethernet connection. because i have two, one working and one on backup connection.

yaml files:

Code: Select all
01-netcfg.yaml
network:
 version: 2
 renderer: networkd
 ethernets:
   epn0s3:
     dhcp4: no
     dhcp6: no
     addresses: [192.168.1.194/24]
     gateway4: 192.168.1.1
     nameservers:
       addresses: [192.168.2.2]


backup

02-netcfg.yaml
Code: Select all
network:
 version: 2
 renderer: networkd
 ethernets:
   epn0s8:
     dhcp4: no
     dhcp6: no
     addresses: [192.168.50.115/24]
     gateway4: 192.168.50.1
     nameservers:
       addresses: [192.168.50.1]


I do not get that if one connection falls, the other automatically goes into operation.

the problem is that i get error: "resolution name" when i try to ping www.google.com after this -> one not automatical solution is, run some command:

//When this connection is not working
Code: Select all
sudo ifconfig enp0s8 down
sudo ifconfig enp0s3 up


//or backward
Code: Select all
sudo ifconfig enp0s8 up
sudo ifconfig enp0s3 down


but i think that this need to be automaticaly and not depending of user.
arcanisgk
 
Posts: 10
Joined: 28. August 2015 18:19
Operating System: Ubuntu 15.04 Server Vivid

Re: Ubuntu 18.04 redudant network.

Postby Nobbie » 26. August 2018 21:12

This is the XAMPPP(!) Forum for Linux. I think, youre request is totally wrong here. Where is the relation to XAMPP?
Nobbie
 
Posts: 11042
Joined: 09. March 2008 13:04

Re: Ubuntu 18.04 redudant network.

Postby arcanisgk » 27. August 2018 17:05

Did you read the first thing you put in the post?

"I do not know where to ask for help with this situation."

is related as I am going to install xampp in linux, if before I can not configure the network properly for this scenario.
and if you are not interested in supporting, or have nothing to offer in your answer, just refrain from responding.
arcanisgk
 
Posts: 10
Joined: 28. August 2015 18:19
Operating System: Ubuntu 15.04 Server Vivid

Re: Ubuntu 18.04 redudant network.

Postby Nobbie » 27. August 2018 19:14

arcanisgk wrote:"I do not know where to ask for help with this situation."


But this does not change anything, that request is far from the scope of this forum. You also can go for a forum for pregnand women, why not?! Or a Ferrari forum? All for the same reason - you dont know where to ask. So you randomly ask anywhere. Funny.

arcanisgk wrote:and if you are not interested in supporting, or have nothing to offer in your answer, just refrain from responding.


Forums do not work that way, you cannot tell anybody to respond or not to respond to your request. You are free to skip my respond, thats how it works. Anyway, your request is totally wrong here and you wont get any response from anybody.
Nobbie
 
Posts: 11042
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 2 guests