Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2004 17:23:57 +1000 (EST)
From:      =?iso-8859-1?q?eodyna?= <eodyna@yahoo.com.au>
To:        freebsd-questions@freebsd.org
Subject:   Advice on  network setup/layout
Message-ID:  <20040623072357.11862.qmail@web41710.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
--0-4208400-1087975437=:11808
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Content-Id: 
Content-Disposition: inline

hello there,

Ive never done this before (and it may seem odd) but,
id like to get your advice on how to configure a
network with 2 outside interfaces. One interface would
be connected to a cable modem and the other to an adsl
modem.

This is what i have so far.

1 cable connection
1 adsl connection
1 computer (running fbsd 5.2.1)
5 NICs

the diagram i have attached is kinda what im thinking
it would look like. Any advice would be great.

I have compiled the following options into the kernel

# Firewall IPFIREWALL options
options         TCP_DROP_SYNFIN
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_VERBOSE_LIMIT=100
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         RANDOM_IP_ID
options         IPDIVERT
options         IPSTEALTH
options         IPSEC


set the following in rc.conf

ifconfig_fxp1="DHCP"    #*cable*
ifconfig_fxp2="inet 10.0.0.1 netmask 255.255.255.0"
ifconfig_fxp3="DHCP"   #*adsl*
ifconfig_fxp4="inet 10.5.0..1 netmask 255.255.0.0"

# PPP CONFIGURATION - adsl
#ppp_enable="YES"
#ppp_profile="provider"
#ppp_mode="ddial"

# NAT CONFIGURATION
#natd_enable="YES"
#natd_interface="fxp1 fxp3"
#natd_flags="-s -u -f /etc/natd.conf"

# FIREWALL CONFIGURATION IPFW
#firewall_enable="YES"
#firewall_type="SIMPLE"
#firewall_quiet="NO"


I dont really know if im going about this the right
way or not (or what im missing), but i think im going
to end up confusing myself at some point. esp. when it
comes to the firewall rules.

so if you have some advice. id gladly listen/read.

cheers (i hope this makes sense)
ams

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
--0-4208400-1087975437=:11808
Content-Type: text/plain; name="network_layout.txt"
Content-Description: network_layout.txt
Content-Disposition: inline; filename="network_layout.txt"

-------------                                 	-------------- 
| Internet  |					|  Internet   |
-------------					--------------
      |							|
      |							|	
      |							|
-----------------				-----------------
| ADSL Modem     |				| Cable Modem   |
-----------------				-----------------
      |							|
      |							|	
      |							|
   | fxp3 |					    | fxp1 |
      |							|
      |							|
      ---------------------------------------------------
				|
				|	
				|
			--------------------
			| FreeBSD 5.2.1    |
			--------------------
			        |
				|
	-------------------------------------------------
	|						|
    | fxp 4|					     | fxp2 |
	|						|	
	|						|
    -------------	                 -------------------------------
    | 8 port hub |    			 | 16 Port Networking Switch    |
    --------------                       -------------------------------
        |        	                   |                        |
    --------------            	    -----------------       ----------------
    | comp. 1     |                 | Computer 1    |       | Computer 2   |
    ---------------                 -----------------       ----------------
--0-4208400-1087975437=:11808--



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