Re: Some Questions about setting up a 9.3 box as a router

From: John Bowling (johnlb2002_at_cox.net)
Date: 06/17/05


Date: Fri, 17 Jun 2005 13:00:27 -0700

Arthur Hagen wrote:
> John Mullen <jpmullen@hotmail.com> wrote:
>
>>I have successfully setup a SuSE 9.3 machine on my network to replace
>>my Linksys router using DHCP. I am very happy with it, however I have
>>two questions.
>>
>>1) How do I get the nameservers for my LAN to update automatically
>>using the ones that are automatically updated to the external
>>interface by my ISP?
>>
>>The DHCP server I set up is assigning IP addresses from the internal
>>interface but how can I grab nameserver information from the external
>>interface. The "DHCP Server -- Global "Settings do not give an option
>>for pulling any namesever infomation from anywhere. There is a
>>"Primary Name Server IP" and a "Secondary Name Server IP". If I leave
>>them blank, then no nameserver information is distributed via DHCP
>>across my LAN. If I put something in there then they will not change
>>when my ISP changes them on the external interface. Can someone
>>explain how to have the nameserver information automatically updated
>>on the internal interface to match what is assigned to the external
>>interface by my ISP?
>
>
> Simple answer: You can't.
>
> In dhcpd.conf (or a config file included by dhcpd.conf), the name
> servers are set using:
>
> option domain-name-servers server1, server2, server3;
>
> The only easy way to change this is to run a script that checks the name
> servers and replaces them in the config file and then bounces dhcpd. If
> you know scripting, it's trivial, if not, it's near impossible.
>
> A better way is to set up your own name server on your lan. (If you do
> that, you can even get dhcpd to automatically update your local name
> server with the hostnames and leased IPs of the connected machines.)
>
> Regards,

I know Linksys has used embedded Linux in some of their routers that
connect to cable/dsl modems and that feature is in them. They also have
a procedure to update the flash ram and you can save the existing one to
a file. Perhaps it could be reverse engineered to find out how they did it.

John



Relevant Pages

  • Re: Unable to obtain a server assigned IP address
    ... I see that I can still get an address from the DHCP server on ... What about the DHCP registry flag per question below? ... In the connections panel three adapters are listed: ... this seems to be the interface that it is ...
    (microsoft.public.pocketpc.activesync)
  • Re: Some Questions about setting up a 9.3 box as a router
    ... > my Linksys router using DHCP. ... > interface but how can I grab nameserver information from the external ... then no nameserver information is distributed via DHCP ... A better way is to set up your own name server on your lan. ...
    (alt.os.linux.suse)
  • Re: Bridging wifi to ethernet
    ... interface over to my eth0 interface so I can hook in all the ... wired ethernet users to get access to the WIFI networks DHCP server? ... The magic part I don't know how to do is "route and NAT". ...
    (Fedora)
  • Re: DHCP and DNS issues
    ... Thanks on how to get rid of the old interface. ... >> I uninstall and reinstalled the DHCP server, set it up and activated it. ...
    (microsoft.public.win2000.networking)
  • Re: What doesnt lend itself to OO?
    ... The whole idea that a subsystem is just ... > The first line exists in the server. ... objects between client and server i.e. as far as the client code is ... > external interface is the traditional input interface whose ...
    (comp.object)