[CentOS] Attaching LinkSys WRT54GL to CentOS machine

Mon Apr 25 01:12:42 UTC 2011
Robert Heller <heller at deepsoft.com>

At Mon, 25 Apr 2011 09:10:36 +1000 CentOS mailing list <centos at centos.org> wrote:

> 
>   On 25/04/11 04:15, Timothy Murphy wrote:
> > Do you have a LinkSys router with an IP address other than 192.168.1.1 ,
> > or even better with an address other than 192.168.1.* ?
> > If you have, could you tell me _how_ you did it, please.
> > I don't really care _why_ you did it.
> >
> > The instructions on the router only explain
> > how to set it up (with address 192.168.1.1)
> > attached directly to an ADSL modem.
> > I could do that, but I don't want to ...
> >
> 
> The reason you might want to stick with the 192.168.1.* IP address is 
> because when you have a need to reset to factory defaults, you'll find 
> it takes some extra steps to reconnect to it (can be done by adding a 
> slave IP address to the NIC attached to your AP; ip addr add 
> 192.168.1.x/24 dev ethx) to reconfigure.  In my case, I simply changed 
> my internal network to suit the Linksys and never looked back.

My laptop is setup to use DHCP on either its hard Ethernet or wireless.
Jacking in a spare Cat5 cable would work for me if/when I need to
reconfigure a factory reset router.

> 
> I have my set up as follows:
> 
> (Pardon my ASCII art if it fails to render properly once I hit send)
> 
> ------------    -----------------    ----------------    -----------------
> | Internet |----| 5-port switch |----| CentOS 5 Box |----| 8-port switch |
> ------------    -----------------    ----------------    -----------------
>                                                             |
>                                                             V
> <<<----------------------------------------------------<<<
> |
> V     ----------------
>  >>>--|Linksys WRT54G|
>        ----------------
> 
> My internal devices (192.168.1.x/24) are attached to the 8-port switch. 
> I use only 2-ports on the 5 port switch to connect the ADSL modem to the 
> server.  All DHCP, DNS, Firewalling, is done on the CentOS box.  I know 
> most will cringe on the next few words, but I happen to like the way it 
> is setup.  On the ADSL modem, I've set the CentOS box as the DMZ so that 
> I can control all Nating on the server.  It has not failed me for the 
> last 6 years I've been doing this.  The key is to have a deny,allow 
> firewall policy - meaning the policy on all chains is DROP, then I 
> puunch the holes I need.
> 
> Hopefully not too much verbiage.
> 
> Cheers,
> Ak.
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                                         

-- 
Robert Heller             -- 978-544-6933 / heller at deepsoft.com
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments