LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
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
 
LinkBack Search this Thread
Old 11-23-2009, 02:02 PM   #1
realized
LQ Newbie
 
Registered: Oct 2004
Posts: 21

Rep: Reputation: 15
use my file server communicate between two networks?


My network setup is like this:

T1 shared between two networks - the networks are not connected however they are in the same office. they are on seperate subnets and switches..
They dont talk.

network1 has Debian (4.0) which is basicly just a file server and nothing else.

network2 would like access to Debian...

i was considering throwing another network card in the Debian box and plugging it into network2..

that part is easy - then both can see the shares on Debian..


however, ideally, i would also be able to route traffic between the two networks with the Debian box as well..

is this possible?

can i setup gateways or routes on my windows machine on network1 to use the Debian box as a 'gateway' for network2 ?


will it route traffic?

Last edited by realized; 11-23-2009 at 02:06 PM.
 
Old 11-23-2009, 02:22 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14
Posts: 1,554

Rep: Reputation: 89
Quote:
Originally Posted by realized View Post
My network setup is like this:

T1 shared between two networks..
...
How this is done?

If it is a router just add route between two networks.

Last edited by nimnull22; 11-23-2009 at 02:26 PM.
 
Old 11-23-2009, 04:10 PM   #3
realized
LQ Newbie
 
Registered: Oct 2004
Posts: 21

Original Poster
Rep: Reputation: 15
T1 adtran box goes to a 16 port switch, only 3 ports are used..


one for the t1

one that goes to a watchguard firewall that controls network1

one that goes to a watchguard firewall that controls network2

each firewall has its own external IP

from each firewall there we have switches for each network.
 
Old 11-23-2009, 04:14 PM   #4
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14
Posts: 1,554

Rep: Reputation: 89
Quote:
Originally Posted by realized View Post

T1 adtran box goes to a 16 port switch, only 3 ports are used..

In this case, what is IP of two networks?

Last edited by nimnull22; 11-23-2009 at 04:19 PM.
 
Old 11-23-2009, 04:22 PM   #5
realized
LQ Newbie
 
Registered: Oct 2004
Posts: 21

Original Poster
Rep: Reputation: 15
network1 is 192.168.150.x/24

network2 is 192.168.222.x/24
 
Old 11-23-2009, 04:28 PM   #6
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14
Posts: 1,554

Rep: Reputation: 89
It you give mask of 16, your LAN will be 192.168.x.x/16, and packets should be able to go through switch, if watchguard allows this.
 
Old 11-23-2009, 04:31 PM   #7
realized
LQ Newbie
 
Registered: Oct 2004
Posts: 21

Original Poster
Rep: Reputation: 15
the two watchguard firewalls dont talk to eachother remember.

each has its own wan port configured for its own ip address, then each has its own lan port..

what you are saying is possible though, i can have just one watchguard and have one port of the watchguard be for network1 and one for network2.. however that wouldn't be ideal at this moment as there are a lot of other factors that are in play.


so i am trying to use my fileserver with 2 nic's , one on each network for this.
 
Old 11-23-2009, 04:41 PM   #8
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14
Posts: 1,554

Rep: Reputation: 89
Quote:
Originally Posted by realized View Post
the two watchguard firewalls dont talk to eachother remember.

each has its own wan port configured for its own ip address, then each has its own lan port..

what you are saying is possible though, i can have just one watchguard and have one port of the watchguard be for network1 and one for network2.. however that wouldn't be ideal at this moment as there are a lot of other factors that are in play.


so i am trying to use my fileserver with 2 nic's , one on each network for this.
The packets will go to the 16 port switch and then to other network.
 
Old 11-23-2009, 04:49 PM   #9
realized
LQ Newbie
 
Registered: Oct 2004
Posts: 21

Original Poster
Rep: Reputation: 15
ohhhh...

gota look into that.

thanks buddy
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hostname defined in file "network" changes after change to file "hosts" qwkfish Linux - Networking 2 10-14-2009 04:07 PM
wicd shows network name as "none" + unable to get IP (protected networks) r11_kaede Linux - Wireless Networking 13 09-13-2009 04:01 AM
Command "mail" returns "panic: temporary file seek" kenneho Linux - Software 5 12-23-2008 03:27 AM
how can I "cat" or "grep" a file to ignore lines starting with "#" ??? callagga Linux - Newbie 6 07-09-2008 04:58 PM
Can't locate object method "splitpath" via package "File::Spec" RobJohnston Linux - General 2 06-28-2003 09:59 AM


All times are GMT -5. The time now is 06:39 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration