All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tester <test@isg.si>
To: lartc@vger.kernel.org
Subject: [LARTC] routing C class with route2
Date: Thu, 13 Feb 2003 20:39:33 +0000	[thread overview]
Message-ID: <marc-lartc-104516877309515@msgid-missing> (raw)

Here's the situation.

My ISP routes all C class to specific IP ( that IP is from another class) and 
I got cisco router who has that IP on whitch all C class is routed.
On the other port of the cisco router all IPs of this C class are awaliable.
Some poor attempt to graphicaly show you..

ISP's routing.
C class -> some.ip.198

99.some.ip.198 ->binded at  || CISCO || at binded<- C.class.ip.1

So the router just makes the whole C class awaliable ((that it gets on 
99.some.ip.198)) out his other port with ip C.class.ip.1.

Can this be done on linux using only (route2) ip tool? Without iptables.

I'm thinking something like
ip addr add 99.some.ip.198/32 dev eth0 (eth0 is the interface on witch the IPs 
come in - the whole class)
ip addr add C.class.ip.1/22 dev eth1
ip route add 99.some.ip.gateway

I hope you understood this mess and can help me a bit.

Tnx.
-Martin

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2003-02-13 20:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-13 20:39 Tester [this message]
2003-02-13 21:12 ` [LARTC] routing C class with route2 Martin A. Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-104516877309515@msgid-missing \
    --to=test@isg.si \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.