P
P
pka064552015-11-22 18:53:22
Computer networks
pka06455, 2015-11-22 18:53:22

How to set up a network in XEN?

Hello!
There is a piece of iron with xen installed on debian.
I want to get:
- all guest systems and a host system in the same local subnet (say, 10.10.10.0) had access to each other;
- Internet on all machines;
- port forwarding of guest systems through the host system (for example, 192.168.1.1 - the host system received from the router, you need to configure access to 10.10.10.13:22 through 192.168.1.1:3333).
Now, what I have:
- a configured debian guest system without packages, without the Internet, with the address 10.10.10.13 assigned via the xen-create-image command;
- a host system that received an address from the router 192.168.1.1 and also does not have the Internet;
There is no connection to anything. Set up according to the article -vladimir-stupin.blogspot.ru/2014/06/xen.html
On the host system, through ifconfig, there is dhcp eth0 and xenbr0 with the address 10.10.10.1 (the address of the host system in the subnet of all virtual machines). On guest systems, in the configs, before creating, I wrote vif = [ 'script=vif-bridge, bridge=xenbr0' ].
Help, please, to understand. I would be glad for any information!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Usov, 2015-11-26
@rahs

sysctl -a | grep net.ipv4.ip_forward on the host, what will it show?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question