Second NIC for P2P connection

Gakiteri

New Member
Jan 7, 2023
2
0
1
Hello,

I got a secondary NIC for my homelab server to make a P2P connection with a crossover while the share a local network connection. My intentions are to be able to connect directly to the server from the P2P while allowing everyone else on the network access it without having to bridge or passthrough the connections
(If anyone asks why, the P2P connection is 2.5 Gbe as everything else is Gbe)

This diagram shows roughtly my local network

1693599501008.png

On the PC Im using Ubuntu Desktop using the default network manager thing


On proxmox I have tried modifying from the dashboard and manually modifying /etc/network/interfaces
This is my current config on proxmox
EDIT: I have made some changes like removing vmbr1 although I have seen no difference in behaviour
Code:
auto lo
iface lo inet loopback

auto enp3s0
iface enp3s0 inet manual

auto enp4s0
iface enp4s0 inet static
        address 10.10.10.10/24

auto vmbr0
iface vmbr0 inet static
        address 192.168.0.10/24
        gateway 192.168.0.1
        bridge-ports enp3s0
        bridge-stp off
        bridge-fd 0

and the output of $ ip route
EDIT: I have been testing this using multiple sources, and I want to highlight this documentation for clusters where they use p2p in three nodes. I replicated node 1 and 2 config but so far nothing.
Code:
# UBUNTU
default via 192.168.0.1 dev enx001 proto dhcp src 192.168.0.20 metric 100 
10.10.10.0/24 dev enp12s0 proto kernel scope link src 10.10.10.20 metric 101
10.10.10.10 dev enp12s0 scope link
192.168.0.0/24 dev enx001 proto kernel scope link src 192.168.0.20 metric 100


# PROXMOX
default via 192.168.0.1 dev vmbr0 proto kernel onlink
10.0.0.0/24 dev br-fb3af29289db proto kernel scope link src 10.0.0.1 # Docker network
10.10.10.0/24 dev enp4s0 proto kernel scope link src 10.10.10.10
10.10.10.20 dev enp4s0 scope link
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown # Docker network
192.168.0.0/24 dev vmbr0 proto kernel scope link src 192.168.0.10


I have tried multiple iterations and configurations based on threads on this forum and similar ones but so far nothing has worked. If anyone can help even if its just a bit, I would really appreciate it.
 
Last edited:
If anyone is interested, after trying a couple of times, I got it working with basically the same config as show that for some reason worked
 

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!