Hello
Until now, I have been using the RJ45 port on the motherboard, but I purchased the X520-DA2 and SF10G-AOC-01 to support 10G.
However, when I connect only the SFP port, I cannot access the Internet or other local devices.
I will write the interfaces file. enp4s0 is the RJ45 port, and enp1sf0 is the SFP port.
With the settings in the file written above, pings to local devices (such as routers) work, but pings to external devices (google.com) do not work.
If I set the gateway for vmbr0 and comment out the gateway for vmbr1, pings to the router and external devices (google.com) work.
However, if I unplug the cable from the RJ45 port, pings do not work anywhere.
The link light on the SFP port is flashing, but I think all communication is going through the RJ45 port.
Because when I run a speed test, it is limited to 1Gbps.
I would like to be able to communicate even when I connect a cable to the SFP port alone, so if you have any advice, please let me know. Thank you.
If there are any inaccuracies or unclear points, please ask questions. I am a beginner, so there may be information missing.
Until now, I have been using the RJ45 port on the motherboard, but I purchased the X520-DA2 and SF10G-AOC-01 to support 10G.
However, when I connect only the SFP port, I cannot access the Internet or other local devices.
I will write the interfaces file. enp4s0 is the RJ45 port, and enp1sf0 is the SFP port.
Code:
auto lo
iface lo inet loopback
iface enp4s0 inet manual
auto enp1s0f0
iface enp1s0f0 inet manual
mtu 9000
iface enp1s0f1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.0.240/24
bridge-ports enp4s0
bridge-stp off
bridge-fd 0
# gateway 192.168.0.1
auto vmbr1
iface vmbr1 inet static
address 192.168.0.250/24
gateway 192.168.0.1
bridge-ports enp1s0f0
bridge-stp off
bridge-fd 0
source /etc/network/interfaces.d/*
With the settings in the file written above, pings to local devices (such as routers) work, but pings to external devices (google.com) do not work.
If I set the gateway for vmbr0 and comment out the gateway for vmbr1, pings to the router and external devices (google.com) work.
However, if I unplug the cable from the RJ45 port, pings do not work anywhere.
The link light on the SFP port is flashing, but I think all communication is going through the RJ45 port.
Because when I run a speed test, it is limited to 1Gbps.
I would like to be able to communicate even when I connect a cable to the SFP port alone, so if you have any advice, please let me know. Thank you.
If there are any inaccuracies or unclear points, please ask questions. I am a beginner, so there may be information missing.