設定動態IP位址
netsh interface ip set address name="區域連線 1" source=dhcp
netsh interface ip set dns name="區域連線 1" source=dhcp register=PRIMARY
netsh interface ip set wins name="區域連線 1" source=dhcp
設定固定IP位址
netsh interface ip set address name="區域連線 1" source=static addr=192.168.1.33 mask=255.255.255.0
netsh interface ip set address name="區域連線 1" gateway=192.168.1.254 gwmetric=0
設定多組DNS
netsh interface ip set dns name="區域連線 1" source=static addr=192.168.1.1
netsh interface ip add dns "區域連線 1" 192.168.1.2 index=2
netsh interface ip add dns "區域連線 1" 192.168.1.3 index=3
netsh interface ip add dns "區域連線 1" 192.168.1.4 index=4
2008年1月20日 星期日
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言