[SOLVED] Can't connect to the Internet using Intel 82599 Huawei SP310 X520-DA2

moonh

New Member
Dec 7, 2024
3
0
1
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.

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.
 
Both interfaces are on the same subnet, so your kernel ends up treating returning packets from the router as Martian.
 
Last edited:
I tested by temporarily disabling vmbr0, but it still doesn't allow communication with anything else.
 
Disabling how? Just removing it from the config file and restarting network doesn’t unconfigure the interface or take it out of the routing table. Also, does your network support jumbo frames?
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!