Re: Some Questions about setting up a 9.3 box as a router
From: John Bowling (johnlb2002_at_cox.net)
Date: 06/17/05
- Next message: sree: "Re: usb boot"
- Previous message: James Knott: "Re: Student 9.3 versus Pro 9.3 - What is the difference?"
- In reply to: Arthur Hagen: "Re: Some Questions about setting up a 9.3 box as a router"
- Next in thread: Arthur Hagen: "Re: Some Questions about setting up a 9.3 box as a router"
- Reply: Arthur Hagen: "Re: Some Questions about setting up a 9.3 box as a router"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: sree: "Re: usb boot"
- Previous message: James Knott: "Re: Student 9.3 versus Pro 9.3 - What is the difference?"
- In reply to: Arthur Hagen: "Re: Some Questions about setting up a 9.3 box as a router"
- Next in thread: Arthur Hagen: "Re: Some Questions about setting up a 9.3 box as a router"
- Reply: Arthur Hagen: "Re: Some Questions about setting up a 9.3 box as a router"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|