From owner-freebsd-net Mon Sep 2 18:25:26 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FC3537B400 for ; Mon, 2 Sep 2002 18:25:23 -0700 (PDT) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA11F43E3B for ; Mon, 2 Sep 2002 18:25:20 -0700 (PDT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.2) with SMTP id LAA26823; Tue, 3 Sep 2002 11:24:51 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 3 Sep 2002 11:24:51 +1000 (EST) From: Ian Smith To: Gene Bomgardner Cc: FreeBSD-net@FreeBSD.ORG Subject: Re: Gateway not passing packets between interfaces In-Reply-To: <3D7381C0.18427.BE1BB0B@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 2 Sep 2002, Gene Bomgardner wrote: > [ FreeBSD Box] > LAN --> [dc0 <-----> rl0] --> DSL router/modem > > dc0 serves subnet 192.168.123 > rl0 serves subnet 192.168.1 [..] > net.inet.ip.forwarding is set to "1" > > >From /etc/rc.conf: > ----------------------- > > defaultrouter="192.168.1.1" > hostname="brightstar.ath.cx" > ifconfig_rl0="inet 192.168.1.2 netmask 255.255.255.252" A two-host subnet, with a broadcast address of 192.168.1.3 is it not? > ifconfig_dc0="inet 192.168.123.8 netmask 255.255.255.0" Looks ok from here. [..] > dc0: > flags=8843 > mtu 1500 > inet 192.168.123.8 netmask 0xffffff00 broadcast 192.168.123.255 Looks ok (pass on the inet6 and media options) > rl0: > flags=8843 > mtu 1500 > inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 Netmask and broadcast don't tally with the ifconfig_rl0 shown above. Cheers, Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message