From owner-freebsd-net@FreeBSD.ORG Sun Aug 3 13:57:16 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFFFE37B401 for ; Sun, 3 Aug 2003 13:57:16 -0700 (PDT) Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0414F43F93 for ; Sun, 3 Aug 2003 13:57:16 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from earl.sasknow.net (earl.sasknow.net [207.195.92.130]) by ren.sasknow.com (8.12.6p2/8.12.6) with ESMTP id h73KvFvT078060; Sun, 3 Aug 2003 14:57:15 -0600 (CST) (envelope-from ryan@sasknow.com) Received: from ren (ren.sasknow.com [207.195.92.131]) by earl.sasknow.net (8.12.6p2/8.12.6) with ESMTP id h73KvENn069880; Sun, 3 Aug 2003 14:57:14 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Sun, 3 Aug 2003 14:57:14 -0600 (CST) From: Ryan Thompson To: Chuck Swiger In-Reply-To: <3F2D646F.7020500@mac.com> Message-ID: <20030803144559.V62366-100000@ren.sasknow.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Audit: Email processed by earl.sasknow.com filter X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang) cc: freebsd-net@freebsd.org cc: Nick Subject: Re: Changing out network card X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2003 20:57:17 -0000 Chuck Swiger wrote to Nick: > Nick wrote: > > I have a server running DHCPD, FTP, DNS (namedb), and OpenSSH. My > > current network card is a 3Com 10mbit. I want to change it out for > > another network card, but make it a 3com 100mbit. Am I going to > > have to reconfigure my DHCP, DNS and OpenSSH to use this new > > interface, or is there another way of getting around all of that? > > Services usually care about IP addresses, not interface names. You > will need to change the interface name in /etc/rc.conf, but that > should be it. Actually, dhcpd cares about interfaces, too.. as does natd, if you're running that. See dhcpd_interface in /usr/local/etc/rc.isc-dhcpd.conf, and the "interface" parameter for natd, which could be in /etc/rc.conf as natd_interface, or passed manually in /etc/rc.conf natd_flags, or perhaps buried in a configuration file specified with the -f parameter to natd. Also, you might want to try this as root: grep -IR if0 /etc /usr/local/etc Where if0 is the name of your current interface. For most systems, that should catch just about everything.. but it'd be better to maintain a list of places where you've had to enter your interface. - Ryan -- Ryan Thompson SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America