ifconfig eth0 192.168.x.x netmask 255.255.255.0 up
route add default gw 192.168.x.x
DHCP sunucudan IP almak icin ise:
dhclient eth0Benzer işlem, güncel Windows sürümlerin de ise Administrator yetkileri ile:
netsh interface ip set address local static 192.168.x.x 255.255.255.0 192.168.x.x 1Sondaki 192.168.x.x gateway olan IP niz.
DHCP sunucusundan IP almak gerekirse:
netsh interface ip set address "Local Area Connection" dhcp
No comments:
Post a Comment