Re: Routing Questions
-----BEGIN PGP SIGNED MESSAGE-----
On Tue, 27 May 1997, Walter L. Preuninger II wrote:
>Below is a simple drawing of my lan/wan setup.
>I want to route traffic from Subnet 0 over to subnet 8, ie from .2 to .254
>The micom rts card drops packets not destined for the remote slip
>address(.29)
Does it really drop them? Sounds like it is simply impossible to explain
other routes to the box?
>I really dont want to buy
>a RLB (Remote Lan Bridge) card for the micom feeder, as they cost >$1K.
>
>
> ---------------
>aix | .1 |
> ---------------
> |
> ---------------
>linux | .2 |
> ---------------
> |
> ---------------
>sco | .3 |
> ---------------
> |
> --------------- 9600bps --------------- ---------------
>micom | .4 |=========| Micom Feeder|----| .29 .254 | linux
> --------------- --------------- ---------------
> | ^^^^^^^^^^^^^^^^^^^^^^
> --------------- ? Should 224 - 254 numbers
>linux | .30 .62 .94 | ? be routed to here?
> --------------- ? I assume yes, Nils
>
>
>Can this be done using ipfwadm or ip tunneling?
I would use ip tunneling here. Warning, I never tried this.
On .2 and .29 load the ipip and tunnel modules.
on .2:
ifconfig tunl x.x.x.2 pointopoint x.x.x.29 netmask 255.255.255.224
route add -net x.x.x.224 netmask 255.255.255.224 dev tunl
on .29:
ifconfig tunl x.x.x.29 pointopoint x.x.x.2
route add default dev tunl
On the internet gateway of the subnet .2 resides on, you now need to
set
route add -net x.x.x.224 netmask 255.255.255.224 gw x.x.x.2
Please someone more knowledgeable than me correct me if I am wrong.
Nils
- --
\ / | Nils Rennebarth
--* WINDOWS 42 *-- | Schillerstr. 61
/ \ | 37083 Göttingen
| ++49-551-71626
Micro$oft's final answer | http://www.nus.de/~nils
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
iQB1AwUBM4wBvlptA0IhBm0NAQEd2gMAmRdsTbKCKSlkSU6ZOhJ1Kx63sLS/D0pO
yakcvh86ClwKBAwHTdI6tmDJbFbLoi7kYESWjmvbNEubrIGMC2oc34b9QEHxizlT
BV9y8PY3bsPDPzjEkDjmk/tXRXehXJjC
=bHCv
-----END PGP SIGNATURE-----
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: