From owner-freebsd-questions@FreeBSD.ORG Sat Nov 19 10:58:22 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 CB35016A41F for ; Sat, 19 Nov 2005 10:58:22 +0000 (GMT) (envelope-from mtmi@o2.pl) Received: from poczta.o2.pl (mx.go2.pl [193.17.41.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6083043D46 for ; Sat, 19 Nov 2005 10:58:22 +0000 (GMT) (envelope-from mtmi@o2.pl) Received: from [10.50.93.21] (unregister185207219081.c207.msk.pl [81.219.207.185]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by poczta.o2.pl (Postfix) with ESMTP id DB7311378AC for ; Sat, 19 Nov 2005 11:58:20 +0100 (CET) From: =?utf-8?q?Micha=C5=82_Mas=C5=82owski?= To: freebsd-questions@freebsd.org Date: Sat, 19 Nov 2005 11:58:18 +0100 User-Agent: KMail/1.8.3 References: <20051118214109.3477843D45@mx1.FreeBSD.org> <200511182327.50022.mtmi@o2.pl> <59041.64.39.177.10.1132353878.squirrel@webmail.ibctech.ca> In-Reply-To: <59041.64.39.177.10.1132353878.squirrel@webmail.ibctech.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511191158.19091.mtmi@o2.pl> Subject: Re: Network configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2005 10:58:22 -0000 > >> - you are NOT trying to get the second PC on the Internet > > > > No, I'm not. The agreement with my ISP doesn't allow to connect more > > than one computer to the WAN. > > LOL ;) I won't condone going against their rules, but that is what NAT > is for... > > > Part of my network's configuration is not in /etc/rc.conf . I have > > there only ifconfig_rl0="DHCP" to connect to the Internet. I used > > these commands to configure the LAN: > > #ifconfig rl0 alias 192.168.0.1 > > 192.168.0.2 > > How about: > > # ifconfig rl0 alias 192.168.0.1/24 > > I can't remember if /24 will work, if it doesn't: > > # ifconfig rl0 alias 192.168.0.1 255.255.255.0 > > > On the second PC: > > #ifconfig fxp0 192.168.0.2 192.168.0.1 > > and: > > # ifconfig fxp0 192.168.0.2/24 > > ...should get you at minimum to see each other. > > ie: from 2nd pc: > > # ping 192.168.0.1 > > ...now about that 2 pc's on the Internet thing. I think *almost* all > ISP's who offer highspeed say that. > > Steve > It works without packet loss. Thank for your advice.