From owner-freebsd-questions@FreeBSD.ORG Sat Aug 2 17:35:21 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C047887 for ; Sat, 2 Aug 2014 17:35:21 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BFC502988 for ; Sat, 2 Aug 2014 17:35:19 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XDdD3-0005dF-OD for freebsd-questions@freebsd.org; Sat, 02 Aug 2014 19:35:09 +0200 Received: from pool-173-79-82-127.washdc.fios.verizon.net ([173.79.82.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Aug 2014 19:35:09 +0200 Received: from nightrecon by pool-173-79-82-127.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Aug 2014 19:35:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: switch to DCHP from static ip Date: Sat, 02 Aug 2014 13:34:54 -0400 Lines: 71 Message-ID: References: <53DC43AA.8080509@hdk5.net> <53DC4D2D.8010501@hdk5.net> <20140802080340.GA18971@slackbox.erewhon.home> Reply-To: nightrecon@hotmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-82-127.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2014 17:35:21 -0000 Roland Smith wrote: > On Fri, Aug 01, 2014 at 04:30:05PM -1000, al plant wrote: >> Warren Block wrote: >> > On Fri, 1 Aug 2014, al plant wrote: >> > >> >> Aloha, >> >> >> >> The Telcom here in Honolulu has brought in FiberOptic lines in my >> >> neighborhood since the old copper was really bad speed. Cost was >> >> reduced and speed is now excellent. >> >> >> >> I need a how-to for moving an APSfilter print server on my static IP >> >> lan to working with a DHCP network. The Telcom installed a PACE >> >> wireless and told me I can add as many computers as I need using a >> >> Netgear Gigabit switch. >> >> >> >> I have installed one desktop on the switch and it has worked fine so >> >> far. >> >> >> >> I never ised DHCP befor so any help would be appreciated. >> >> >> >> /etc/rc.conf >> >> ------------- >> >> lpd_enable="YES" >> >> FreeBSD 8.* hostname="mano.intra.net" >> >> ifconfig-re0="192.168.1.50 netmask 255.255.255.0" >> >> >> >> -------------- >> >> For desktop I used > >> >> ifconfig-re0="DHCP" to replace IP address. I seems to find the >> >> network fine. Now I cant find any information about putting a print >> >> server on the lan. >> > > >> > Summary: continue to use a static IP address for the print server. >> > Just make sure that address is inside the same netblock as the DHCP >> > addresses, but preferably outside the range of dynamic addresses. [snip] >> > >> > > >> The PACE box is on 192.168.200.1. >> >> I will check with Hawaii telcom for instructions on this unit. The mfg's >> website is very unhelpful. >> > > Home routers generally have a web server running on their internal > network. You can use it to check and change (parts of) the configuration > such as DHCP. So try pointing your browser to 192.168.200.1. More often > than not the default login name / password combination is admin / admin. > > Roland I have my fbsd gateway box set for a static IP so I can configure it on the router as the "DMZ" machine, which is orthogonal to the print server thing. In order to get the IP in the same network I alter the DHCP scope in the router. Once in the router web config, look for the section that configures the DHCP server and there will be a starting address such as 192.168.200.2 and an ending address usually like 192.168.200.254. The 192.168.200.1 is reserved for the router itself. Notice it is already outside the DHCP scope. Simply increment the scope start address up one to 192.168.200.3 and you will have freed an IP in the same network for use with a static IP. Of course, adjust example for what matches the IP ranges in use by the router, for example many are on 192.168.1.1 so instead of my DHCP scope beginning at 192.168.1.2 I changed it to begin at 192.168.1.3, allowing 192.168.1.2 to be used as a static IP on the WAN-facing nic in my gateway machine. -Mike