Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 1998 12:19:34 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        Loren Daniel Koss <loren@boingo.pciway.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: HELP! Can't see second Ethernet Card..
Message-ID:  <Pine.BSF.3.96.981021120802.23781A-100000@java.dpcsys.com>
In-Reply-To: <Pine.BSF.3.95q.981021115321.1966B-100000@boingo.pciway.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 21 Oct 1998, Loren Daniel Koss wrote:
> Okay, here's the diagram I want:
> 
> Router (206.0.98.1)
> |
> |
> |Ep0  (206.0.98.10)
> -Firewall- (IPFW)
> |Ep1 (206.0.98.9)
> |
> |
> |
> ------HUB----------
> |
> |
> 206.0.98.200 - 206.0.98.250

You need to use subnetting to do this.  The simplest, though probably
not the best based on the numbers you show is two subnets like

Router (206.0.98.1)
 |
 |
 |Ep0  206.0.98.10 netmask 255.255.255.128, broadcast 206.0.98.127
 -Firewall- (IPFW)
 |Ep1 206.0.98.129 netmask 255.255.255.128, broadcast 206.0.98.255
 |
 |
 |
 ------HUB----------
 |
 |
 206.0.98.130 - 206.0.98.254


You could also use a netmask of 206.0.98.192 on this inside net
with two external subnets, one a /25 as above and the second another
/26 with a netmask of 209.0.98.192.  This would give you the address
range 193-254 on the inside with the rest on the outside.

Routing will be automatic in the first example, you'll need to add
a static route for one of the two outside nets in the second case.

You may also want to get a copy of _TCP/IP Network Administration_
from O'Reilly.

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, a California corporation        dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981021120802.23781A-100000>