[SOLVED] Proxmox VE 4.2 Bug "Default gateway already exists on interface 'vmbr0'."

naisanza

Member
Aug 11, 2016
31
1
6
Brand new install of Proxmox VE 4.2

The issue is: unable to create new Linux/OVS Bridge, and throws error, "Default gateway already exists on interface 'vmbr0'" when the default gateways are _not_ the same.

Existing gateway: 10.0.1.1
New bridge gateway: 10.240.0.1

How are they the same? Is it a regex that's mis-parsing the inputs?


Screenshot:

5j5r0Fj.jpg


The settings for new OVS Bridge:
Code:
address 10.240.0.1
netmask 255.240.0.0
gateway 10.240.0.1


/etc/network/interfaces:
Code:
root@world:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto vmbr0
iface vmbr0 inet static
address 10.0.1.10
netmask 255.255.255.0
gateway 10.0.1.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
 
the gateway parameter is for the "default gateway", of which you can only have one per host.
(this is the gateway which will be used by default, if no other route is specified and has a higher priority)
also you try to set the gateway of the ovs bridge to itself, what would you like to accomplish with that?
 
the gateway parameter is for the "default gateway", of which you can only have one per host.
(this is the gateway which will be used by default, if no other route is specified and has a higher priority)
also you try to set the gateway of the ovs bridge to itself, what would you like to accomplish with that?

I am creating a Linux/OVS Bridge to use as a virtual network (10.240.0.0/12) within the system. I'm going to create containers within that virtual network, such as a router, DHCP server, and DNS server. It will be a fully virtualized network stack.

A DMZ container (10.0.1.200/24) will be created as the gateway between the LAN (10.0.1.0/24) and the virtual network (10.240.0.0/12)

Firewall/iptable rules will be used to NAT/Proxy the DMZ container to the virtual network.

The virtual network will not be accessible by the LAN, and can only be accessed after authenticating through the DMZ container
 
the gateway parameter is for the "default gateway", of which you can only have one per host.
(this is the gateway which will be used by default, if no other route is specified and has a higher priority)
also you try to set the gateway of the ovs bridge to itself, what would you like to accomplish with that?

I just needed to keep the Gateway empty
 
Hello,
the vmbr0 is
IP
192.168.100.*
gateway
192.168.100.1
mask
255.255.255.0
i try to add vmbr1 using these ips( * bridge)
try
192.168.101.*
gateway
192.168.101.1
and try
10.10.10.10
gateway
10.10.10.1
but still get
"Default gateway already exists on interface 'vmbr0'."
so does there is bug as
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1390777
or there is another reason
I need the gateway to access to the service .
best regards
 
Last edited:
Hello,
the vmbr0 is
IP
192.168.100.*
gateway
192.168.100.1
mask
255.255.255.0
i try to add vmbr1 using these ips( * bridge)
try
192.168.101.*
gateway
192.168.101.1
and try
10.10.10.10
gateway
10.10.10.1
but still get
"Default gateway already exists on interface 'vmbr0'."
so does there is bug as
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1390777
or there is another reason
I need the gateway to access to the service .
best regards
There will be only one default gateway for a host. I think One default gateway is already there with Vmbr0.
 
Falha na verificação de parâmetros. (400)

gateway: O gateway padrão já existe na interface 'enp11s0f0'
 

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!