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 

How to configure the network cards?

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



Joined: 29 Oct 2009
Posts: 3

PostPosted: Thu Oct 29, 2009 8:45 am    Post subject: How to configure the network cards? Reply with quote

I have internet on a router and i want to put zeroshell server between the router and my company network, see below.



router (192.168.1.1)---> ZS --------> internal network

on ZeroShell ETH00 is the one connects to the internet router and ETH01 is the one that connects to the internel network.....



WAN IP: 192.168.1.2 LAN IP: 192.168.0.75 (gateway for the dhcp too)


any help?????
Back to top
View user's profile Send private message
ppalias



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

PostPosted: Thu Oct 29, 2009 2:38 pm    Post subject: Reply with quote

I would suggest to remove the internet router and let ZS do the job. If it is an adsl line set the modem to bridge mode (rfc1453) and setup ZS to PPPoE. Otherwise it is going to be a big mess with double NAT and port forward.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
omnisys



Joined: 29 Oct 2009
Posts: 3

PostPosted: Thu Oct 29, 2009 3:11 pm    Post subject: Reply with quote

But i dont want to get an other modem to do the job.......

any idea how to do the NAT?????
Back to top
View user's profile Send private message
JC



Joined: 21 Apr 2008
Posts: 89

PostPosted: Thu Oct 29, 2009 5:09 pm    Post subject: Reply with quote

u can use the modem u already have, u simply set eth00 to b ur local network, then setup an internet connection, i am used to adsl so in my setup --> network i have eth00, eth01,ppp0 eth01 is linked to ppp0. ZS will do all your DHCP w/ minor setup, routing, firewalling.the NAT will work "out of the box" under adsl the NAT auto sets itself.
Back to top
View user's profile Send private message
omnisys



Joined: 29 Oct 2009
Posts: 3

PostPosted: Fri Oct 30, 2009 8:14 am    Post subject: Reply with quote

it does not make sence....

my ADSL router is already connected to the internet..........

the LAN output goes on the ETH01.... which somehow has to be shared in order to forward the internet to the ETH00........

No Dial is going to happen from the ZS
Back to top
View user's profile Send private message
JC



Joined: 21 Apr 2008
Posts: 89

PostPosted: Fri Oct 30, 2009 12:35 pm    Post subject: Reply with quote

so if ur adsl comes in on eth00 and ur LAN is connected to eth01, set eth00 to the ip subnet that the router wants to use, set ur eth01 to ur LAN subnet, then under NAT enable it on eth00 and u should have connectivity. u may need to set a static route to the modem.
i have a router behind my main to separate a small problem subnet and i had to static route from them to the main gateway. the gateway is 192.168.0.1, their network is 192.168.1.0 so i set
Destination Netmask Type Metric Gateway Interface
0.0.0.0 0.0.0.0 Net 1 192.168.0.1 Up

hope this helps
Back to top
View user's profile Send private message
7andY



Joined: 05 Jun 2009
Posts: 11

PostPosted: Thu Nov 05, 2009 1:17 pm    Post subject: Reply with quote

As there are visitors of many nationalities on here, can I suggest that you do not use shortened versions of English words ('u' and 'ur' etc). It will make reading a lot easier for all concerned.
Cheers, 7&Y
Back to top
View user's profile Send private message
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