Date: Mon, 28 Jul 2008 13:35:55 +0530 From: Subhro <subhro.kar@gmail.com> To: "Manolis Kiagias" <sonic2000gr@gmail.com> Cc: Svein Halvor Halvorsen <svein.h@lvor.halvorsen.cc>, questions@freebsd.org Subject: Re: Network, routers, DHCP and PXE Message-ID: <b2807d040807280105o531be87awa5dba3b408af65a6@mail.gmail.com> In-Reply-To: <488D79C3.6070000@gmail.com> References: <488D72BF.80205@lvor.halvorsen.cc> <488D79C3.6070000@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Just to add to that suggestion, if you have a separate DHCP server, make sure your router works as a DHCP client for the internal network as well. You should be able to do that by telnetting into the management port. You may use a serial cable as well. This is required in order to get the NAT working properly. Thanks Subhro On Mon, Jul 28, 2008 at 1:18 PM, Manolis Kiagias <sonic2000gr@gmail.com> wrote: > Svein Halvor Halvorsen wrote: >> >> Hi, list! >> >> >> I have a private home network, on an ADSL2+ connection to the >> internet. The home network is behind NAT, all automatically set up >> by the router/dhcp server/wlan access point/adsl modem that I got >> from my ISP. It's a Thomson SpeedTouch 585 router. >> >> Now, on this network, most of the computers get their IP by means of >> DHCP. Except our home audio server, which have a hard coded ip >> address in rc.conf, set to something within the range of the dhcp >> server (10.0.0.2-10.0.0.253). The server seems to pick this up, and >> don't give that address away to someone else. >> > > You may also want to ensure that the router will never allocate your static > IP address to someone else. > Look at the DHCP router settings either for DHCP scope (set it to narrower > values, and use a static IP outside the range) or for something like > exceptions / exclusion where you can mark a specific IP that DHCP will never > assign. >> >> I've tried using other addresses outside this range, like 10.0.1.1, >> but that doesn't work. All network access is lost when I do that. >> > > 10.0.1.1 is a different network (I assume your netmask is 255.255.255.0, but > check your router or your clients) > >> Now, on my local network I'd like to put a diskless machine. As I >> understand it, my DHCP server needs to tell the client about the >> "filename" and a "next-server" to use. I don't think I can setup the >> Thomson router to do this. All the instruction I can find online >> advises me to install a DHCP server on the same machine that serves >> the pxe boot image. But if I do that, I'll get two DHCP servers on >> my local network. Is that ok? Will there be a race condition, when a >> client asks for an IP address? >> > > You will have to shutdown the router's DHCP. Probably disable it permanently > and assign this function to a machine. > The DHCP of the router also sends you the following information (besides IP > address): > > - DNS Server(s): Either the ones used by your ISP (consult its website) or > its own address (i.e. 10.0.0.1). Most routers send their own address as a > DNS server and perform the resolution by sending your request to ISP > servers. > - Gateway address: This is always the router's local IP address (i.e. > 10.0.0.1) > > If you setup your own DHCP server, make sure it is set to send this info as > well. (These are commonly known as DHCP options) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Subhro Kar Software Engineer Dynamic Digital Technologies Pvt. Ltd. EPY-3, Sector: V Salt Lake City 700091 India
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b2807d040807280105o531be87awa5dba3b408af65a6>