Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2011 01:36:21 +0200
From:      "Vladislav V. Prodan" <universite@ukr.net>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   how to add a few hundred ip on one interface?
Message-ID:  <4D547675.60506@ukr.net>

Next in thread | Raw E-Mail | Index | Archive | Help
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@jabber.ru



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4D547675.60506>