From owner-freebsd-questions@FreeBSD.ORG Sun Sep 30 04:57:32 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 F114B16A420 for ; Sun, 30 Sep 2007 04:57:31 +0000 (UTC) (envelope-from stimms@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id D175113C465 for ; Sun, 30 Sep 2007 04:57:31 +0000 (UTC) (envelope-from stimms@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so4196941waf for ; Sat, 29 Sep 2007 21:57:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=6kALxAVUmQGzJx4y680woMSNEt/y85vCuy2osdu6nBM=; b=rXhoxQJV6v7ReD/r/U0dd5vW/QyCeuNKThVTI89Pam3VhGaWYZQ/0KJDFppJf3vynfxJjZrxyTirPL3rOjeQfVojwSklXBLf9pShjcXQ/iEKQaKNYdKcIYq3egRuWolKvReeY/wJTTE+S1AV0bW8wRN+HP9Sw2nGq62VAwdyQco= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=I4z2eND2RfbeMF1mWqa0OARczxBeGuMkoaiTvm0VSzBVZvOWt9w9/ssyFwfG7JhLO+vrkpLIbudh6CqCNbqqN7TnLu7QIOIQwsabpq1UsoI4jtHBQUktcDJfbQVarEJQr1rIeIopwZTfdNeKqN6BDYtHzLsyXuaMsQfToOz+mEQ= Received: by 10.115.90.1 with SMTP id s1mr2364868wal.1191128251161; Sat, 29 Sep 2007 21:57:31 -0700 (PDT) Received: by 10.141.77.2 with HTTP; Sat, 29 Sep 2007 21:57:31 -0700 (PDT) Message-ID: <204aabdc0709292157sd144fe3q2427c4979ef9df34@mail.gmail.com> Date: Sat, 29 Sep 2007 22:57:31 -0600 From: "Simon Timms" To: "Simon Timms" , freebsd-questions@freebsd.org In-Reply-To: <20070930040018.GI19429@hal.rescomp.berkeley.edu> MIME-Version: 1.0 References: <204aabdc0709291806t67c9f31u1ab05e5cdd83f258@mail.gmail.com> <20070930020410.GG19429@hal.rescomp.berkeley.edu> <204aabdc0709292049p7f50ee47r5ec7155d338fb4c9@mail.gmail.com> <20070930040018.GI19429@hal.rescomp.berkeley.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Bridging interfaces 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: Sun, 30 Sep 2007 04:57:32 -0000 Thanks for your help Chris, I ended up rebooting the router since I wasn't sure what manner of nonsense I'd put in and everything is working. On 9/29/07, Christopher Cowart wrote: > > On Sat, Sep 29, 2007 at 09:49:36PM -0600, Simon Timms wrote: > > That makes a lot of sense, but I suppose I still don't understand why > this > > isn't working. The handbook section on routing is pretty basic and it > seems > > to come down to setting net.inet.ip.forwarding to 1 if you want to route > > packets between interfaces on a dual-homed host. I'm able to reach > hosts on > > both subnets from the router and my routing table looks like: > > > > Internet: > > Destination Gateway Flags Refs Use Netif > > Expire > > default wireless UGS 0 9905 > > sis0 > > localhost localhost UH 0 134 > > lo0 > > 192.168.1 link#1 UC 0 > 0 > > sis0 > > orinoco 00:d0:09:f8:f7:5a UHLW 1 > 268 lo0 > > 192.168.1.255 ff:ff:ff:ff:ff:ff UHLWb 1 87 > > sis0 > > 192.168.2 link#2 UC 0 0 > > rl0 > > 192.168.2.255 ff:ff:ff:ff:ff:ff UHLWb 1 87 > > rl0 > > Are your 192.168.2/24 machines configured to use 192.168.2.2 as their > default router? They don't know where 192.168.1.2 is, because they > don't see it as being on the same link. The subnet mask is used to > determine this kind of reachability. > > You could probably use 192.168.1.2 as your default router, as long as > you created a static route `route add 192.168.1/24 192.168.2.2', telling > the system that to get to 192.168.1/24, the next-hop is 192.168.2.2. > This seems needlessly complex when you can just configure 192.168.2.2 as > your default router and skip the static route configuration all > together. > > Regardless, bridging isn't going to help unless the host and the default > router have the same subnet configurations. > > -- > Chris Cowart > Lead Systems Administrator > Network & Infrastructure Services, RSSP-IT > UC Berkeley > >