Score:0

Xen configuration with 2 NIC and routing method

ps flag

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?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.