From owner-freebsd-questions Fri Mar 28 12:48:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA02689 for questions-outgoing; Fri, 28 Mar 1997 12:48:59 -0800 (PST) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id MAA02683 for ; Fri, 28 Mar 1997 12:48:57 -0800 (PST) Received: from agisgate.agis.net by agora.rdrop.com with smtp (Smail3.1.29.1 #17) id m0wAiZw-0008z3C; Fri, 28 Mar 97 12:48 PST Received: from radio (ops1.agis.net [205.137.48.54]) by agisgate.agis.net (8.8.5/8.7.3) with SMTP id PAA26386; Fri, 28 Mar 1997 15:49:10 -0500 (EST) Message-Id: <3.0.32.19970328154747.00fbf3c0@agisgate.agis.net> X-Sender: markl@agisgate.agis.net X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Fri, 28 Mar 1997 15:47:47 -0500 To: David Jokinen , From: Mark E Larson Subject: Re: how to change network config Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk You will need to edit /etc/sysconfig and /etc/hosts changing the ip addresses. In /etc/sysconfig there will be ifconfig statements such as network_interfaces="de0 de1 lo0" ifconfig_de0="inet 192.168.100.6 netmask 255.255.255.0" ifconfig_de1="inet 192.168.69.14 netmask 255.255.255.0" Also your default router # Set to the host you'd like set as your default router, or NO for none. # This is the same as adding a ``default'' entry to static_routes. defaultrouter="205.137.48.81" And the name of the server hostname="news1.dearborn.agis.net" In FreeBSD 2.1.x you also have to change the /etc/hosts file Which is self explanatory. You will need to reboot after you save your changes. Good Luck Markl At 02:21 PM 3/28/97 -0500, David Jokinen wrote: >I'm new to both FreeBSD and UNIX. I had no trouble with the initial >installation, but now I've moved the box to another network, so I need to >simply change my IP address, gateway and DNS settings. What's the >simplest way to do this? Will I need to reboot after, and if so, what's >the safest way to reboot? Thanks. > >--David > > ################################################################### A P E X G L O B A L I N F O R M A T I O N S E R V I C E S ################################################################### Network Operations Center 313-730-5151 noc@agis.net News Administration 313-730-5151 news@agis.net Business Office/Sales 313-730-1130 sales@agis.net Visit our Web Page: http://www.agis.net Network News Information: http://agisgate.agis.net/netnews/netnews.htm --------------------------------------------------------------------- "Don't throw a HSSI...and drop that ethernet!" ---------------------------------------------------------------------