LinuxQuestions.org
Visit Jeremy's Blog.
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 11-21-2002, 09:57 AM   #1
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Rep: Reputation: 31
smoothwall with linksys router ?


finally setup smoothwall (eth2,green, 192.168.1.1).
i did my testing with my win2k box (192.168.1.3) by connecting directly to eth2(green) of smooth box.
everything work'd fine.

my next step was to connect smooth box in between adsl router, and linksys 4 port switch.
i setup linksys router to 192.168.1.2, my rh7.3 to 192.168.1.4.

both box's gateways are at 192.168.1.1(green)

the only way i could ping, or connect to smooth box through linksys was to connect to the 4 ports. not the wan, or uplink.

shouldnt' the smooth box connect to the wan of the linksys?
i keep thinking the gateways could be set the old way(pre-smoothwall) and point(gateway) to the linksys, linksys point(gateway) to smooth box. but no go.

that was as far as i got, i had to stop do to alcohol consumtion.

sober now... can someone shed some light to a proper connection with linksys, and smoothwall



thanks
 
Old 11-21-2002, 11:40 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Please correct me if I am wrong, but...
Isn't the WAN side of your router on a different address subnet, not 192.168.1.0/24?
This would mean Smoothie sits between the adsl and the router, with it's own separate address space...
 
Old 11-21-2002, 12:34 PM   #3
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Original Poster
Rep: Reputation: 31
originally the linksys was 192.168.1.1, which would be the computers gateways.

edit->i used to point it's gateway to the modem 186.***.0.***


sorry my education on networking/terminology isn't the greatest.

Last edited by spooge; 11-21-2002 at 12:51 PM.
 
Old 11-21-2002, 02:20 PM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Ok, so the router's gateway can't be in the 192168.1.~ range, otherwise it will send packets back into the LAN.

You will need a different number range for the network between the router WAN and the Smoothwall GREEN interfaces
eg 192.168.2.~
then point the router's gateway to the new Smoothwall ip number.

'Gateway' refers to whether to send IP routing packets or local tcp packets.
 
Old 03-13-2003, 08:42 PM   #5
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Rep: Reputation: 30
Hey, did you ever get this working?
 
Old 03-03-2004, 02:42 PM   #6
Antarctic1
LQ Newbie
 
Registered: Mar 2004
Distribution: Smoothwall so far
Posts: 3

Rep: Reputation: 0
smoothwall config

I am using a Comtrend CT-500 adsl modem with a static IP, a linksys BEFW11S4 router and am trying to install smoothwall 2.0. Right now I have a green and red config with the static IP setup in the network settings. I am trying for a connection between the modem and the router right? therefore from adsl modem to smooth red, and green to WAN? settings? Please...
 
Old 03-03-2004, 06:31 PM   #7
JoAnywhere
Member
 
Registered: Oct 2003
Location: denver
Distribution: Debian
Posts: 97

Rep: Reputation: 15
this is simple.

the answer is that you do NOT plug the smoothie into the WAN port of the Linksys!!!

The WAN port on the linksys is for connecting to a (surprise surprise) WIDE AREA NETWORK. However, you are not doing this, you are connecting it to the SMOOTHWALL (Which is in turn connected to the WIDE AREA NETWORK). In this case, your WAN happens to be the Internet.

It should be said, it can be done. to do it you will need a crossover ethernet cable. However, if you do it this way, then the Smoothie can't perform DHCP for the machines sitting on your LAN, you'll have to do that off the Linksys, and you have to configure the WAN port of the Linksys to connect to the Smoothie with a static address. In short, it makes NO SENSE to do it this way

BTW - I have this exact config (a Linksys router, and a smoothwall running Red/Green/Orange NICS). I made the same error as you, and then sat down and worked out why it was the way it was!

Cheers
Jo

Last edited by JoAnywhere; 03-03-2004 at 06:34 PM.
 
Old 03-04-2004, 04:30 PM   #8
Antarctic1
LQ Newbie
 
Registered: Mar 2004
Distribution: Smoothwall so far
Posts: 3

Rep: Reputation: 0
I appreciate the reply but you told me what I should not do. Thus I realize the smoothwall is not sending out the DHCP which I want it to. Where are the connections made then? Modem -> Smoothie -> uplink of Router(DHCP disabled) -> remaining connection's to the pc's?
 
Old 03-04-2004, 04:40 PM   #9
JoAnywhere
Member
 
Registered: Oct 2003
Location: denver
Distribution: Debian
Posts: 97

Rep: Reputation: 15
You slightly misinterpreted what I said about DHCP (which could well be my fault).

Firstly, your Linksys router is NOT going to route DHCP requests out its uplink port even if DHCP is disabled on it. It will consider (correctly) that this traffic to be contained within the LAN.

Secondly, if you connect the uplink port of your linksys to the smoothwall, you'll need to configure the uplink port with a static IP address.

Thirdly, you'll need a crossover cable which later when you forgot that you installed it will confuse the heck out of you when you go to reconfigure your network

IF you wanted to do it this way, you would need to ENABLE DHCP on the Linksys, DISABLE DHCP on the smoothwall, assign a STATIC IP address to the Linksys WAN port.

And all this to free up one port on the Linksys.

I think the best way to do it is
MODEM<-->Smoothwall<-->Regular Port on Linksys

Disable DHCP on the Linksys, Enable it on the Smoothwall, and everything is good.

Cheers
Jo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Smoothwall and Router Linux31 Linux - Security 2 06-18-2005 01:20 PM
Administrating smoothwall through a router orange400 Linux - Networking 4 06-21-2004 12:50 AM
Smoothwall doesn't like my router orange400 Linux - Networking 3 05-26-2004 05:53 PM
smoothwall, linksys router, dsl Antarctic1 Linux - Networking 5 03-30-2004 08:15 AM
Linksys Ether16 Card compatibility (smoothwall and RH8) AshleyK Linux - Networking 2 09-15-2003 12:11 PM

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

All times are GMT -5. The time now is 09:44 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