2 NICs and 2 Gateways

mschanda

New Member
Nov 8, 2023
2
0
1
Hello am a newbie just got introduced to proxmox. I have two interfaces going in two different devices. one to my public internet and the other to my Local Area Network.
I need to configure proxmox with two different gateways in order for me implement local services and also connect to the internet for download and access remotely.
How can i achieve this?
 
You can assign the default gateway to the nic connected to the internet. If the other nic has an IP in the local network range your system will automatically select the local nic when accessing other systems within that network.
 
t
You can assign the default gateway to the nic connected to the internet. If the other nic has an IP in the local network range your system will automatically select the local nic when accessing other systems within that network.
thank you worked, but now i gotta different problem. for some strange reason i cant reach my gateway but i can reach everything else on the broadcast domain.
 
Please share more details about your network setup. What is connected to what and how is your gateway (what IP) configures?
And post the content of /etc/network/interfaces
Please post the output of

Code:
ip addr
ip route
ip -6 route
 

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!