From owner-freebsd-questions@FreeBSD.ORG Wed Aug 1 13:04:08 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22A1016A419 for ; Wed, 1 Aug 2007 13:04:08 +0000 (UTC) (envelope-from deeptech71@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id AAABE13C483 for ; Wed, 1 Aug 2007 13:04:07 +0000 (UTC) (envelope-from deeptech71@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so56482nfb for ; Wed, 01 Aug 2007 06:04:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=ijRQtXy7/O20/PZAK1i++XrBEjk74lFGZM/xNjCi8uUixcUBhVImnMvd8yifo5Da99x3NSjACyaIFSzATCCwn29MXMLPLI2IbSiJrOuEyzyqb2orCq4j0jn1RJdbUbXE+GtfSB1xJ6BVwCgrxyG2/Ii0YNyyHkyIDnsmSMPJItc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=J3m7dUPvohDJtABDOV9TVicOPL7sidXDZ4WBr4ePlqKqjVpg9q6jUGEZxF4y+N8BP/t0oLoonYiMgQooGFsxtFuKSNYhZbhTLZc400T9Wixd4x5I4dP62O3h/5YGCJoQOXI/TDCvDmjTRZ3iyvKNkvQEFUDTjgEqIcRHI6MvmBs= Received: by 10.86.51.2 with SMTP id y2mr551240fgy.1185973446340; Wed, 01 Aug 2007 06:04:06 -0700 (PDT) Received: from ?192.168.123.111? ( [84.0.103.87]) by mx.google.com with ESMTPS id a37sm1445496fkc.2007.08.01.06.04.05 (version=SSLv3 cipher=RC4-MD5); Wed, 01 Aug 2007 06:04:05 -0700 (PDT) Message-ID: <46B084C6.1000806@gmail.com> Date: Wed, 01 Aug 2007 15:04:06 +0200 From: deeptech71@gmail.com User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <46B07A29.8000304@gmail.com> <46B0807F.4060004@infracaninophile.co.uk> In-Reply-To: <46B0807F.4060004@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: help, i'm setting up a router 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: Wed, 01 Aug 2007 13:04:08 -0000 Matthew Seaman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > deeptech71@gmail.com wrote: > >> I'm making a FreeBSD router with ppp and telnet access to it (currently >> part of a network with a hardware router). When I have 1 NIC in the >> FreeBSD machine (rl0), telnet works fine. Then I add another NIC (ed0). >> Telnet still works. rc.conf: >> >> ipconfig_rl0="inet 192.168.123.251 netmask 255.255.255.0" >> #ipconfig_ed0="inet 192.168.123.251 netmask 255.255.255.0" >> hostname="qw.erty.com" >> defaultrouter="192.168.123.254" >> inetd_enable="YES" >> gateway_enable="YES" > > Routers forward packets between different IP networks. Or in other > words, the IP numbers on the different interfaces on your router > should not just be different -- they should come from completely > different subnets too. > > I think that the keyword for you is 'bridging'. There's a whole > article about it here: > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/filtering-bridges/article.html > > plus Google will turn up plenty more. > > Cheers, > > Matthew > > - -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.4 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFGsIB+8Mjk52CukIwRCHKvAKCRoefdQXWsR+f3GDhvmau5+aBs5ACfViIl > ou/2rQONQsxnEdOZk/AtuEA= > =aq1G > -----END PGP SIGNATURE----- > Yes that would be the correct word. My net is 192.168.123.0/24, the hardware router connected to the modem is 192.168.123.254, and I was trying to be connected through the FreeBSD box. Then later do this: Internet---ADSL_modem---FreeBSD---Other_PCs That is still called bridging, yes? Thx for the info, i'll try this and see how it turns out.