Reducing 124 ifconfig lines in rc.conf to just 1
reddvinylene at gmail.com
Sat Aug 2 19:58:59 UTC 2008
But isn't that to define the entire class? In my case it's just *.3 to
*.127, do you mean I can just
ifconfig_rl0_aliases="inet 188.8.131.52/127 netmask 255.255.255.255"
or something? Probably not but worth a try ;)
On Sat, Aug 2, 2008 at 9:44 PM, Robert Huff <roberthuff at rcn.com> wrote:
> Redd Vinylene writes:
>> I got 124 ifconfig lines going from ifconfig_rl0_alias0="inet
>> 184.108.40.206 netmask 255.255.255.255" to ifconfig_rl0_alias124="inet
>> 220.127.116.11 netmask 255.255.255.255".
>> Is it possible reducing it all to just 1 line using a for loop or jot
>> or something?
> Have you examined CIDR notation? ifconfig supports it.
> Robert Huff
More information about the freebsd-questions