Commit 3012803a authored by Evan Hunt's avatar Evan Hunt

update ifconfig.bat with current test interfaces

the addresses set up in ifconfig.bat were out of sync with the
ones in ifconfig.sh
parent d1fc4601
......@@ -9,10 +9,13 @@ rem file, You can obtain one at http://mozilla.org/MPL/2.0/.
rem ifconfig.bat
rem Set up interface aliases for bind9 system tests.
rem
rem IPv4: 10.53.0.{1..8} RFC 1918
rem IPv6: fd92:7065:b8e:ffff::{1..8} ULA
rem IPv4: 10.53.0.{1..10} RFC 1918
rem 10.53.1.{0..2}
rem 10.53.2.{0..2}
rem IPv6: fd92:7065:b8e:ffff::{1..10} ULA
rem fd92:7065:b8e:99ff::{1..2}
rem fd92:7065:b8e:ff::{1..2}
rem
echo Please adapt this script to your system
rem remove the following line when the script is ready
exit /b 1
......@@ -30,5 +33,12 @@ echo on
FOR %%I IN (1,2,3,4,5,6,7,8) DO (
netsh interface ipv4 add address name=Loopback 10.53.0.%%I 255.255.255.0
netsh interface ipv6 add address interface=Ethernet fd92:7065:b8e:ffff::%%I/64
netsh interface ipv6 add address interface=Loopback fd92:7065:b8e:ffff::%%I/64
)
FOR %%I IN (1,2) DO (
netsh interface ipv4 add address name=Loopback 10.53.1.%%I 255.255.255.0
netsh interface ipv4 add address name=Loopback 10.53.2.%%I 255.255.255.0
netsh interface ipv6 add address interface=Loopback fd92:7065:b8e:99ff::%%I/64
netsh interface ipv6 add address interface=Loopback fd92:7065:b8e:ff::%%I/64
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment