Local Broadcast Address:
Local Broadcast Address is used to communicate with all the devices on a local network. It is represented by 255.255.255.255 or 11111111.11111111.11111111.11111111 in binary.
A broadcast address is used by hosts to request IP addresses from the DHCP(Dynamic Host Configuration Protocol) server. The host sends a broadcast to the broadcast address to request an IP address and in turn the DHCP server allocates an IP address from the pool of IP addresses.
By default, local broadcast address is always dropped by routers and layer 3 switches; but one can always override this by configuring the device with DHCP forwarding or DHCP relay.
Local Loopback Address:
Local Loopback Address is used to let a system send a message to itself to make sure that TCP/IP stack is installed correctly on the machine.
In IPv4, IP addresses that start with decimal 127 or that has 01111111 in the first octet are loopback addresses(127.X.X.X). Typically 127.0.0.1 is used as the local loopback address.
This leads to the wastage of many potential IP addresses. But in IPv6 ::1 is used as local loopback address and therefore there isn’t any wastage of addresses.
- Difference Between Network Address Translation (NAT) and Port Address Translation (PAT)
- Difference between MAC Address and IP Address
- Difference between Unicast, Broadcast and Multicast in Computer Network
- Program to find Class, Broadcast and Network addresses
- What is Local Host?
- Wireless Local Loop
- Collision Domain and Broadcast Domain in Computer Network
- Bridges (local Internetworking device)
- Finding IP address of a URL in Java
- Three address code in Compiler
- Network Address Translation (NAT)
- Extracting MAC address using Python
- How Address Resolution Protocol (ARP) works?
- Transition from IPv4 to IPv6 address
- Difference between Static and Dynamic IP address
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.