Found strange BUG. If VM have 2 NICs with different networks - second network not works because don’t have gateway.
> 1 NIC 10.0.0.2 gw 10.0.0.1 mask 24
> 2 NIC 10.1.1.2 gw 10.1.1.1 mask 24
default 10.0.0.1 0.0.0.0
10.1.1.2 0.0.0.0 255.255.255.0
How resolve this problem?
I think it is a feature, not a bug that is most likely not related to OpenNebula
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.
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.