Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an xen kernel installed in centos 5. In that xen kernel, i have decide to create the guest os with public ip for amanda backup server . But i cannot able access the guest os using public ip. So,may i know how to route the public ip of guest os outside of host system. And what ip will be gateway for the guest os?

Host System IP  :  class A 
Guest System IP  : class B
share|improve this question

The first thing to check is: - Is you virtual host on the bridge network ( probably xenbr0 ) or on the private nat network ( probably virbr0 ) ?

You probably want to be on the bridged network in this kind of situation ( access to the vm from the outside ). On the bridged network you can give your VM an ip address in the same subnet as the host system ( or on a vlan you configured on your host, but I suppose this is too complicated for what you want to do ).

Then if the Host network is the public network (hopefully not), you can directly assign the virtual server its public address. Else you have to configure the router/firewall above your host system in order to nat the public ip address you want to use to the internal address on your Host network.

If this is not clear please provide more information about your ip addressing.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.