jail_box_ip="<insert hundreds of ips here>"

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Aug 3 07:53:18 UTC 2008


Redd Vinylene wrote:
> Can something similar be used for my
> 
> ifconfig_rl0_aliasN="inet 66.252.2.N netmask 255.255.255.255"
> 
> as well?

You'ld have to write a loop:

for N in $( jot 124 4 ) ; do
    eval "ifconfig_rl0_alias$N=\"inet 66.252.2.$N netmask 255.255.255.255\""
done

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080803/e42501ed/signature.pgp


More information about the freebsd-questions mailing list