All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] help on iproute2
@ 2002-03-02  9:48 Bambang Yulianto
  2002-03-02 13:24 ` bert hubert
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bambang Yulianto @ 2002-03-02  9:48 UTC (permalink / raw)
  To: lartc

hi guys .. I'm linux newbie
I have LAN that connected to internet.
here is the pic :

[internet]----------[Linux]----------[LAN]
    |                  |               |
202.149.83.192-207  202.149.83.194   192.168.0.1-35

with RedHat Linux 2.4.18, how can I make every 4 ip on
LAN will be 1 ip on the internet ? (sorry abt my
english )
example: 

192.168.0.1-4 ---> 202.149.83.195
192.168.0.4/30 --> 202.149.83.196
192.168.0.8/30 --> 202.149.83.197
.
.
.

with my old linux (2.2.16) ..
I use :
modprobe dummy
ifconfig dummy0 202.149.83.195 netmask 255.255.255.240
ifconfig dummy0:1 202.149.83.196 netmask
255.255.255.240
ifconfig dummy0:2 202.149.83.197 netmask
225.255.255.240
.
.
.
ip rule add from 192.168.0.0/30 nat 202.149.83.195
ip rule add from 192.168.0.4/30 nat 202.149.83.196
ip rule add from 192.168.0.8/30 nat 202.149.83.197
.
.
.

but It's NOT WORKING on my new 2.4.18 Linux.
what should I do ?
Thanks before
Yours

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball
http://sports.yahoo.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2002-03-05 17:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-02  9:48 [LARTC] help on iproute2 Bambang Yulianto
2002-03-02 13:24 ` bert hubert
2002-03-02 13:45 ` Julian Anastasov
2002-03-05 17:36 ` Ard van Breemen

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.