Chat with us, powered by LiveChat How to broadcast a message on the Internet? Two questions need to be answered: What address should be used as the broadcast address. How to send data to the broadcast address - Writingforyou

How  to broadcast a message on the Internet? Two questions need to be  answered: What address should be used as the broadcast address. How to  send data to the broadcast address

 

How  to broadcast a message on the Internet? Two questions need to be  answered: What address should be used as the broadcast address. How to  send data to the broadcast address? A broadcast address is the subnet’s  network number with all onebits set for the host portion of the address.  For instance, if a network IP address is 192.168.1.0, and the netmask  is 255.255.255.0, the last byte of the address is the host number  (because the first three bytes, according to the netmask, correspond to  the network number). So the broadcast address is 192.168.1.255. Under  Unix, the ifconfig command will actually give you all this information. 

  1. Determine the broadcast address of your local machine; (5 point)
  2. b. Send a broadcast packet to your broadcast address. Write a code to implement this task.(15 point)

1. Assignment 3 Protocol & TCP/IP for Part 2

(20 Points)

Due 3/3

How to broadcast a message on the Internet? Two questions need to be answered: What address should be used as the broadcast address. How to send data to the broadcast address? A broadcast address is the subnet’s network number with all onebits set for the host portion of the address. For instance, if a network IP address is 192.168.1.0, and the netmask is 255.255.255.0, the last byte of the address is the host number (because the first three bytes, according to the netmask, correspond to the network number). So the broadcast address is 192.168.1.255. Under Unix, the ifconfig command will actually give you all this information.

1.

a. Determine the broadcast address of your local machine; (5 point)

b. b. Send a broadcast packet to your broadcast address. Write a code to implement this task.(15 point)

NOT: The assgnment qustions  requires the following

2. Search the internet for resources about IP address, Subnet mask and Internet protocol. Then explain your understanding.

3. From your search and understanding answer a, and b to the best of your knowledge

4. Reference your answer from your internet resources.

5. Make sure you Do not Use Wikipedia it’s not an Academic Resource.