LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-02-2004, 04:48 PM   #1
johnny_boy_2k3
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Unhappy how to configure 6 NICs on Red hat 9.0 to make a firewall/router for 5 lans?


Hi, I have a problem here, what should I do to make this work

ingredients :
- Pentium III 500 MHZ 384 MB RAM running red hat 9.0 to act as a firewall
router. machine ( A )
- DSL connection on (A)eth0 : IP assigned dynamically by ISP

- (A)eth1 : ip 192.168.0.1 crossover cable to PC(B)eth0: ip 192.168.0.6
- (A)eth2 : ip 192.168.0.2 crossover cable to PC(C)eth0: ip 192.168.0.7
- (A)eth3 : ip 192.168.0.3 crossover cable to PC(D)eth0: ip 192.168.0.8
- (A)eth4 : ip 192.168.0.4 crossover cable to PC(E)eth0: ip 192.168.0.9
- (A)eth5 : ip 192.168.0.5 crossover cable to pC(F)eth0: ip 192.168.0.10

Schematic :

[....PC (B)...]......[ Personal Laptop (F) administrator]
.........e0........................e0
.........||...........................||
.........||...........................||
____e1_____________e5____
|..F.i.r.e.w.a.l.l....B.o.x...(A)........|=e0====[ DSL modem ]====( internet )
''''||''''''''''''''''''||''''''''''''''''''||''''
..e2...........e3...........e4
...||.............||..............||
...||.............||..............||
..e0............e0............e0
|''''''''''|......|'''''''''|........|''''''''|
|pc(C)|.....|pc(D)|......|pc(E)|
|____|.....|____|.......|____|


all the computers here will be running red hat 9.0, the computer that
will be making the connection to the isp is in fact machine (A)

any ideas how can i make all computers capable of communication with each other ? and connect to the internet and also be accessed from the
internet ? suppose I run a web server on machine C for example ..
will I be able to do so ?


thanks a lot
 
Old 05-02-2004, 08:28 PM   #2
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
You don't need 6 NICs. All of the PCs are on the same network. you need this:

DSL --> RH9A --> Switch --> rest of PCs

You can get a cheaep 100 Mb switch for < $50, probably the same or less than 4 more NICs. This way you need 2 NICs in machineA.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux router/firewall box for shared Internet access from 3 separate LANs? dan.patton Linux - Networking 4 04-15-2006 05:37 PM
Router/firewall/webserver 2 nics dsl question don_from_wi Linux - Networking 2 03-29-2005 06:02 PM
How to install and configure a firewall on Red Hat 9 linux fhameed Linux - Security 3 05-01-2004 03:22 PM
Setting up NAT/DHCP/Router/Firewall on Red Hat wingphil Red Hat 1 01-29-2004 07:34 AM
router/firewall/nat/dhcp with 5 NICs? nicedreams Linux - Networking 13 06-21-2003 02:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration