From owner-freebsd-questions@FreeBSD.ORG Fri Nov 18 22:44:42 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 5279E16A41F for ; Fri, 18 Nov 2005 22:44:42 +0000 (GMT) (envelope-from iaccounts@ibctech.ca) Received: from pearl.ibctech.ca (pearl.ibctech.ca [209.167.58.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0676F43D53 for ; Fri, 18 Nov 2005 22:44:40 +0000 (GMT) (envelope-from iaccounts@ibctech.ca) Received: (qmail 61604 invoked by uid 1002); 18 Nov 2005 22:44:40 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(127.0.0.1):. Processed in 1.450328 secs); 18 Nov 2005 22:44:40 -0000 Received: from unknown (HELO webmail.ibctech.ca) (127.0.0.1) by localhost.ibctech.ca with SMTP; 18 Nov 2005 22:44:38 -0000 Received: from 64.39.177.10 (SquirrelMail authenticated user steve@ibctech.ca) by webmail.ibctech.ca with HTTP; Fri, 18 Nov 2005 17:44:38 -0500 (EST) Message-ID: <59041.64.39.177.10.1132353878.squirrel@webmail.ibctech.ca> In-Reply-To: <200511182327.50022.mtmi@o2.pl> References: <20051118214109.3477843D45@mx1.FreeBSD.org> <200511182327.50022.mtmi@o2.pl> Date: Fri, 18 Nov 2005 17:44:38 -0500 (EST) From: "Steve Bertrand" To: =?iso-8859-1?Q?Micha=C5=82_Mas=C5=82owski?= User-Agent: SquirrelMail/1.5.1 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org 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: Fri, 18 Nov 2005 22:44:42 -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's based on this, what is in the Handbook about IPv4 networks. > _______________________________________________ > 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" > >