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