Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 2000 22:48:17 -0800
From:      "Crist J . Clark" <cjclark@reflexnet.net>
To:        Anthony Fox <adf5j@cs.virginia.edu>
Cc:        Andy Farkas <andyf@speednet.com.au>, questions@FreeBSD.ORG
Subject:   Re: two ethernets, nat, firewall
Message-ID:  <20001107224817.N75251@149.211.6.64.reflexcom.com>
In-Reply-To: <20001107181314.A9311@misty.cs.virginia.edu>; from adf5j@cs.virginia.edu on Tue, Nov 07, 2000 at 06:13:14PM -0500
References:  <054F7DAA9E54D311AD090008C74CE9BD01766D6D@exchange.panasonicfa.com> <Pine.BSF.4.21.0011081146260.12298-100000@backup.af.speednet.com.au> <20001107181314.A9311@misty.cs.virginia.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 07, 2000 at 06:13:14PM -0500, Anthony Fox wrote:

[snip]

> > Yes, that is a good idea.  But I believe his problem is with routing.  The
> > default route is probably set to the modem.  There needs to be an
> > additional static route to the internal network.
> > 
> > Try adding the following to /etc/rc.conf (after defaultrouter):
> > 
> > static_routes="homenet"
> > route_homenet="192.168.0.0/24 192.168.0.1 -interface"
> > 
> > ...and then see if you can "see other machines".  Make sure your routing
> > table is correct (netstat -rn).
> 
> I didn't do any of this as the local route was set up automatically.
> 
> Now I need to set up the firewall.
> 
> Thanks for all the help.

You should not have to add that route manually. It should be handled
automatically by ifconfig(8). How are you configuring the interfaces
in rc.conf? That is, what are the ifconfig_<interface> lines? What is
the output of,

  # ifconfig -a
  # netstat -rn

Once the system is up?
-- 
Crist J. Clark                           cjclark@alum.mit.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001107224817.N75251>