LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-13-2007, 06:10 AM   #1
madm21
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Question how to connect 2 different LAN using linux router


HI all,
am stilla novice when it comes to linux and networking
This is my problem, will can anyone help me out with it..??
my existing LAN onsite uses cisco router for internal routing and clark connect for internet gateway.
I want to link my new office LAN in another building nearby to the existing LAN but with different subnet (lan A 192.168.2.xx 192.168.4.xx)
Am using adsl modems for linking, and I want to use a linux box as a router cos of cost reasons.
Pls help me how do I configure Linux to do the routing??
Can clark connect or SME 7 can act as a router.?
Reaaaly appreciate if anyone can help me out .. very urgent..
thanx for ur time ppl..
 
Old 09-13-2007, 02:51 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,226

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
well the way i would do it is
first (to state the obvious): make sure the linux box has two network cards, this seems obvious like a no brainer but can be easily overlooked. the default kernel if im not mistaken on alot of distribuitons will support such routing.. then download firestarter
from http://www.fs-security.com (or something similar) and use that to configure your firewall, with firestarter you will have to set policies for inbound/outbound traffic by means of port number.
 
Old 09-14-2007, 02:30 AM   #3
madm21
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Wink Tang kyu

Thanx alot,
let me try it first and get back,
Thanx a mill buddy..
 
  


Reply

Tags
linux, routing


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
How to configure 2 Linux machines LAN with a router? Baran Linux - Networking 11 02-18-2007 06:45 AM
Linux Router w/ only one LAN Card ehegagoka Fedora 5 01-05-2006 12:36 AM
linux as router (between 3 LAN) ammaralroz Linux - Networking 3 08-17-2005 07:18 AM
Linksys Router behind a Linux LAN ysa475 Linux - Wireless Networking 0 07-05-2004 10:06 PM
ADSL Router + Linux Router + LAN = HELP!!! linuxlois Linux - General 2 09-16-2003 09:24 AM

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

All times are GMT -5. The time now is 07:46 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration