Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 1997 13:37:18 -0700 (PDT)
From:      Jan Koum  <jkb@best.com>
To:        Jesse <j@lumiere.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: two ethernet cards?
Message-ID:  <Pine.BSF.3.96.970714133444.4781B-100000@shell6.ba.best.com>
In-Reply-To: <Pine.BSF.3.96.970714124640.28167A-100000@leaf.lumiere.net>

next in thread | previous in thread | raw e-mail | index | archive | help

        Hello Jesse,

        Yes it is possible. You would have to enable the following in your
kernel:
options IPDIVERT
options IPFIREWALL
        and then get a NATd (network address translation daemon) package.
	Also don't forget to add support for both interfaces in your
kernel (if you have say ed0 now, you will have to add ed1 also). Take a
look at ipfw and natd man pages and /etc/rc.firewalls for examples.

-- Yan

P.S. - natd can be found at either www.awfulhak.org/natd or at
ftp://kn6-045.ktvlpr.inet.fi/pub/natd

On Mon, 14 Jul 1997, Jesse wrote:

> 
> Heya,
> 
> I'm probably gonna be getting a cable modem in a couple months when the
> service will begin being offered in my area. I want to use it for all the
> machines on my local ethernet. However, the cable modem also uses the
> ethernet port. What I'm wondering is if FreeBSD supports having 2 ethernet
> cards (one to hook up to the cable modem, one for the rest of the
> ethernet), and how difficult it is to configure such a setup. Also, I
> assume masquerading would be possible over this?
> 
> Thanks in advance.
> 
> ---
> Jesse <j@lumiere.net>
> http://www.lumiere.net/
> 
> 




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