Multiple gateway inside container

trigg3r

Well-Known Member
Aug 3, 2019
55
7
48
24
I installed Zimbra mail server in a container where I added a second network interface with an IP in the management VLAN (192.168.10.0) and configured Zimbra to expose its administration interface on this subnet.

ip route

Code:
default via 192.168.10.1 dev eth1
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.117
192.168.10.0/24 dev eth1 proto kernel scope link src 192.168.10.117

How can I set 192.168.1.1 as default gateway ?

Thank you.
 

Attachments

  • pve_ct_two_gateway.png
    pve_ct_two_gateway.png
    18.7 KB · Views: 8
Last edited:
Search the Internet and u will be happy

My intelligence is well below average (I am not joking), but I try to work hard. Before asking here I searched on the Internet, as I am used to doing, but I couldn't find the solution. Do you want to help me? If you found something, all I need is the link.

Thanks in any case