Hi All, I have a linksys router that is acting as a dhcp server. The last firmware upgrade has change the lease time options to allow a lease to expire between 1-99999 minutes. Occasionally one of my boxes gets assigned a different IP address which invalidates the port forwarding rules. I would prefer to use static IP's but I am depending on my isp (verizon dsl) provider for their dns servers and they serve me with a dynamic address which changes reqularly. My initial thought is to write a script that checks the IP of my box and if it has changed, use links to update the port forwarding rules on the router by sending the appropriate URL to the router. Any other solutions, workarounds, hints or feedback are welcome. thanks, Mike
Can you not assign static IPs to each box on your local LAN and config the Linksys router as a DHCP client but not as a server? On Fri, 01 Aug 2003 18:31:14 -0400 "Michael Long" <mlong@datalong.com> wrote:
Hi All,
I have a linksys router that is acting as a dhcp server. The last firmware upgrade has change the lease time options to allow a lease to expire between 1-99999 minutes. Occasionally one of my boxes gets assigned a different IP address which invalidates the port forwarding rules. I would prefer to use static IP's but I am depending on my isp (verizon dsl) provider for their dns servers and they serve me with a dynamic address which changes reqularly.
My initial thought is to write a script that checks the IP of my box and if it has changed, use links to update the port forwarding rules on the router by sending the appropriate URL to the router. Any other solutions, workarounds, hints or feedback are welcome.
thanks, Mike
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
If you statically configure your client, can you not use the Linksys as the DNS address? Maybe the Linksys can act as a DNS Forwarder, forwarding all requests to your ISP's DNS servers. On Fri, Aug 01, 2003 at 06:31:14PM -0400, Michael Long wrote: mlong> rules. I would prefer to use static IP's but I am depending on my isp mlong> (verizon dsl) provider for their dns servers and they serve me with a mlong> dynamic address which changes reqularly. -- Charles R. Anderson <cra@wpi.edu> / http://angus.ind.wpi.edu/~cra/ PGP Key ID: 49BB5886 Fingerprint: EBA3 A106 7C93 FA07 8E15 3AC2 C367 A0F9 49BB 5886
Sorry for the off posts .. I have 2 clients w/ 2 configs.
What I think you need to do is the following... Check the DHCP range that your router is serving: 192.168.1.100 - 192.168.1.254 (on my Router/Accesspoint also linksys) This info can be found on the DHCP tab of the routers web interface. This means you can safely assign address 2-99 statically on your LAN. Assuming you have not changed the internal ip of the router which is 192.168.1.1. If you assigned your server 192.168.1.1 you would have an address conflict. Give the other box with the service you want to expose on of these free address 192.168.1.10 will due. Then check the status page on the router to determine the external DNS servers and add those to /etc/resolve.conf Im not sure of you distribution but somewhere you need to set the default gateway for the server. On my wireless net the gw is 192.168.1.1 again its a linksys and should be the same. If you want to make sure run the route command. It will list your default gateway. Finally update your forwarding rules to reflect your clients new static ip. DONE! Note you should be able to access your current verizon DNS servers no mater what ip they give you. I had version and a similar config worked for me. If for some reason you cannot access those DNS servers you could run a caching name server on you LAN to provide DNS. That could be a cool Linux project to. On Fri, 2003-08-01 at 22:20, Charles R. Anderson wrote:
If you statically configure your client, can you not use the Linksys as the DNS address? Maybe the Linksys can act as a DNS Forwarder, forwarding all requests to your ISP's DNS servers.
On Fri, Aug 01, 2003 at 06:31:14PM -0400, Michael Long wrote: mlong> rules. I would prefer to use static IP's but I am depending on my isp mlong> (verizon dsl) provider for their dns servers and they serve me with a mlong> dynamic address which changes reqularly.
participants (4)
-
Charles R. Anderson
-
Clint Moyer
-
Matt Higgins
-
Michael Long