Config freebsd as getway
Rob G
admin at internet-helpers.net
Wed Aug 18 06:08:08 PDT 2004
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 at itri.org.tw>
To: <freebsd-questions at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list