Re: Routing Questions

1997-05-28 Thread Nils Rennebarth
-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
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Routing Questions

1997-05-27 Thread Walter L. Preuninger II
Below is a simple drawing of my lan/wan setup.

The micom (.4) has a RTS (Remote Terminal Server) in it. The RTS supports
slip connections.
The subnet is 255.255.255.224
.29 is a slip connection to .4, the RTS card

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)

Can this be done using ipfwadm or ip tunneling? 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
  --- ------
 |
  ---
linux | .30 .62 .94 |
  ---

Thanks,
--
Walter L. Preuninger II   waldo @ irc.wasteland.org:#unix
[EMAIL PROTECTED]   http://walterp.rapidramp.com
Finger [EMAIL PROTECTED] for PGP public key, or visit my web page.

  L  I  N  U  X  Where You Really Should Be!



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .