Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 1999 07:25:31 -0800
From:      gummibear@we.mediaone.net
To:        questions@freebsd.org
Subject:   Gateway & NATD problems
Message-ID:  <3.0.6.32.19990329072531.0079dd30@we.mediaone.net>

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


Okay, I've been pretty much working on this all weekend.

I have a cable modem, a FreeBSD box with 2 NIC's, and one Win95 machine.

It's setup like this:

 Win95			FreeBSD	CableModem
(client)  		(gateway)	(internet)
  |--------------------|--------------|------>


I have chosen to go with the 10.0.0.0 based ethernet address for my home
netowrk.  Actually, it's not like I have a hub or anything.  I just have a
pactch cord going from the Win95 machine to one of the network cards in the
FreeBSD, and the other FreeBSD NIC is connected to the cable modem.  I'd
like to use the FreeBSD machine as both a Gateway and Workstation.  That
way my gf and I won't fight over the computer.

Resources I've read: Natd manpage, Complete FreeBSD, FreeBSD Diary.

I latter two basically built upon the manpage so they all pretty much said
the same thing.  --> Recompile a kernel with IPFIREWALL and IPDIVERT.  Okay
that's done.  Then I added this to my rc.conf:

# -- sysinstall generated deltas -- #
hostname="gummibear.we.mediaone.net"
network_interfaces="ed0 ed1 lo0"
ifconfig_ed0="inet 10.0.0.1 netmask 255.255.255.0"
ifconfig_ed1="inet 24.130.60.137 netmask 255.255.252.0" # My ISP's Goods.
firwall_enable="YES"
firewall_type="OPEN"
firewall_quiet="NO"
natd_enable="YES"
natd_interface="ed1"
gateway_enable="YES"
defaultrouter="24.130.60.1" # My ISP's Gateway.

So with this configuration I pretty much get nothing.  I can't get to the
internat at all.  I ping the win95 machine though.  But that's about it.

You're help would be most helpfull.  Thank you.

Joey "Tearing My Hair Out" Garcia


================================================================
Joey Bear Garcia
Downey, CA
bear@pacificnet.net
================================================================


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?3.0.6.32.19990329072531.0079dd30>