From owner-freebsd-questions@FreeBSD.ORG Mon Apr 7 05:02:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C85A37B401 for ; Mon, 7 Apr 2003 05:02:22 -0700 (PDT) Received: from rambo.401.cx (rambo.401.cx [80.65.205.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C45543F85 for ; Mon, 7 Apr 2003 05:02:21 -0700 (PDT) (envelope-from listsub@401.cx) Received: from 401.cx (132.dairy.twenty4help.se [80.65.195.132]) by rambo.401.cx (8.12.9/8.12.7) with ESMTP id h37C0XMI077316; Mon, 7 Apr 2003 14:00:34 +0200 (CEST) (envelope-from listsub@401.cx) Message-ID: <3E9168C2.5060106@401.cx> Date: Mon, 07 Apr 2003 14:02:10 +0200 From: "Roger 'Rocky' Vetterberg" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Edinho References: <3E822740.3080400@netscape.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Need help on configuring a static internal IP address. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 12:02:22 -0000 Try adding a 'defaultrouter=' entry to rc.conf, that should help. You might want to check your /etc/resolv.conf to. -- R Edinho wrote: > Hello, I'm using a belkin wireless router for my home network, and I had > DHCP enabled on the belkin routher, with this all I needed was to put > this line on my /etc/rc.conf file: ifconfig_fxp0="DHCP" and I was able > to browse the internet without any problems now I decided to disable > DHCP on my belkin router and use static IP addresses for my internal > home network, I substituted ifconfig_fxp0="DHCP" with > ifconfig_fxp0="inet 192.168.2.72" but I'm not able to browse the > internet. What else do I have to add to rc.conf? > 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" > kern_securelevel_enable="NO" > moused_enable="YES" > moused_port="/dev/psm0" > moused_flags="-z 4 5" > nfs_reserved_port_only="YES" > saver="fade" > sendmail_enable="YES" > sshd_enable="YES" > usbd_enable="YES" > linux_enable="YES" > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"