Networking Forums

Networking Forums > Computer Networking > Linux Networking > 2 network 1 router with 3 nics. I need the NAT as well. Possible?

Reply
Thread Tools Display Modes

2 network 1 router with 3 nics. I need the NAT as well. Possible?

 
 
YADER.CELL@gmail.com
Guest
Posts: n/a

 
      03-05-2008, 10:30 PM
Hello,

I am fairly new at linux , so please bear with me.

I would like to setup a linux router consisting of three nics.

ETH0 = WAN
ETH1 = 10.100.x.x and 10.5.x.x
ETH2 = Connected to a Switch


I need to NAT only ip address with the range of 10.100.XXX out to ETH0
( WAN ) any other range like 10.5.xx etc needs to exit via ETH2 which
is connected to the rest of my LAN network. At the same time, granted
if this is possible, I need to add rules to block any incoming/
outgoing packets from entering/exiting via eth0 to enter the ETH2 NIC
card. ( basicly any NAT ip address cannot enter the ETH2 NIC into the
rest of the lan )



I believe I need to do this via IP tables and work with setting up
static routes. Do you guys recommend for me to setup a full blown
server with mandrake or redhat or download a router distro like IPcop
or smoothwall?

have any of you guys done this before? is it doable? how can I
proceed with it?

Please advise and many thanks for your input.



 
Reply With Quote
 
 
 
 
Dean Hamstead
Guest
Posts: n/a

 
      03-05-2008, 11:35 PM
ipcop can be a little simplistic, and ipcop is an enhancement of
smoothwall.

try untangle maybe.

http://www.untangle.com/

Dean

(E-Mail Removed) wrote:
> Hello,
>
> I am fairly new at linux , so please bear with me.
>
> I would like to setup a linux router consisting of three nics.
>
> ETH0 = WAN
> ETH1 = 10.100.x.x and 10.5.x.x
> ETH2 = Connected to a Switch
>
>
> I need to NAT only ip address with the range of 10.100.XXX out to ETH0
> ( WAN ) any other range like 10.5.xx etc needs to exit via ETH2 which
> is connected to the rest of my LAN network. At the same time, granted
> if this is possible, I need to add rules to block any incoming/
> outgoing packets from entering/exiting via eth0 to enter the ETH2 NIC
> card. ( basicly any NAT ip address cannot enter the ETH2 NIC into the
> rest of the lan )
>
>
>
> I believe I need to do this via IP tables and work with setting up
> static routes. Do you guys recommend for me to setup a full blown
> server with mandrake or redhat or download a router distro like IPcop
> or smoothwall?
>
> have any of you guys done this before? is it doable? how can I
> proceed with it?
>
> Please advise and many thanks for your input.
>
>
>


--
http://fragfest.com.au
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing different network using 2 NICS Bhaoo Windows Networking 1 02-25-2007 05:51 PM
2 NICs = Better Network Performance??? jvanniekerk1 Windows Networking 1 12-08-2005 12:28 PM
itx 3 nics with flash drive linux router anyone? Joseph Linux Networking 4 07-29-2004 11:58 PM
dual nics satellite ISC add 700 wireless router MSki Broadband Hardware 1 05-27-2004 08:06 PM
Linux router w/3 nics - need help with routing bob Linux Networking 2 11-01-2003 10:39 PM



1 2 3 4 5 6 7 8 9 10 11