Networking with FreeBSD

Nikolas Britton nikolas.britton at gmail.com
Thu Aug 4 01:09:16 GMT 2005


On 8/3/05, Stephan Weaver <stephanweaver at hotmail.com> wrote:
> 
> 
> >From: Nikolas Britton <nikolas.britton at gmail.com>
> >
> >
> >Internet
> >    |
> >    |   |--------WANs 1-4, 192.168.2/24, 192.168.3/24, 192.168.4/24,
> >192.168.5/24
> >Firewall ------ DMZ 192.168.1/24 ----- Pixel, httpd, samba
> >    |
> >    |
> >HQ LAN 192.168.0/24
> >
> >
> >OR:
> >
> >Internet
> >   |
> >   |   |-----WAN, 192.168.2/24
> >Firewall ------- DMZ, 192.168.1/24 ----- Pixel, httpd
> >   |
> >   |------- Samba
> >   |
> >HQ LAN 192.168.0/24
> >
> >OR:
> >
> >Internet
> >   |
> >   |   |-------WAN(s)
> >Firewall
> >   |
> >   |
> >HQ LAN
> >
> >Etc.
> >
> >We need more info to help you.
> 
> 
> 
> Thank you for your concern and quick response everyone.
> 
> Now i will use your example as mentioned above.
> 
> I have one quick question though.
> These WAN's will be on seperate networks because of the /24. correct?
> 
Yes, 24 = class C = netmask of 255.255.255.0

http://public.pacbell.net/dedicated/cidr.html

> So if Wan1 [192.168.2/24] Wants to Connect to our Pixel Server[192.168.1/24]
>   for example He would not be able to communicate because of the /24? Is
> this correct?

Yes because they are on different networks. you will need a router for
them to communicate.
 
> 
> If so, how do allow them to communicate?
> 

firewall = firewall, router, gateway, bridge, etc. with FreeBSD and
the right software it will do all of that transparently.

Setup a test lab of some sorts, start with this layout and work your
way up until you understand what it's doing:

Internet
   |
   |   |-------WAN(s) 192.168.1/24
Firewall
   |
   |
HQ LAN 192.168.0/24

You will need 3 PCs; one for the LAN, one on the WAN1 side and one for
the firewall. For the firewall you will be using m0n0wall, 48MB ram
(minimum) and 3 network cards.

http://en.wikipedia.org/wiki/M0n0wall
http://m0n0.ch/wall/download.php?file=generic-pc-1.2b9.img
http://m0n0.ch/wall/installation_generic.php
http://m0n0.ch/wall/quickstart/
http://www.tomsnetworking.com/Reviews-161-ProdID-MONOWALL.php
http://www.tomsnetworking.com/Reviews-161-ProdID-MONOWALL.php

If you need any help setting it up etc. just ask me, I started using
it sometime late in 2003 so I probably have more experience using the
software then most people you'll run across


More information about the freebsd-questions mailing list