Change network interface to a VM

nick

Renowned Member
Mar 28, 2007
364
1
83
Hi all,

I have a Proxmox MailGW on PVE created by Template with ethernet on vmbr0; I want to change the configuration to vmbr1 with another IP.

If I only change the IP, I can ping the new IP but I can't receive answer from external because the answer want to use the gateway from vmbr0.

And, I can give a gateway to vmbr1? Or, how I specify the route for vmbr1?

These is the route table for this machine:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.0.2.1 * 255.255.255.255 UH 0 0 0 venet0
default 192.0.2.1 0.0.0.0 UG 0 0 0 venet0
 
The mailgateway will not work with bridges. The template is designed to work with venet.

- Dietmar