Gateways with 2+NIC

Found strange BUG. If VM have 2 NICs with different networks - second network not works because don’t have gateway.

> 1 NIC gw mask 24
> 2 NIC gw mask 24



How resolve this problem?


Hi Anton,

I think it is a feature, not a bug that is most likely not related to OpenNebula :wink:

You should set-up policy routing in the VM to use both interfaces. Please take a look at the TLDP’s Adv-Routing-HOWTO#routing for multiple uplinks

I hope this helps.

Kind Regards,
Anton Todorov

Ok! I Understand )) Thanks! Maybe I don’t understand how networks work in OpenNebula? )) I want that the users themselves create yourself any local network and avoid conflicts but don’t understand how to do this in OpenNebula. :frowning: