Score:0

Ubuntu Server 20.04 2 Network Interfaces on same subnet

in flag

I have a Ubuntu Server setup running 20.04 which has two interfaces (enp88s0 and enp89s0).

I have set the interfaces to have the following IP addresses 192.168.2.99 192.168.2.100

I wish to plug a device in to talk to the server say at 192.168.2.10 and be able to plug in to another port such as enp88s0 and talk to 192.168.2.10 or vice versa. I have tried using netplan but I often find it very confusing.

My config is here

network:
  ethernets:
    enp88s0:
      addresses:
      - 192.168.2.99/24
      nameservers:
        addresses: []
        search: []
    enp89s0:
      addresses:
      - 192.168.2.100/24
      nameservers:
        addresses: []
        search: []
      routes:
      - to: 192.168.2.0/24
        via: 192.168.2.100
        table: 101
  version: 2

Is there something that I am missing to complete what I require? Would love to learn more.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.