Merge branch 'fanf/macos-ifconfig' into 'main'

MacOS needs more IP addresses to run the system tests

See merge request isc-projects/bind9!5993
This commit is contained in:
Tony Finch
2022-03-29 16:52:30 +00:00

View File

@@ -11,8 +11,17 @@
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
for ns in 1 2 3 4 5 6 7 8
ifup() {
/sbin/ifconfig lo0 10.53.$1.$3 alias
/sbin/ifconfig lo0 inet6 fd92:7065:b8e:${2}ff::${3} alias
}
for ns in 1 2 3 4 5 6 7 8 9 10
do
/sbin/ifconfig lo0 10.53.0.$ns alias
/sbin/ifconfig lo0 inet6 fd92:7065:b8e:ffff::$ns alias
ifup 0 ff $ns
done
for ns in 1 2
do
ifup 1 99 $ns
ifup 2 00 $ns
done