Xen guest VM with two static IP address -


i have installed xen4centos on centos7, having single nic bridge network , have 2 vms on that.

in 1 vm, want add 2 static ip 1 webserver , 1 mail server.

so have created ip alias in guest vm, created not pinging outside public network or host.

so if have idea how add second ip in guest vm please let me know.

i have searched on google of tutorials had given example 1 ip only.

i have figure out way listen second ip public network.

i have added second interface in vm configuration file mac address, inside vm looks eth0 , eth1.

then have created routing table eth1 , added default gateway eth1. [ ip route add default via xxx.xx.xxx.112 dev eth1 table eth1].

so doing way second ip in vm reachable public network.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -