What is needed to change the default Gateway to another ip?

Hi all,

Hopefully someone can help me with this request. My setup:

vCenter environment running 5.5
OpenNebula 4.14.2
vCenter template with TTYLinux-vmware
Using the below template to deploy VM:

CONTEXT=[DNS_HOSTNAME=“YES”,
NETWORK=“YES”,
SSH_PUBLIC_KEY=“$USER[SSH_PUBLIC_KEY]”]
CPU=“2”
ETH0_DNS=“8.8.8.8 8.8.4.4”
ETH0_GATEWAY=“11.55.232.254”
GRAPHICS=[LISTEN=“0.0.0.0”,TYPE=“vnc”]
HYPERVISOR=“vcenter”
KEEP_DISKS_ON_DONE=“NO”
LOGO=“images/logos/linux.png”
MEMORY=“384”
NIC=[NETWORK=“1232”,NETWORK_UNAME=“oneadmin”]
PUBLIC_CLOUD=[TYPE=“vcenter”,VM_TEMPLATE=“421987bb-c41e-b862-8d67-72cbf187f828”]
VCPU=“4”

The network is:

BRIDGE=“1232”
DNS=“8.8.8.8”
GATEWAY=“11.55.232.254”
IP_GEN=“11.55.232.254”
PHYDEV=
SECURITY_GROUPS=“0”
VCENTER_TYPE=“Distributed Port Group”
VLAN=“NO”
VLAN_ID=

The problem is that everything deploys and works but the default gateway is set to 11.55.232.1 . I have set the default gateway in the network and in the template but both do not work.

Is there a ruby script which set the .1 behind the default gateway?
Or do I forget something?

Please advies.
Thanks in advance,

Maarten.

Hi,

Quick question, are you using the contextualization packages?

Yes, I have downloaded the TTY image from the marketplace.

Hi,

I think Tino means If you’ve installed the contextualization package. You can locate it through this link.

Regards