Date: Wed, 26 Mar 2003 16:44:03 -0600 From: David Kelly <dkelly@hiwaay.net> To: Edinho <edinho64@netscape.net> Cc: freebsd-questions@freebsd.org Subject: Re: Need help on configuring a static internal IP address. Message-ID: <20030326224403.GA76676@grumpy.dyndns.org> In-Reply-To: <3E822740.3080400@netscape.net> References: <3E822740.3080400@netscape.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 26, 2003 at 05:18:40PM -0500, Edinho wrote: [...] > I'm using FBSD4.8 stable, my belkin router uses 192.168.2.1, subnet mask > is 255.255.255.0 and the gateway is also 192.168.2.1. > > Here's how my rc.conf looks like now: > > hostname="ecerejo.Belkin" > ifconfig_fxp0="inet 192.168.2.72" Change ifconfig_fxp0 and add defaultrouter: ifconfig_fxp0="inet 192.168.2.72/24" defaultrouter="192.168.2.1" Quickie without reboot, type this as root: ifconfig fxp0 netmask 255.255.255.0 route add default 192.168.2.1 FYI: /etc/resolv.conf was written by dhclient for you. Otherwise you would have to create it and list your upstream DNS serivce. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030326224403.GA76676>