Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Help--setting Up Linux Router Redhat 9.0, Help--Setting up Linux Router Redhat 9.0
post Sep 25 2003, 10:30 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 2
Joined: 25-September 03
Member No.: 1,528

I am wanting to set up a linux router for 3 different networks...NetA, NetB, and internet.
The internet will be a PPPoE and be on DSL.
NetA will be a internal subnet with address of subnet will be
NetB will be a internal subnet with address of subnet will be
The linux computer(router) will have three network cards in it. eth0 (internet-?), eth1 (netA-, and eth2 (netB- Eth0 will go to the dsl modem, eth1 will go to a hub for netA, and eth2 will go to a hub for netB.
The Routers purpose is to route the internet to both subnets and block traffic between the two subnets (netA and netB).

How do I go about setting this up? Will the router I proposed do the trick or am I way off base here?
What IP addy should I assign the eth0 for the internet? (I was wanting to assign

Thank you for your help.
Go to the top of the page
+Quote Post
post Sep 26 2003, 12:00 PM
Post #2

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

Yes, that will work...

Are you going to connect eth0 to the DSL modem directly? If so, it will be getting it's IP address from the ISP via DHCP.

I would use full Class C's for each network ( and with subnet masks) for ease eth1 would be IP and eth2 would be

You will then need to setup IP Masqurading and iptables on the Linux Machine.

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 18th July 2018 - 05:19 PM