UtilityToday, Internet Protocol (IP) address version 4 is majorly used between computer communication over the network. However, most common people does not know that IP address is set on the network interface and not in the core system of the computer. For example, a laptop can have two IP address, one is on the cable and one is on the WiFi. This article guides users in setting IP address manually which can be for:
Short Description
Set Up IP Address ManuallyWindows GUIWindows Command LineUsing command prompt (CMD): netsh interface show interface netsh interface ip set address "[chosen interface]" static [ip address] [subnet mask] [gateway] [metric] netsh interface ipv4 set dns name=”[YOUR INTERFACE NAM]” static [DNS SERVER], for example: netsh interface ip set address "Ethernet" static 192.168.100.25 255.255.255.0 192.168.100.1 1 netsh interface ipv4 set dns name=”8.8.8.8” static Ethernet Linux GUI (Debian)Linux Command Line (Debian)Using ifconfig: sudo ifconfig [interface] [ip address] netmask [subnet mask] up route add default gw [IP-ADDRESS] [INTERFACE-NAME], for example sudo ifconfig eth0 192.168.100.22 netmask 255.255.255.0 up route add default gw 192.168.100.1 eth0 Using ip: sudo ip addr add [ip address]/[netmask id] dev [interface] sudo ip route add default via [gateway], for example sudo ip addr add 192.168.100.22/24 dev eth0 sudo ip route add default via 192.168.100.1 For DNS, edit /etc/resolve.conf: nameserver 8.8.8.8
0 Comments
Leave a Reply. |
Archives
August 2022
Categories
All
source code
old source code Get any amount of 0FP0EXP tokens to stop automatic JavaScript Mining or get 10 0FP0EXP tokens to remove this completely. get 30 0FP0EXP Token to remove this paypal donation. Get 40 0FP0EXP Token to remove this donation notification! get 20 0FP0EXP Token to remove my personal ADS. Get 50 0FP0EXP Token to remove my NFTS advertisements! |