LinuxQuestions.org
Help answer threads with 0 replies.
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 12-22-2010, 12:14 AM   #1
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Adding wireless router to an existing network


I have an existing network that connects to the 'net via a Linux-based firewall. That system has two ethernet interfaces: one to the DSL modem and the other to the internal switch. Future plans were for adding a second "internal" interface with the idea of moving servers into that (think DMZ). But while I was planning for that, the missus has decided she wants to pick up a Windows laptop and would like to be able to use it wirelessly at home. I have access to a (free!) Netgear WGR614L and was hoping it would work. Unfortunately, I'm unsure how to add the wireless capability to our network.

Questions:
  • Is it best -- or even possible -- to use one the wireless router for this?
  • Is it possible to merely hang the Netgear router off the internal switch and set it up for the wireless users? Or...
  • Would I need to add another ethernet interface to the firewall and hang the router off that? The address of this new interface would act as the default route for the wireless users. Then I'd need to (I assume) add more rules to the iptables configuration to deal with the new network. (I sort of like this option -- it it's actually feasible -- as I can easily shut down any wireless access by logging into the firewall and stopping the interface connecting the wireless router.)

I've taken a look at the setup guide on the CD that came with the router and it assumes that you have a modem connecting your PC to the internet. The instructions have you placing the wireless router between the modem and that PC. For our network, that would have the wireless access coming into the "dirty" side of the firewall. (Not what I would like.)

Sorry if this seems a little vague but I just started thinking about this today (after being offered the router) and I'm obviously in early, early planning stages. Any suggestions, warnings, potential pitfalls, etc. are most welcome.

TIA

--
Rick
 
Old 12-22-2010, 05:43 AM   #2
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 153

Rep: Reputation: 27
yes it's possible
you can add an eth nic to the linux-based firewall and connect it to the netgar and the play with the routing ,that's all you need to do.

oOr better yet, you can use the router to manage the internet connection and connect the linux-firewall to it.and then connect you machines to the firewall,and create a DMZ zone to protect your servers!

i thing this the best and secure solution,especially if you're using IPCOP,it works great
 
Old 12-22-2010, 06:06 AM   #3
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
You could use almost any wifi router to do that what you want.

If you have a broadband router with out wifi and you want to connect an another one with wifi that will work.
You should do few things. Switch off the firewall on the wifi router(sencond router).
Switch off the DHCP server on the wifi router(second router).

I've got a setup just like this one.

The first router is a Sitecom broadband soho router with out wifi. Built in 4 port switch and dhcp server and firewall.
The second one is an adsl modem with wifi and the usual staff in it. (one adsl phone connector and 4 switch port)

I switched off the dhcp and the firewall and plugged into the main router's switch.
The first and the second router connected with a UTP cat5 cable through the switch ports.
Both router have switch ports 4 and 4. You could use any of the switch ports it does not matter it will work.

The main router allocate the IP addresses from there own DHCP server for the wifi adsl router. (via cable)
And the wifi clients can connect to the network just like the wireless is part of the network.
The second router behave like a switch and wifi "expander" for the LAN.
Of course the wifi must be setup on the second router to work properly.

The firewall and security managed by the main router.


Internet ==>> Broadband Router/4 port switch ==>> second router with wifi and 4 port switch ==>> wireless clients.

Basically you expand the network with an another switch with a wifi interface on it.

If it does not work let us know.

Laz.
 
Old 12-22-2010, 06:11 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello rnturn,

you can add your Netgear as a simple wireless-accesspoint to your existing net, look here: http://www.myopenrouter.com/article/...-Access-Point/

You may connect the Netgear device to the net like any other computer. The IP-configuration for the wireless clients comes via DHCP from your router like in the wired network. Gateway and other IP-settings remain the same in the wireless network.

Be sure to disable DHCP on the Netgear! The Netgear device in this case does not act as a DHCP-server and not as a router.

Markus
 
Old 12-30-2010, 09:27 PM   #5
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Thanks for the tips.

Hey, thanks for the quick responses. (Quicker than this reply, anyway.) I was hoping to know -- within a couple of days -- whether the Netgear router would work or whether I'd return to the guy who gave it to me (and maybe he'd find someone else who could use it). LQ's experts come through again.

I'm thinking that a combination of the tips that you all posted will wind up being part of how I get the wireless access set up.
The toughest part will be the iptables changes. I'll be researching that next.

Again, thanks.

--
Rick
 
  


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
Adding new Linux firewall/router on network with pre-existing gateway/router grittyminder Linux - Networking 4 08-13-2008 02:17 AM
Adding site blocking to an existing network rdgreenlaw Linux - Networking 1 05-31-2007 03:20 AM
adding second router to existing network crnchyfrog Linux - Networking 2 06-06-2005 08:19 PM
Adding linux box (wireless) to existing home network drwatts Linux - Wireless Networking 4 12-21-2003 03:31 PM
Setting up a router on existing network MRK Linux - Networking 3 12-09-2003 06:42 PM

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

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