Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2001 10:04:14 +1000
From:      "MurrayTaylor" <MurrayTaylor@bytecraftsystems.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   WAN routing choices ...
Message-ID:  <017a01c1359e$4c60c600$2a7627cb@bytecraft.au.com>

next in thread | raw e-mail | index | archive | help
I am extending our company network and invite comment
as to the 'most useful' / 'least hassle' addressing schema



        +------------+
        |   routing  |ng0
LAN a --+    host    +---------------- internet
        |     A      |
        |            +-------+
        |            |ng1    |
        +------------+       |
                            -/-
                          WAN link
                            -/-
        +------------+       |
        |   routing  |ng0    |
LAN b --+    host    +-------+
        |     B      |
        |            |
        +------------+


FWIW the internet link and the WAN link are via a frame relay
setup with netgraph, and nat -u is running on host A(ng0).

LAN a has a legal range 203...
Host A(ng0) has a legal ip 139...

LAN b is a RFC1918 net  192.168.1.0

I can setup the WAN link on a different RFC1918 net 192.168.2.0
and route accordingly

on A
ifconfig ng1 192.168.2.1 -netmask 255.255.255.0
route add -net 192.168.1.0 192.168.2.2
on B
ifconfig ng0 192.168.2.2 -netmask 255.255.255.0
route add default 192.168.2.1

_or_

I can just setup the routing tables with the interface names only

on A
route add -net 192.168.1.0 -interface ng1
on B
route add default -interface ng0

The Exam Questions ;-) 
[1] If you were doing this WAN net, which method would you choose?

[2] Explain your choice?


TIA
 
Murray Taylor
Bytecraft Systems Pty Ltd
murraytaylor@bytecraftsystems.com




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?017a01c1359e$4c60c600$2a7627cb>