Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2004 09:08:02 -0400
From:      "Rob G" <admin@internet-helpers.net>
To:        "lily" <lily@itri.org.tw>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Config freebsd as getway
Message-ID:  <00aa01c48524$66186c50$560dbace@call.gtn.ca>
References:  <00dc01c484cb$c2444ca0$52a4608c@ITRI.DS>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok my setup is something a little different but still works on the same
premise

Internal Lan --- 10base Hub --- FBSD -- Internet

THe only thing that I have different is the 24 port hub inbetween my lan and
the FreeBSD box.

It's been awhile since it was configured but here is an excerpt from my
rc.conf file:

network devices="vr0 dc0 lc0"
ifconfig_vr0="media10BaseT/UTP up" (This is my internet connection)
ifconfig_dc0="***.***.***.*** 255.255.255.0" (Lan Card)
gateway_enable="yes"

The ip for the internal LAN has been masked because they are routable IP's
and I am having problems with attacks on my network right now.

I am not sure you can do what you want to without a hub between a pc and b
pc as if my logic serves me correct both network cards would have to be set
as a gateway.

Hopefully this gets you pointed in the right direction.

Rob G
No Special Titles


----- Original Message ----- 
From: "lily" <lily@itri.org.tw>
To: <freebsd-questions@freebsd.org>
Sent: Tuesday, August 17, 2004 10:33 PM
Subject: Config freebsd as getway


Dear all:

I have install freebsd 4.x,and have two netcards.
I want it as getway.
I have config gateway_enable=YES   in rc.conf,and then reboot.
[a pc]--------[freebsd]-------[b pc]
After reboot , I try to use a pc to ping b pc ,it`s not work ,but a pc and b
pc can ping freebsd successful,why?
Please give me a hand.
Thanks!!

LILY
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00aa01c48524$66186c50$560dbace>