Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Sep 1996 19:35:09 +1000
From:      Greg Healy <heagre@epoch.com.au>
To:        "Daniel M. Eischen" <deischen@iworks.InterWorks.org>
Cc:        deischen@iworks.InterWorks.org, questions@FreeBSD.org
Subject:   Re: Any network gurus out there?
Message-ID:  <2.2.32.19960904093509.009410e8@mailhost.epoch.com.au>

next in thread | raw e-mail | index | archive | help
At 08:26 3/09/96 -0500, Daniel M. Eischen wrote:
>
>My company has allocated 255 IP addresses for the project on
>which I'm working.  I'm having problems routing from networks
>A and B to/from the other side of my companys router.  A simple
>diagram is shown below.
>
>I believe the problem is that my companys router has a netmask of
>0xffffff00 and no routes to networks A and B through the FreeBSD
>router.  Without getting in to company politics (and how long it
>takes to get anything done!), I don't really want to attempt getting
>my companys network administrators to change the configuration of
>their router.

You are quite correct.  The netmask of 255.255.255.0 on the 'company' router
will mean that that router will expect to be able to talk 'directly' with
all ip addresses in X.Y.109.0-255.

The solution is for your company to alter the routers config to a
255.255.255.192 netmask and the put a static route in the company router like
'route add X.Y.109.0 255.255.255.0 X.Y.109.62' 

This effectively says that for the address space that is not X.Y.109.0-63
direct all packets at X.Y.109.62 as it 'knows' how to handle the rest.

Note that it must be the static X.Y.109.0 route that must be inserted into
the company's dynamic routing protocol by the company router.  The connected
route of X.Y.109.0 netmask 255.255.255.192. insertion will confuse early
distance/vector protocols like RIP, and Cisco's IGRP.

>
>
>               X.Y.109.128-255 netmask 0xffffff80
>              +---------------- Network A
>              |
>              |       X.Y.109.64-127 netmask 0xffffffc0
>              |      +------------ Network B
>              |      |
>     .109.129 |      | .109.65
>          +---------------+
>          | FreeBSD 2.1.5 |
>          |     router    |
>          +---------------+
>                  | .109.62
>                  |
>                  |   X.Y.109.0-63 netmask 0xffffffc0
>                  |            Network C
>                  |
>                  | .109.1 (netmask 0xffffff00)
>          +----------------+
>          | Company router |
>          |                |
>          +----------------+
>                  |
>                  |________ To company network and internet
>
>
>Any help is greatly appreciated.
--
Greg Healy                   ghealy@epoch.com.au                Bimberi Systems
Network Consultancy         Mobile +61 419 401 747           FAX +61 6 291 4818




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