[Networkmanager] nic sub-interface
Robin Becker
robin at reportlab.com
Mon May 8 15:50:29 UTC 2023
On 08/05/2023 15:04, Thomas Haller wrote:
> Hi,
>
>
.........
>
> Why? After moving the port to the bridge, the "new" configuration is
> supposed to work. Just add the IP addresses (or `ipv4.method=auto`) on
> the bridge profile, instead of the eno1 profile from before.
.......
I am almost certain this is right, but perhaps my router is interfering.
I will try again and perhaps I need to clear my head around what's talking to what. Since the router assigns using a mac
address perhaps I need to force the bridge and/or the nic to be more specific and just fix the addresses.
> It's not clear to me what a "sub interface eno1.1" is. Where does this
> recommendation come from?
I get this from
https://linuxconfig.org/how-to-use-bridged-networking-with-libvirt-and-kvm
under "Adding a physical ethernet interface to the bridge"
On our old servers in /etc/network/interfaces we have sections like
# The primary network interface
auto eno1
iface eno1 inet static
address yy.yy.yy.yy
netmask 255.255.240.0
auto eno1:0
iface eno1:0 inet static
address xx.xx.xx.xx
netmask 255.255.240.0
so I assumed I could do something similar with NM and have two connections using the same physical device.
I am no networking genius though
..........
>
>
> Thomas
>
--
Robin Becker
More information about the Networkmanager
mailing list