Checking my virtual machine network connection

In April 2022 I sought help setting up a KVM for the first time. The thread became very long.
I must now return to using a virtual machine for work so am just checking to ensure what I have now is OK

I have two lan connections:-

alastair@ibmserv2:~> ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 34:40:b5:93:38:d0 brd ff:ff:ff:ff:ff:ff
    altname eno1
    altname enp11s0f0
    inet 192.168.169.134/25 brd 192.168.169.255 scope global noprefixroute eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::9fef:a051:9a5c:190d/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
    link/ether 34:40:b5:93:38:d1 brd ff:ff:ff:ff:ff:ff
    altname eno2
    altname enp11s0f1
4: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
    link/ether 36:40:b5:93:38:d5 brd ff:ff:ff:ff:ff:ff
    altname enp0s26f1u2
8: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 34:40:b5:93:38:d1 brd ff:ff:ff:ff:ff:ff
    inet 192.168.169.205/25 brd 192.168.169.255 scope global dynamic noprefixroute br0
       valid_lft 79060sec preferred_lft 79060sec
    inet6 fe80::3f2e:f1e4:c4fd:fce3/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
alastair@ibmserv2:~> 

My network connections are:-

alastair@ibmserv2:~> nmcli connection show
NAME                UUID                                  TYPE      DEVICE 
eth0                7ba00b1d-8cdd-30da-91ad-bb83ed4f7474  ethernet  eth0   
bridge-br0          62f6fed5-9f6c-40d5-be34-918071b1512f  bridge    br0    
eth1                5eb4da26-5d1d-30a5-8747-80181ed055fa  ethernet  eth1   
bridge-slave-eno1   2ccb3623-2c43-46f0-b848-307a074ccc9f  ethernet  --     
Wired connection 2  bbd3f82f-181a-3e66-ba65-ffad600ebd40  ethernet  --     
alastair@ibmserv2:~> 

I believe this is OK and my virtual machine is working using Windows 10.
What I cannot do is set the firewall zone for the bridge connection. I also tried to change the dhcp connection to a static address but could not.

I do not understand why the second wired connection seems to be doing nothing. I had intended that the two wired connections would be both be used. Please could somebody review what I have now and comment/advise.

@Budgie2 the second connection is the bridge, so is correct, if you want another spare ethernet you need to add another interface…

Firewall, don’t use it, Windows has it’s own, use that?

Hi Malcolm,
Ok thanks. So which of the two lan connections is being used for the bridge and what does bridge-slave-eno1 do? It does not appear to do anything

I see that br0 has the mac address of the second wired connection but it appears the second wired connection is still available.

I am just trying to understand, glad it all is working but wanted to learn.
I am also concerned that the built in NICs that I am using are only 100 Meg. Any views on putting in a new card to give me better speeds.

@Budgie2 we disabled the ipv4 and ipv6 capabilities… you ip a output also shows…

Got a spare PCIe X1 slot, I use a 4 port 1GB card for additional interfaces, or use USB ones…

I am returning to this thread and exploring trying a VPN connection. I am on the Z640 with the bridge setup so my addresses look like this:-

alastair@HP-Z640-1:~> ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 70:5a:0f:3a:fa:27 brd ff:ff:ff:ff:ff:ff
    altname enp0s25
    inet 192.168.169.137/24 brd 192.168.169.255 scope global noprefixroute eno1
       valid_lft forever preferred_lft forever
    inet6 fe80::b63b:a384:18f6:b1aa/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: enp0s20u5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b6:64:01:33:8b:09 brd ff:ff:ff:ff:ff:ff
5: br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 2e:be:ab:85:75:c9 brd ff:ff:ff:ff:ff:ff
7: wg-mullvad: <POINTOPOINT,UP,LOWER_UP> mtu 1380 qdisc noqueue state UNKNOWN group default qlen 1000
    link/none 
    inet 10.135.54.115/32 scope global wg-mullvad
       valid_lft forever preferred_lft forever
alastair@HP-Z640-1:~> 

I would appreciate an explanation of what eno1 is doing. It does not show in NM settings but uses my static ip which I use for my subnet.

I can understand the wg-mullvad connection is the vpn ip but what does my router and the wan see and what connects to enp0s20u5?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.