Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 2002 11:59:07 -0800 (PST)
From:      randall ehren <randall@ucsb.edu>
To:        Martin Karlsson <martin.lists@visit.se>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Internet connection sharing
Message-ID:  <Pine.BSF.4.33.0212221155370.86739-100000@isber.ucsb.edu>
In-Reply-To: <20021222194523.GA68186@foo104-144.visit.se>

next in thread | previous in thread | raw e-mail | index | archive | help
> > or you can use IPFILTER, less involved setup:
> >  http://www.isber.ucsb.edu/~randall/wireless/ipnat.html
>
> the above URL refers to a page containing some
> info on setting up ipnat with one network card:
> URL:http://forum.redigital.org/read.php?f=2&i=9&t=8
>
> However, that URL appears to no longer be valid. :-(
> Does this info exist somewhere else?

instead of assigning a private (192.168.x.x) address to your 2nd network card,
just do the following:
 % ifconfig fxp0 alias 192.168.x.x netmask 255.255.255.255

 where fxp0 is your primary network card.

in this example you have to assume your gateway/isp connection is connected to
a hub/switch and all of your comptuters, including the one doing NAT, are
connected to the hub/switch as well.

--
        :// randall s. ehren         :// voice 805.893.5632
        :// systems administrator    :// isber|survey|avss.ucsb.edu
        :// institute for social, behavioral, and economic research


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?Pine.BSF.4.33.0212221155370.86739-100000>