On 13/08/2013 11:11, Marco Lanzotti - ADGlamor wrote:

If I add an interface with public IP and default gateway configured default route still via 192.168.1.1.

I think problem is in /etc/one-context.d/00-network script, in function get_gateway():

    if [ -z "$gateway" ]; then
        if [ "$DEV" = "eth0" ]; then
            net_prefix=$(echo $NETWORK | cut -d'.' -f1,2,3)
            gateway="${net_prefix}.1"
        fi
    fi

It set default gateway to ip x.x.x.1 if not specified. Whi?

Bye,
Marco
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to