0

I have an ubuntu server 18.04 with redundant internet interfaces.

As of now my ifconfig looks like this:

eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 192.168.0.150  netmask 255.255.255.0  broadcast 192.168.0.255
    inet6 fe80::222:19ff:fe54:5e  prefixlen 64  scopeid 0x20<link>
    ether 00:22:19:74:00:5e  txqueuelen 1000  (Ethernet)
    RX packets 246467  bytes 196895467 (196.8 MB)
    RX errors 0  dropped 7  overruns 0  frame 0
    TX packets 140422  bytes 19705471 (19.7 MB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 192.168.0.150  netmask 255.255.255.0  broadcast 192.168.0.255
    inet6 fe80::222:19ff:fe54:60  prefixlen 64  scopeid 0x20<link>
    ether 00:22:29:44:00:60  txqueuelen 1000  (Ethernet)
    RX packets 93  bytes 40650 (40.6 KB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 35  bytes 5957 (5.9 KB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Does this means that the connection is redundant, so if i unplug for example eno1 the connection is still going to be the same? Is this the right way to do twin interfaces in linux?

I have configured static ip for the two interfaces in /etc/netplan/.

  • 1
    I am actually surprised this came up, with the same IP on different MAC addresses. My experience has been bonding the interfaces is the best approach for redundancy, with the bond mode determined partially by the capabilities of the switch. – KevinO Mar 17 at 17:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.