How to setting ip address using notepad

In Windows XP we can set up ip address using notepad. It's very simple how to set up an ip address just using notepad so you not necessarily to set manually by go to the control panel, and setting TCP/IP in network connection. Here the step by step how to configure it:

1. Cek in Network Connection What is the name of you interface that want to set up, Ok in this tutorial we can set the Ethernet LAN
look in the picture :
as one you sees, name of ethernet LAN is "Local Area network", in this tutorial we'll set
ip address 172.16.56.10
subnet mask 255.255.255.0
gateway 172.16.56.1
Prefered DNS 8.8.8.8
Alternate DNS 8.8.4.4

so run the notepad and tipe

@echo off
@echo "wait for momment"
@echo set ip & Netsh interface ip set address name="Local Area Connection" source=static addr=172.16.56.10 mask=255.255.255.0
@echo set gateway & Netsh interface ip set address name="Local Area Connection" gateway=172.16.56.1 gwmetric=0
@echo set dns 1 & Netsh interface ip set dns name="Local Area Connection" source=static addr=8.8.8.8
@echo set dns 2 & Netsh interface ip add dns name="Local Area Connection" addr=8.8.4.4

the save it , useing Save as type All files and named the file set_ip.bat , save in the desktop.
Next go to the desktop and double click the file that saved earlier (set_ip.bat) and wait until finish.
look at the preview

See.. it is very easy how to set up ip address using notepad. If you want try in the wireless interface (Wi-Fi) just
change the name of the interface by ceck in network Connection. (i think it still Wireless Network Connection)

try it it will be nice

source : http://abimayu.com

0 comments:

Search