View Single Post
Sponsorlu Bağlantılar
Zoque.Forum
Advertisement
Old 17.01.2006   #3 (permalink)
blurise
 
blurise's Avatar
 
Üyelik Tarihi: 05.12.2003
Yer: İstanbul
Mesaj: 899
Re: statik ip adresini DOS'tan değiştirmek?

Boyle bir BUG olmasi mumkun degil. Bahsettigin TCP/IP dll i cok az bir degisiklikle 2003 Serverda da kullaniliyor. Ve statik IP lerde bu gibi bir hata 15 dk icinde yamanirdi. Tahminim harici bir yazilim bunu bozuyor.

Ikinci sorun icinse NetSh komutunu kullanabilirsin. "netsh interface ip set address" yazarsan yardim metni gelecek.

Kod:
***************************************************
rem Reset network Settings for static IP
netsh interface ip set address name = "Local Area Connection" source = static addr = 10.0.0.99 mask = 255.255.255.0
netsh interface ip set address name = "Local Area Connection" gateway = 10.0.0.254 gwmetric = 1
netsh interface ip set dns name = "Local Area Connection" source = static addr = 24.222.0.1
netsh interface ip add dns name = "Local Area Connection" addr = 24.222.0.2
netsh interface ip show config
pause

*************************************************

rem Reset network settings for DHCP
netsh interface ip set address name = "Local Area Connection" source = dhcp
netsh interface ip set dns name = "Local Area Connection" source = dhcp
netsh interface ip set wins name = "Local Area Connection" source = dhcp
netsh interface ip show config
pause
__________________
Günce;
Zübeyr Dereli;
PGP Public Key;
blurise şu an çevrimdışı   Mesajdan alıntı yaparak yeni bir cevap ekleyin