LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-28-2004, 12:04 PM   #1
donoss
LQ Newbie
 
Registered: Oct 2004
Location: Doncaster
Distribution: SuSE 9.1
Posts: 6

Rep: Reputation: 0
Firewall, Routing and Subnets - is this possible?


Hi,

I have a network providing internet access via a cable modem to a set of users. I wish to create two networks for different sets of users but still need internet access for both networks. Is it possible to put a server between the cable modem to act as a firewall, and at the same time put 3 nic's in the server to provide two subnets and to route the traffic between subnets and the internet e.g. 192.168.0.1 -> to cable modem, 192.168.1.1 to subnet A and 192.168.2.1 to subnet B? Can the server still provide SAMBA to both subnets?

Any help or suggestions will be much appreciated.

Many thanks

Andy Norman
 
Old 10-28-2004, 12:32 PM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
It is totally possible. It only requires a few port forwards and a little masquerading. SMB can be forwarded across the subnets by forwarding port 139 and you can either use a proxy (squid), which I highly recommend, or simple masquerading in the firewall to handle the Internet.
 
Old 10-28-2004, 12:34 PM   #3
NetAX
Member
 
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147

Rep: Reputation: 17
Yes it is possible. I have that exact setup right now, 3 NIC's, firewall, and SAMBA.

Here are my suggestions:

1. Dont do everything at once.

2. Start with connecting the server to the modem.(If you don't know how to do it or configure the server with the modem do a search. There are plenty of posts on this topic. )

3. Once you get that going put in a second NIC (Internal network1). Make sure computers on that network are able to ping that NIC. Do the same with the third NIC.

4. Now you need to install or configure the firewall. I dont know if your using SuSE pro or personal but YaST has an easy firewall configuration tool that you can use. It will allow you to specify the external/internal NIC's and the desired ports and services that you want to use.

5. Once you get that going you can go off to Samba. There are several posts on how to configure samba. Do a search as well.
 
  


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
Firewall Routing trent000 SUSE / openSUSE 1 07-19-2005 11:17 AM
Routing between internal subnets teamchachi Linux - Networking 2 05-11-2005 07:21 AM
Routing multiple subnets to multiple wans raven1000x Linux - Networking 1 03-10-2004 02:29 AM
Routing between different subnets ... suvajit Linux - Networking 1 05-15-2003 07:07 AM
simple routing between subnets without NAT iggymac Linux - Newbie 2 03-24-2003 04:38 PM

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

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