LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-06-2004, 09:57 PM   #1
toejam
LQ Newbie
 
Registered: Apr 2004
Distribution: WBLE r3.0
Posts: 22

Rep: Reputation: 15
Setting up multiple routers


Hello folks, go easy on me, I'm new to linux and I have a general question about incorporating Smoothwall into my network. I currently have a LinkSys router and I'd like to continue to use it but I'd also like to setup Smoothwall as the router with a direct connection to the internet. So an example would be:

Smoothwall
WAN - 1
IP : 192.168.1.1
LAN - 192.168.1.10 / 1X
255.255.255.0

Now where I get confused is how you use multiple routers in a network LAN. WOuld I have to make the Linksys somthing like:

Gateway : 192.168.1.1
LAN - 192.168.2.10 /1X
255.255.255.0

Or would I need to change the subnet mask to a different mask like 255.255.0.0

Sorry for the long message and remember I'm new to Linux and Networking. thx
 
Old 06-07-2004, 09:02 AM   #2
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
No one will ever go easy on you.

OK from what I understand you have a DSL or Cable connection. On this connection do you have a static or dynamic IP. Most likly you have a dyanmic ip and you have the linksys accepting the ip as it was a computer. Then you are using DHCP do give out the rest of the IP number behind the linksys. By using a router behind a router you are creating a new network. I would open up your linksys control panel and make a static ip address for your smoothwall router. Once that is done setup smoothwall to use that IP on the wan side or (red side) you need another ethernet card to setup the lan (greenside) and use a different IP number. IE 192.168.45.5 and the subnet mask can be 255.255.255.0 Then you need to connect a hub to the green side and from there you can have the smoothwall be the DHCP for the green side.


Did this help?
 
Old 06-07-2004, 08:23 PM   #3
toejam
LQ Newbie
 
Registered: Apr 2004
Distribution: WBLE r3.0
Posts: 22

Original Poster
Rep: Reputation: 15
Yes, this is a dymanic IP off a cable modem. I also already have a Red and green line, in other words 2 nic cards in this box.

So would I be able to take my [cable modem] <--> (Red Line) - Smoolthwall - (Green Line) <--> Linksys (DHCP/LAN) ----IP,IP,IP.

With this configuration I'm not sure I'd be able to access the Smoolthwall box from a client PC because the Linksys sits behind it distributing IP's... So my question is how do I make this configuration work?
...
 
Old 06-09-2004, 10:08 AM   #4
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
In your linksys control panel add the static route to the green side of the smoothwall. Also you need to change the linksys config from gateway to router or vice versa.

Last edited by phatboyz; 06-09-2004 at 10:11 AM.
 
  


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
How to get dhcpd.conf to support multiple ISP routers? spadesmaster Linux - Networking 5 09-22-2005 01:18 PM
Setting up for multiple ELO touchscreens eeoufan Linux - General 1 04-10-2005 05:11 PM
Setting up Slackware 9.1 to use multiple network cards? Lynx2112 Slackware 7 06-10-2004 05:52 PM
Setting up RH9 on multiple computers with the same configuration gmichel Linux - Newbie 4 05-27-2004 08:58 AM
setting up multiple NIC carboncopy Linux - Networking 3 08-02-2003 01:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:22 PM.

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