From owner-freebsd-questions Mon Feb 18 8:35:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tartarus.telenet-ops.be (tartarus.telenet-ops.be [195.130.132.34]) by hub.freebsd.org (Postfix) with ESMTP id A181037B402 for ; Mon, 18 Feb 2002 08:35:16 -0800 (PST) Received: from f0e3u5 (D5E0D531.kabel.telenet.be [213.224.213.49]) by tartarus.telenet-ops.be (Postfix) with SMTP id 8F493218400 for ; Mon, 18 Feb 2002 17:35:15 +0100 (CET) Message-ID: <000f01c1b89a$59104f40$3201a8c0@pandora.be> From: "a064983" To: Subject: use the subject: DHCP or static? Date: Mon, 18 Feb 2002 17:35:59 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Message: Hi, I have been trying to install FreeBSD for the first time and am having some difficulties setting up my cable connection. I have a Linksys ethernetfast dsl/cable router which is setup for DHCP. My windows machine is connected to it as a DHCP client and seems to work fine. What I would like to do is connect my FreeBSD box not as a DHCP client but assign a "static" ip such as 192.168.1.5 which the router allows you to do. So in rc.conf I have: ifconfig_vr0 = "inet 192.168.1.5 netmask 255.255.255.0" defaultrouter = "192.168.1.1" This is same setup a friend of mine in the US--I'm from Belgium--has and it works fine (though he runs his own nameserver.) The problem I'm having is that I'm getting host lookup failures. If I look in my router's status I can see that it has found two nameservers. Do these need to be in resolv.conf as well or should lookups simply be passed to the router which will forward them apprpriately? Finally, what should I specify as a hostname in rc.conf with a DHCP connection and how should this appear in /etc/hosts? Thanks for you help, Eddy Houthuys To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message