USB network card without conection

rondillacruz

New Member
Feb 27, 2024
3
1
3
Hi

I have a fresh installation of proxmox in a lenovo laptop to do some testing. the laptop hasn't network cards, just wireless that i dont want to use.
I have 2 tp-link usb ethernet adapters.
The first one is working fine, i can cannect to the GUI trough it to manage proxmox
The second one (same model) is connected and detected, i do a bridge and i assign an IP to that bridge (as i did with the other one)
apparently both network cards are configured exactly the same way.

lsusb detect both devices
proxmox detect both devices

the problem comes now...

if i ping 8.8.8.8 it works,
if i do a ping -I enxe4fac45ff383 to use the second device it doesn't work

if i ping vmbr0 (the bridge associated to the working device) from another computer it works
if i ping vmbr1 (the bridge associated to the not working device) from another computer it works
if i remove the wire from the adapter and i ping vmbr1(the bridge associated to the not working device) from another computer it still works


this is my interfaces file

auto lo
iface lo inet loopback

iface enx40ed001cb225 inet manual

iface enp0s31f6 inet manual

iface enxe4fac45ff383 inet manual

auto vmbr0
iface vmbr0 inet static
address 172.17.17.30/24
gateway 172.17.17.17
bridge-ports enx40ed001cb225
bridge-stp off
bridge-fd 0

iface wlp4s0 inet manual

auto vmbr1
iface vmbr1 inet static
address 172.17.17.31/24
bridge-ports enxe4fac45ff383
bridge-stp off
bridge-fd 0


Any ideas?


thanks in advance
 
afaik, the Gateway can't be used for more than one interface with same subnet.
You need to set a bond with your two interfaces then vmbr0 over the bond (mode balance-alb works with non lacp switch)
 
Last edited:
i only have that 2 network cards, i took the risk, i delete all bridges (i was afraid of losing conectivity), i did the bond and now both network cards are working. but both are working under the same IP, the bridge's IP. how can i do to have 2 separate IP?
 
Last edited:
  • Like
Reactions: _gabriel

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!