Hi, everyone!
I have some issue with network setup in Yast:
Few days ago i get dedicated server in ovh.com
I installed XenServer 7 on it.
One of virtual machines must have own public IP address. I requested for a new additional IP address from OVH.
I get it successfully. But new IP addres was from other subnet than ip address of my XenServer.
According OVH documentation i have to set default gateway on my virtual machine such as on my XenServer and after that my virtual machine will get access to the Internet.
Example:
XenServer settings:
IP: 145.84.155.60
Netmask: 255.255.255.0
Gateway: 145.84.155.254
Virtual machine settings:
IP: 144.85.217.45
Netmask: 255.255.255.255
Gateway: 145.84.155.254
On my virtual machine i installed OpenSuse 13.2
What i’ve done:
ifconfig eth0 144.85.217.45/32
route add default eth0
route add default gw 145.84.155.254
After that my network works fine. Ip packets with destination address 144.85.217.45 coming from internet to XenServer xenbr0 interface (OVH routing) and outgoing traffic goes through eth0 to xenbr0 and then goes to XenServer default gateway.
But if i restart my virtual machine it will become unavailable from internet. Ip routes will be fhush.
I try to set routing in YAST but it not wokring.
Can anybody help me with this issue?
Thank you!