tg-me.com/zeeprogrammer/2189
Last Update:
ifconfig | grep inetinet
192.168.0.24 netmask 255.255.255.0 broadcast 192.168.0.255
In practice, an example would be your smartphone connecting to the Wi-Fi network at a coffee shop. Your device has the same MAC address at home as it does at the coffee shop, but the router at the coffee shop would assign you a potentially different IP address every time you joined.
Once you've connected to the network, the router and nearby devices store the relationship between your device's MAC address and the IP address it's been assigned in a table that allows easy delivery of information. You can see this table by typing arp -a into a terminal window.arp -a
? (192.168.0.11) at 3c:dc:bc:05:77:d4 [ether] on wlan0 _gateway (192.168.0.1) at 40:70:09:7a:64:97 [ether] on wlan0
In this example, my computer has stored the IP and MAC address of the router (gateway) and another computer on the network, allowing packets to be sent to either.
IPv4 is the most widespread and easy to understand IP addressing system but is gradually being replaced by the more complicated but scaleable IPv6. In spite of this, most networks will still assign you an IPv4 address, making it easy to find your way around the network. The most important thing to know about IP addresses is that they are just a long, unique number assigned to a device on a network. That's all.
BY Tech Program
Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283
Share with your friend now:
tg-me.com/zeeprogrammer/2189