Re: Config freebsd as getway

2004-08-18 Thread Rob G
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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Networking Questions

2004-04-12 Thread Rob G
Thanks Bob,

This worked out perfectly.  All I did was add the second nic.  COnfigured it
for the First IP in my block and added the Enable Gateway and boom I was off
and surfing :)

Rob G
[EMAIL PROTECTED]
- Original Message -
From: Bob Johnson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Rob G [EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 5:57 PM
Subject: Re: Networking Questions


 On Saturday 10 April 2004 01:54 pm, Rob G Rob G
 [EMAIL PROTECTED] wrote:
  Hi All,
 
  I am new to the list, but I have tried researching the archives and
  couldn't find exactly what I am looking for and would like your
  opinion on how to do this:
 
  I have a 4Meg DSL connection with Multiple Static IPs.
 
  69.63.33.### is my main IP that my router or System that does
  authentication will always get.
 
  209.213.231.###/29 is my block of 8 other IP's that route to my main
  IP.
 

 If your ISP is already routing these numbers to your main IP, then it
 should be easy.

  Right now I have my fsb box running mail/web and other services and I
  would like it to do the routing for my internal network of 4 or so
  computers.  I have a Hub that I can plug these other systems in to so
  that is not a problem.
 

 I believe all you need to do is set gateway_enable=YES in rc.conf (and
 reboot -- I don't know the manual way to accomplish that).  I think
 your box will automatically figure out which IP numbers are on which
 interface, and forward appropriately.  If not, you will need to set up
 a static route to tell it which interface the 209.../29 subnet is on,
 since it won't use the default gateway to the Internet.  Manually, you
 use the route(8) command to do this.  I think you can automate it with
 the static_routes= entry in rc.conf, but I don't know the syntax.

  What would be the best way to use my block of statics and have them
  Route properly through my BSD box.  I would like to stay away from
  NAT as I know it right now, broadband router, as it causes havoc with
  my filesharing programs and would like to have my other systems
  pretty much open to the internet and then start locking them down as
  need be once I get them seeing the outside world and the outside
  world seeing them.

 You shouldn't need to run a real router daemon for this simple
 situation, so you don't need to mess with router_enable in rc.conf.

 Now that I've typed all this, it occurs to me that the better answer is
 for you to read the appropriate section of the FreeBSD Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.ht
ml

 
  Regards,
  Rob G
  [EMAIL PROTECTED]

 Good luck.

 - Bob




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Networking Questions

2004-04-10 Thread Rob G
Hi All,

I am new to the list, but I have tried researching the archives and couldn't
find exactly what I am looking for and would like your opinion on how to do
this:

I have a 4Meg DSL connection with Multiple Static IPs.

69.63.33.### is my main IP that my router or System that does authentication
will always get.

209.213.231.###/29 is my block of 8 other IP's that route to my main IP.

Right now I have my fsb box running mail/web and other services and I would
like it to do the routing for my internal network of 4 or so computers.  I
have a Hub that I can plug these other systems in to so that is not a
problem.

What would be the best way to use my block of statics and have them Route
properly through my BSD box.  I would like to stay away from NAT as I know
it right now, broadband router, as it causes havoc with my filesharing
programs and would like to have my other systems pretty much open to the
internet and then start locking them down as need be once I get them seeing
the outside world and the outside world seeing them.

Regards,
Rob G
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]