Jump to content

Xp Üzerinde Küçük Bir Ayar Istiyorum Tcpip Ilgili


gsbaran
 Share

Recommended Posts

arkdaşlar merhaba başınızı ağrıttığım için özür dilerim
isteyim benim için büyük ama ufak bişey olsa gerek siz değerli
bilgili arkadaşlarım için ben xp üzerinden
ufacık bat dosyası oluşturmak istiyorum 2 tane olması lazım tahminimce
birine bastığımda tcp ip üzerindeki herşeyi otomatiğe alsın
diğerine bastığımda ise sadece

ip adresinde 192.168.0.111
alt ağ maskesinde ise 255.0.0.0


yazsın diğerleri boşkalsada olur böyle bi bat dosyası yapabilirmiyim teşekkürler
Link to comment
Share on other sites

@rem echo OFF
rem This file runs in Command Mode. Use at your own risk.
rem The name in the inverted commas must match your connection name
set lan_name="1"
rem define the first part of the network addresses here
rem first set the subnet address for the ip address and default gateway
set ipsubnet=192.168.0
rem next set the subnet address for the DNS servers
set dnssubnet=8.8.8
rem Set each of IP address, Subnet mask and Default gateway
set lan_ip=%ipsubnet%.100
set sub_net_mask=255.0.0.0

rem set the ip address
@netsh interface ip set address name=%lan_name% source=static addr=%lan_ip% mask=%sub_net_mask%
rem set the preferred DNS
@netsh interface ip add dns name=%lan_name% addr=%sec_dns_addr% index=2



birisi bu kaldı otomatik leştirme :)

Link to comment
Share on other sites

netsh interface ip set address "1" dhcp
ipconfig /flushdns
netsh interface ip set dns "1" dhcp
ipconfig /flushdns

buda sıfırlama olcak herkese teşkkürler demek araştırınca oluyomuş

özür dilerim unutmadan söyliyim "1" bunun yerine yerel ağ bağlantısı yazabilirsiniz yada ismi neyse onu yazın

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...