All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] routing C class with route2
@ 2003-02-13 20:39 Tester
  2003-02-13 21:12 ` Martin A. Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Tester @ 2003-02-13 20:39 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-13 21:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-13 20:39 [LARTC] routing C class with route2 Tester
2003-02-13 21:12 ` Martin A. Brown

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.