All of lore.kernel.org
 help / color / mirror / Atom feed
* mask 10 -> 29
@ 2009-04-15 15:59 Mihamina Rakotomandimby (R12y)
  2009-04-15 16:37 ` Gáspár Lajos
  2009-04-15 17:22 ` Martin Millnert
  0 siblings, 2 replies; 4+ messages in thread
From: Mihamina Rakotomandimby (R12y) @ 2009-04-15 15:59 UTC (permalink / raw)
  To: netfilter

Hi,
I have this kind of shell script in order to set something on a bunch of IP 
addresses:

for ACCEPTED_MACHINE in \
     192.168.0.10 \
     192.168.0.11 \
     192.168.0.12 \
     192.168.0.13 \
     192.168.0.14 \
     192.168.0.15 \
     192.168.0.16 \
     192.168.0.17 \
     192.168.0.18 \
     192.168.0.19 \
     192.168.0.20 \
     192.168.0.21 \
     192.168.0.22 \
     192.168.0.23 \
     192.168.0.24 \
     192.168.0.25 \
     192.168.0.26 \
     192.168.0.27 \
     192.168.0.28 \
     192.168.0.29
do
$IPTABLES [...]
done


How could I use a mask such as 192.168.0.0/NN to exactly match the list?
Thank you.

-- 
                              Chef de projet chez Vectoris
                                  Phone: +261 33 11 207 36
System: xUbuntu 8.10 with almost all from package install
    http://www.google.com/search?q=mihamina+rakotomandimby

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

end of thread, other threads:[~2009-04-15 17:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-15 15:59 mask 10 -> 29 Mihamina Rakotomandimby (R12y)
2009-04-15 16:37 ` Gáspár Lajos
2009-04-15 17:06   ` Nikolay S. Rybaloff
2009-04-15 17:22 ` Martin Millnert

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.