From owner-freebsd-questions Tue Jan 16 14:47:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from deliver.hccnet.nl (deliver.hccnet.nl [193.172.127.77]) by hub.freebsd.org (Postfix) with ESMTP id 7F46337B400 for ; Tue, 16 Jan 2001 14:47:20 -0800 (PST) Received: from parmenides.utp.xnet by deliver.hccnet.nl via uds55-123.dial.hccnet.nl [193.173.123.55] with ESMTP id XAA23678 (8.8.8/1.13); Tue, 16 Jan 2001 23:46:31 +0100 (MET) Received: by parmenides.utp.xnet (Postfix, from userid 1005) id E8AFA142; Tue, 16 Jan 2001 23:45:55 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by parmenides.utp.xnet (Postfix) with ESMTP id A456D131; Tue, 16 Jan 2001 23:45:55 +0100 (CET) Date: Tue, 16 Jan 2001 23:45:55 +0100 (CET) From: Janko van Roosmalen X-Sender: acs@parmenides.utp.xnet To: "Yaroslav K." Cc: freebsd-questions@FreeBSD.org Subject: Re: your mail In-Reply-To: <005c01c07fa7$1e932680$07c469c2@actor.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 16 Jan 2001, Yaroslav K. wrote: > Hi! I have FreeBSD 4.1. > Please, help me with the following: > I have to setup network to be connected to the internet > I am connected directly with the help of netcard to the gateway. > Say my address is 1.2.3.4.7 1.2.3.7 > Gateway is 1.2.3.4.8 1.2.3.8 > > What should i do to get connected to the internet. At the command prompt: route add default 1.2.3.8 or add in your /etc/rc.conf file: static_routes = "default" route_default = "1.2.3.8" so the default route will be set up at boot time. (Assuming this is the same under 4.1 as it is under 3.5-stable) ===Janko van Roosmalen - Vught - Netherlands=== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message