Skip to contentSkip to conversation

IPSET question

DISCUSSION bash 1 participant 1 message Mar 27, 2006

lore
Share & tools
lore

bash

author
#0 lore raw

Hello All,
I have question about IPSET:
how to create new set with some random ip-addresses and nets (in cidr format).

For example, I have "10.21.0.0/16", "10.90.20.0/26" networks and "10.22.0.30", "10.23.0.30" ips.

I thought that "nethash" type of set will works, but as I see from documentation (http://ipset.netfilter.org/ipset.man.html), "nethash" can't handle net with /32. So i cant add "10.22.0.30" and "10.23.0.30" ip in "nethash" SET :////

So... how to be? :)))

--
Biomechanica Artificial Sabotage Humanoid