www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Using Zeroshell as a router with VMworkstation teams

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Networking
View previous topic :: View next topic  
Author Message
staino



Joined: 07 Mar 2010
Posts: 3

PostPosted: Sun Mar 07, 2010 2:59 am    Post subject: Using Zeroshell as a router with VMworkstation teams Reply with quote

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
View user's profile Send private message
ppalias



Joined: 17 Dec 2008
Posts: 1151
Location: Athens, Greece

PostPosted: Mon Mar 08, 2010 8:09 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
staino



Joined: 07 Mar 2010
Posts: 3

PostPosted: Mon Mar 08, 2010 8:26 am    Post subject: Reply with quote

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
View user's profile Send private message
ppalias



Joined: 17 Dec 2008
Posts: 1151
Location: Athens, Greece

PostPosted: Mon Mar 08, 2010 12:00 pm    Post subject: Reply with quote

No need for bridging, since you added the static route.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
staino



Joined: 07 Mar 2010
Posts: 3

PostPosted: Tue Mar 09, 2010 9:45 am    Post subject: Reply with quote

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
View user's profile Send private message
ppalias



Joined: 17 Dec 2008
Posts: 1151
Location: Athens, Greece

PostPosted: Tue Mar 09, 2010 10:58 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Networking All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group