Some simple netsh command to manage your network interface. Please that the “PublicTeam” in quote is what I named my teaming network. So when running this command, change the PublicTeam to whatever you have named your teaming.
1. Change IP Address of PublicTeam NIC:
netsh interface ip set address “PublicTeam” static 192.168.0.41 255.255.255.0 192.168.0. 1
2. Adding multiple IPs to the PublicTeam NIC:
netsh in ip add address “PublicTeam” 192.168.0.42 255.255.255.0
netsh in ip add address “PublicTeam” 192.168.0.43 255.255.255.0
[…]
netsh in ip add address “PublicTeam” 192.168.0.46 255.255.255.0
or
FOR /L %A IN (5,1,10) DO netsh interface ipv4 add address “PublicTeam” 192.168.0.%A 255.255.255.0
Note: In (5,1,10), the 1 in the middle represent the increment meaning the IP range will start from 5 and increase by 1 until 10.
3. Configuring DNS on the PublicNet NIC:
netsh interface ip set dns “PublicNet” static 4.2.2.2
or
netsh interface ip add dns “PublicNet” index=1 4.2.2.2
netsh interface ip add dns “PublicNet” index=2 4.2.2.2