0

I have an Ubuntu 20 Server in a Data center with one Public IP and 1 additional NIC to connected to Switch. In this configuration I have a VM with configured as routing method. The VM can ping to host vice versa and goes to Internet without any problem.

Now I have second Server same structure same OS same Xen version and same configuration. The only difference is of course the Public IP is different.

But in this machine the VM can't establish a connection to Host or Gateway. Host also can't ping to vm. The internal ip configuration and subnets are same.

I can not figure out the problem.

sysctl has got same configuration like:

net.ipv4.conf.all.rp_filter=1
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
net.ipv4.conf.default.proxy_arp=1

etc/xen/scripts also almost same.

vif.default.gatewaydev="enp1s0"
vif.default.script="vif-route"

vm13.conf:

#  Hostname
#
name        = 'vm13'

#
#  Networking
#
vif         = [ 'ip=192.168.1.13 ,mac=00:16:42:E5:27:A8' ]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

Any idea?

0 Answers0