Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 1998 19:24:57 +0200
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        Mukti Arip <mukti@unpad.ac.id>, freebsd-isp@FreeBSD.ORG
Subject:   Re: Connecting two networks with FreeBSD
Message-ID:  <19980711192457.A12033@klemm.gtn.com>
In-Reply-To: <Pine.BSF.3.96.980711125435.3610B-100000@pasca1.unpad.ac.id>; from Mukti Arip on Sat, Jul 11, 1998 at 01:14:31PM %2B0700
References:  <Pine.BSF.3.96.980711125435.3610B-100000@pasca1.unpad.ac.id>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 11, 1998 at 01:14:31PM +0700, Mukti Arip wrote:
> 
> Hi everyone!!!
> 
> I have a problem about connecting two networks with a computer running
> FreeBSD 2.2.6. The network address for one side is 192.168.1.0 mask
> 255.255.255.0 and the other side is 10.1.1.0 mask 255.255.255.0.
> 
>   192.168.1.0                            10.1.1.0
> ---------------------+          +----------------------
> 255.255.255.0        |          |        255.255.255.0
>                      |          |
>          192.168.1.1 |          | 10.1.1.100
>               +------+----------+-------+
>               |     ed0        ed1      |
>               |                         |
>               |        FreeBSD          |
>               |         2.2.6           |
>               |                         |
>               +-------------------------+
> 
> Until now, I can't ping or traceroute from my workstation (10.1.1.9) to my
> friend's workstation (IP add. 192.168.1.25). So, how to setup that FreeBSD
> machine?
> 
> Any help would be greatly appreciated.

Did you configure your machine to act as a gateway ?

/etc/rc.conf:

gateway_enable="YES"		# Set to YES if this host will be a gateway.


Where is your routing table (netstat -rn) and your machines /etc/rc.conf ?


-- 
Andreas Klemm                                http://www.FreeBSD.ORG/~andreas
     What gives you 90% more speed, for example, in kernel compilation ?
          http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html
             "NT = Not Today" (Maggie Biggs)      ``powered by FreeBSD SMP''

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



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