On 10 Mar 2007 07:46:45 -0800, "laredotornado@zipmail.com"
<laredotornado@zipmail.com> wrote:
>I'm running a LinkSys wireless router, WRT54GS, firmware v 4.70.6. I
>want to assign a static local IP address to a Linux machine I have
>running behind the router. Is there anything I need to do on the
>router configuration side?
I'll assume that you're redirecting traffic from a specific port
number or IP service to your Linux box. There are two ways to do
this.
1. Just assign a static IP address to the Linux box. In other words,
don't use DHCP to assign the Linux box IP address. Pick this static
IP address to be OUTSIDE the DHCP range of the router (usually
192.168.1.100 thru 192.168.1.150). This is a good way for
non-portable servers.
2. Let the Linux box get its IP address via DCHP, but setup the
router to always deliver the same IP address (based on the Linux boxes
MAC address). This is called "static DHCP". The problem is that the
stock WRT54GS firmware does NOT provide for this feature.
<http://www.linksysdata.com/ui/WRT54GS/v1-v3/4.70.6/Setup.htm>
You'll need to run DD-WRT or one of the alternative firmware mutations
to get this feature. The advantage is that if your Linux box is
portable, you can leave it set for DHCP assigned IP address, and not
have to change it every time you take it somewhere.
>The local IP address of my router is
>192.168.1.1. My starting IP address in the router is 192.168.1.100 so
>I tried to assign an IP outside of that range to the Linux machine
>(192.168.1.99) using configuration commands on that machine.
So far so good. That should work.
>When I
>reconfigure my Linux machine, it no longer has internet connectivity
>and after verifying I had followed the right commands, my thoughts
>drifted to whether or not I need to configure anything on the router
>side.
It takes more than just an IP address to obtain internet connectivity
if you're going to do it manually. You need:
1. A netmask (usually 255.255.255.0)
2. Default gateway to internet (IP address of router).
3. IP addresses for DNS servers. (May be IP address of router).
--
# Jeff Liebermann 150 Felker St #D Santa Cruz CA 95060
# 831-336-2558
jeffl@comix.santa-cruz.ca.us
#
http://802.11junk.com jeffl@cruzio.com
#
http://www.LearnByDestroying.com AE6KS