how to add a few hundred ip on one interface?

Vladislav V. Prodan universite at ukr.net
Thu Feb 10 23:36:38 UTC 2011


only a shell script at startup? or there are other standard tools?
Is there a limit on the number of IP on one interface?

## make aliases IP
for i in 134 135 136 137 138 139 140 141 142 143 144 145 146 147
do
ifconfig re0 xxx.xxx.yyy.$i/23 alias
done

for j in 134 135 136 137 138 139 140 141 142 143 144 145 146 147
do
ifconfig re0 xxx.xxx.xxx.$i/23 alias
done



-- 
Vladislav V. Prodan
VVP24-UANIC
+38[067]4584408
+38[099]4060508
vlad11 at jabber.ru


More information about the freebsd-questions mailing list