mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
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:
commit
a0d2c7cdb6
1 changed files with 12 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue