Date: Fri, 28 Mar 1997 15:47:47 -0500 From: Mark E Larson <markl@agis.net> To: David Jokinen <gz@interlink.net>, <questions@freebsd.org> Subject: Re: how to change network config Message-ID: <3.0.32.19970328154747.00fbf3c0@agisgate.agis.net>
next in thread | raw e-mail | index | archive | help
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!" ---------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19970328154747.00fbf3c0>