I'm trying to configure xen guest to act as a router for 2 more guests. Here is the configuration:
xenbr0 IP: 192.168.1.100 netmask 255.255.255.0 gw 192.168.1.1
router0 (its already bridged to xenbr0 and have internet access) IP: 192.168.1.101 netmask: 255.255.255.0 gw 192.168.1.100 router1 IP: 10.10.10.1 netmask 255.255.255.0
web0 IP: 10.10.10.2 netmask 255.255.255.0 gw 10.10.10.1
filetransfer0 IP: 10.10.10.3 netmask 255.255.255.0 gw 10.10.10.1
which is the right way to configure the networking in that case? Domains web and filetransfer will be accessible through port forwarding from the internet, but I'm unable to give them internet access to the outside...
/proc/sys/net/ipv4/ip_forwarding is already set to 1 in the router, and masquerade is created for router1 => router0 and the 2 domains still do not have internet.
The xen server have only 1 physical NIC