Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2000 22:54:38 -0800 (PST)
From:      Bhishan Hemrajani <bhishan@cytosine.dhs.org>
To:        "Charles W. Johnson" <kf4ayt@christcom.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: help w/ routed daemon
Message-ID:  <200003040654.WAA00680@cytosine.dhs.org>
In-Reply-To: <200003040002.QAA32269@www.geocrawler.com> from "Charles W. Johnson" at "Mar 3, 2000 04:02:28 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Two things you need to do.

man natd
man ipfw

You need to have a redirect line in your rc.firewall, and
have natd running with:
natd -n de1
(de1 is the NIC connected to your cable modem)

--bhishan

> This message was sent from Geocrawler.com by "Charles W. Johnson" <kf4ayt@christcom.net>
> Be sure to reply to that address.
> 
> Hi all,
> 
>      I am writing for help in configuring routed on a multi-homed machine that I am running. I have 
> two network cards in it, one w/ the IP address of 192.168.168.6 (internal network), the other with 
> the IP address of 24.18.0.253 (connection to the Internet via a cable modem). For the cable 
> modem to work, I must have the following line in my rc.conf:
> 
> defaultrouter="24.18.0.1"
> 
>     I also have 'gateway="YES"' in my rc.conf.
> 
>     My trouble is this: While I can access the internet just fine on the multi-homed host, none of 
> the other machines on the internal network can access the net through the multi-homed host. 
> On them, I have "defaultrouter=192.168.168.6" entered into the rc.conf or 192.168.168.6 entered 
> into the router field in the TCP/IP setup. Previously, when I was using only a dial-up PPP 
> connection to the Internet, all machines were able to access the Net.
>     Ergo, my question is this: What else should I do to get the multi-homed host to forward 
> packets between the 2 network cards? I'm also running DNS on this machine and it works fine 
> (ie  if I try to ping www.altavista.com on another machine, it can at least resolve the IP address 
> for Altavista).
>     I've spent hours working on this, reading man pages, trying different configurations, etc. and 
> thus greatly appreciate any and all help on this matter.
> 
> Sincerely,
> 
> Charles Johnson
> kf4ayt@christcom.net
> 
> Geocrawler.com - The Knowledge Archive
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



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?200003040654.WAA00680>