Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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...
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.
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...
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.