| View previous topic :: View next topic |
| Author |
Message |
staino
Joined: 07 Mar 2010 Posts: 3
|
Posted: Sun Mar 07, 2010 2:59 am Post subject: Using Zeroshell as a router with VMworkstation teams |
|
|
Hi
Im trying to use zeroshell to be a router between my vm team lan's and my adsl router.
I have the current setup
ADSL router - 192.168.1.254/24
VM server1 - eth0 - 10.0.0.11/24 gw-10.0.0.1
zeroshell - eth0 - 192.168.1.1/24
eth1 - 10.0.0.1
gw - 192.168.1.254
I dont know how to get vm server1 to talk to the outside world (internet). My routing table looks like this (i havent modied it...its the auto/dynamic):
Destination Gateway Genmask iface
10.0.0.0 0.0.0.0 255.255.255.0 ETH01
192.168.1.0 0.0.0.0 255.255.255.0 ETH00
192.168.250.0 0.0.0.0 255.255.255.0 VPN99
0.0.0.0 192.168.1.254 0.0.0.0 ETH00
Using vmserver1 - i can ping 10.0.0.1 and 192.168.0.1 - but cant ping the gateway of 192.168.1.254
Can anyone help me get my vmserver talking to the outside world?
Regards |
|
| Back to top |
|
 |
ppalias
Joined: 17 Dec 2008 Posts: 1151 Location: Athens, Greece
|
Posted: Mon Mar 08, 2010 8:09 am Post subject: |
|
|
| Either enable NAT on ETH00 of ZS, or add a static route for network 10.0.0.0/24 via 192.168.1.1 on your adsl router. |
|
| Back to top |
|
 |
staino
Joined: 07 Mar 2010 Posts: 3
|
Posted: Mon Mar 08, 2010 8:26 am Post subject: |
|
|
Thanks that worked!
I got it to work by adding the static route to the ADSL router and changing ETH00 to bridged
Thanks for your help |
|
| Back to top |
|
 |
ppalias
Joined: 17 Dec 2008 Posts: 1151 Location: Athens, Greece
|
Posted: Mon Mar 08, 2010 12:00 pm Post subject: |
|
|
| No need for bridging, since you added the static route. |
|
| Back to top |
|
 |
staino
Joined: 07 Mar 2010 Posts: 3
|
Posted: Tue Mar 09, 2010 9:45 am Post subject: |
|
|
Hi
When I put ETH00 for zeroshell into NAT mode, I lose connectivity to my VM's.
When ETH00 for zeroshell is set to Bridge mode i have connectivity.
THe problem is - I have lan connectivity....i can connect from my host computer to my VM's, but my VM's cannot use the internet. Do I need to add another route for the net on my ADSL?
Thanks |
|
| Back to top |
|
 |
ppalias
Joined: 17 Dec 2008 Posts: 1151 Location: Athens, Greece
|
Posted: Tue Mar 09, 2010 10:58 am Post subject: |
|
|
| ETH00 is in bridge with which other interface? You need 2 interfaces to create a bridge. Static route for the network of the VM on the ADSL router should be enough for having internet access. |
|
| Back to top |
|
 |
|