- Prison Code Breaker Diary -

=> aka: Nhật Kí Code Tù

Categories

Showing posts with label Network. Show all posts

By using the utility netsh, you may find it easily to manage your network. Yes, it's pretty much convenient.

1. Show network information:


netsh interface ip show config


2. Change setting of ip address, mask and gateway

netsh interface ip set address name="Network Name" static ip_address subnet_mask gateway 1


Sample: set Local Area Connection to static address 192.111.215.96, mask = 255.255.255.252, gateway = 192.111.215.1

netsh interface ip set address name="Local Area Connection" static 192.111.215.96 255.255.255.252 192.111.215.1 1


2. Change DNS setting
+ set DNS

netsh interface ip set dns "Network Name" static dns_address

+ add DNS

netsh interface ip add dns "Network Name" dns_address index=2


3. Export IP setting to file:

netsh -c interface dump > C:\setting.txt


4. Import IP setting from file:

netsh -f C:\setting.txt

or

netsh exec C:\setting.txt


5. Using DHCP
+ Simply add 'dhcp' at the end of your command :D

netsh interface ip set address "Local Area Connection" dhcp
netsh interface ip set dns "Local Area Connection" dhcp



Have fun!

One of the utility required for tracking network via packet is a Packet Sniffer or Packet Editor.
WPE is one of those famous ones; but it's hard to find where to download.

However, you can download it here => WPE Pro 9.0a - Upload by [JaPh]

Have fun!@