Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2002 11:24:51 +1000 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Gene Bomgardner <gene@bomgardner.net>
Cc:        FreeBSD-net@FreeBSD.ORG
Subject:   Re: Gateway not passing packets between interfaces
Message-ID:  <Pine.BSF.3.96.1020903110815.26497B-100000@gaia.nimnet.asn.au>
In-Reply-To: <3D7381C0.18427.BE1BB0B@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 
 > 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 
 > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1020903110815.26497B-100000>