Virtual Network Interface taking over Physical interface? Ethtool? Very confused... [Resolved]

    • OMV 4.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Virtual Network Interface taking over Physical interface? Ethtool? Very confused...

      Hi folks.

      I've been tweaking bits of OMV for custom use and I came across something very strange I have never seen on other Linux distributions.

      Say my primary interface to the router is :

      ip : 192.168.1.2 static
      gateway : 192.168.1.1
      netmask 255.255.255.0

      When creating a network of sfp+ NIC interface in OMV (From the web GUI control panel) with ip 192.168.1.3, it is connected to my router and acts as a Ethernet port.
      If I than try to ping or browse (or whatever else) to 192.168.1.3, it will work even though that port is NOT CONNECTED TO ANYTHING!

      If I than try to connect that port on the NIC to a Netgear Switcher, nothing happens and the interface is not visible to the netgear switcher but still visible in LAN.

      When I assign a different segment i.e. 192.168.10.1, it will act as a sfp+ port and the NIC can see.
      I noticed that this does not matter if it's a bond or a a single network. It will always appear in LAN if it's on the same network segment in this case 192.168.[1].~

      So, my question is this :

      1. WHAT is making the the ip address 192.168.1.3 that is assigned to a sfp+ port on the NIC re-assign it self onto the Ethernet port on the motherboard?
      2. HOW can I change this behavior?

      My end goal here is to assign 192.168.1.3 and 192.168.1.4 to the sfp+ ports no the NIC to talk to the netgear switcher.

      here are some info :



      Source Code

      1. # Include additional interface stanzas.
      2. source-directory interfaces.d
      3. # The loopback network interface
      4. auto lo
      5. iface lo inet loopback
      6. iface lo inet6 loopback
      7. # enp3s0f1 network interface
      8. auto enp3s0f1
      9. allow-hotplug enp3s0f1
      10. iface enp3s0f1 inet static
      11. address 192.168.1.2
      12. gateway 192.168.1.1
      13. netmask 255.255.255.0
      14. dns-nameservers 8.8.4.4
      15. dns-search localdomain
      16. iface enp3s0f1 inet6 auto
      17. privext 2
      18. pre-up echo 1 > /proc/sys/net/ipv6/conf/$IFACE/autoconf
      19. pre-up echo 1 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
      20. pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/disable_ipv6
      21. # ens6f1 network interface
      22. auto ens6f1
      23. allow-hotplug ens6f1
      24. iface ens6f1 inet static
      25. address 192.168.1.3
      26. netmask 255.255.255.0
      27. iface ens6f1 inet6 manual
      28. pre-down ip -6 addr flush dev $IFACE
      29. # bond0 network interface
      30. auto bond0
      31. iface bond0 inet static
      32. address 192.168.10.1
      33. netmask 255.255.255.0
      34. bond-slaves ens6f2 ens6f3
      35. bond-mode 4
      36. bond-miimon 100
      37. bond-downdelay 200
      38. bond-updelay 200
      39. iface bond0 inet6 manual
      40. pre-down ip -6 addr flush dev $IFACE
      Display All


      Source Code

      1. lspci | egrep -i --color 'network|ethernet'
      2. 03:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)
      3. 03:00.1 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)
      4. 82:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
      5. 82:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
      6. 82:00.2 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
      7. 82:00.3 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)

      thanks is advance
    • Source Code

      1. *-network:0 DISABLED
      2. description: Ethernet interface
      3. product: Ethernet Controller 10-Gigabit X540-AT2
      4. vendor: Intel Corporation
      5. physical id: 0
      6. bus info: pci@0000:03:00.0
      7. logical name: eno1
      8. version: 01
      9. serial: 0c:c4:7a:34:a3:98
      10. capacity: 10Gbit/s
      11. width: 64 bits
      12. clock: 33MHz
      13. capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 100bt-fd 1000bt-fd 10000bt-fd autonegotiation
      14. configuration: autonegotiation=on broadcast=yes driver=ixgbe driverversion=5.1.0-k firmware=0x800003e2 latency=0 link=no multicast=yes port=twisted pair
      15. resources: irq:40 memory:c7c00000-c7dfffff ioport:6020(size=32) memory:c7e04000-c7e07fff memory:90000000-900fffff memory:90100000-901fffff
      Display All
    • Source Code

      1. *-network:1
      2. description: Ethernet interface
      3. product: Ethernet Controller 10-Gigabit X540-AT2
      4. vendor: Intel Corporation
      5. physical id: 0.1
      6. bus info: pci@0000:03:00.1
      7. logical name: enp3s0f1
      8. version: 01
      9. serial: 0c:c4:7a:34:a3:99
      10. size: 1Gbit/s
      11. capacity: 10Gbit/s
      12. width: 64 bits
      13. clock: 33MHz
      14. capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 100bt-fd 1000bt-fd 10000bt-fd autonegotiation
      15. configuration: autonegotiation=on broadcast=yes driver=ixgbe driverversion=5.1.0-k duplex=full firmware=0x800003e2 ip=192.168.1.2 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/
      16. resources: irq:80 memory:c7a00000-c7bfffff ioport:6000(size=32) memory:c7e00000-c7e03fff memory:90200000-902fffff memory:90300000-903fffff
      17. *-network:0 DISABLED
      18. description: Ethernet interface
      19. product: Ethernet Controller X710 for 10GbE SFP+
      20. vendor: Intel Corporation
      21. physical id: 0
      22. bus info: pci@0000:82:00.0
      23. logical name: ens6f0
      24. version: 02
      25. serial: e8:ea:6a:27:ae:8d
      26. capacity: 10Gbit/s
      27. width: 64 bits
      28. clock: 33MHz
      29. capabilities: pm msi msix pciexpress bus_master cap_list rom ethernet physical 1000bt-fd 10000bt-fd autonegotiation
      30. configuration: autonegotiation=off broadcast=yes driver=i40e driverversion=2.1.14-k firmware=5.04 0x800024da 0.0.0 latency=0 link=no multicast=yes
      31. resources: irq:33 memory:c8000000-c87fffff memory:ca800000-ca807fff memory:fbe80000-fbefffff memory:ca000000-ca1fffff memory:ca820000-ca89ffff
      Display All
    • Source Code

      1. *-network:1
      2. description: Ethernet interface
      3. product: Ethernet Controller X710 for 10GbE SFP+
      4. vendor: Intel Corporation
      5. physical id: 0.1
      6. bus info: pci@0000:82:00.1
      7. logical name: ens6f1
      8. version: 02
      9. serial: e8:ea:6a:27:ae:8e
      10. capacity: 10Gbit/s
      11. width: 64 bits
      12. clock: 33MHz
      13. capabilities: pm msi msix pciexpress bus_master cap_list rom ethernet physical 1000bt-fd 10000bt-fd autonegotiation
      14. configuration: autonegotiation=off broadcast=yes driver=i40e driverversion=2.1.14-k firmware=5.04 0x800024da 0.0.0 ip=192.168.1.3 latency=0 link=no multicast=yes
      15. resources: irq:33 memory:c8800000-c8ffffff memory:ca808000-ca80ffff memory:fbe00000-fbe7ffff memory:ca200000-ca3fffff memory:ca8a0000-ca91ffff
      16. *-network:2
      17. description: Ethernet interface
      18. product: Ethernet Controller X710 for 10GbE SFP+
      19. vendor: Intel Corporation
      20. physical id: 0.2
      21. bus info: pci@0000:82:00.2
      22. logical name: ens6f2
      23. version: 02
      24. serial: e8:ea:6a:27:ae:8f
      25. size: 10Gbit/s
      26. capacity: 10Gbit/s
      27. width: 64 bits
      28. clock: 33MHz
      29. capabilities: pm msi msix pciexpress bus_master cap_list rom ethernet physical fibre 10000bt-fd
      30. configuration: autonegotiation=off broadcast=yes driver=i40e driverversion=2.1.14-k duplex=full firmware=5.04 0x800024da 0.0.0 latency=0 link=yes multicast=yes slave=yes speed=10Gbit/s
      31. resources: irq:33 memory:c9000000-c97fffff memory:ca810000-ca817fff memory:fbd80000-fbdfffff memory:ca400000-ca5fffff memory:ca920000-ca99ffff
      Display All
    • Source Code

      1. *-network:3
      2. description: Ethernet interface
      3. product: Ethernet Controller X710 for 10GbE SFP+
      4. vendor: Intel Corporation
      5. physical id: 0.3
      6. bus info: pci@0000:82:00.3
      7. logical name: ens6f3
      8. version: 02
      9. serial: e8:ea:6a:27:ae:8f
      10. size: 10Gbit/s
      11. capacity: 10Gbit/s
      12. width: 64 bits
      13. clock: 33MHz
      14. capabilities: pm msi msix pciexpress bus_master cap_list rom ethernet physical fibre 10000bt-fd
      15. configuration: autonegotiation=off broadcast=yes driver=i40e driverversion=2.1.14-k duplex=full firmware=5.04 0x800024da 0.0.0 latency=0 link=yes multicast=yes slave=yes speed=10Gbit/s
      16. resources: irq:33 memory:c9800000-c9ffffff memory:ca818000-ca81ffff memory:fbd00000-fbd7ffff memory:ca600000-ca7fffff memory:ca9a0000-caa1ffff
      17. *-network
      18. description: Ethernet interface
      19. physical id: 3
      20. logical name: bond0
      21. serial: e8:ea:6a:27:ae:8f
      22. capabilities: ethernet physical
      23. configuration: autonegotiation=off broadcast=yes driver=bonding driverversion=3.7.1 duplex=full firmware=2 ip=192.168.10.1 link=yes master=yes multicast=yes
      Display All
    • So, basically when two interfaces are on the same segment, no matter what port you have assigned it to it will give you access to the machine with that IP address on either ports.
      I found out that this is just a Linux thing... (or rather computers in general)

      Anyway, case closed!!

      This was rather a stupid question from a standpoint of someone who would think this is ordinary...