In: Computer Science
You notice a printer on your network has the IP address 198.75.12.34 and subnet mask 255.255.255.248. What is the network address to which this printer belongs?
A router interface on one of your subnets has the IP address 54.187.69.45 and prefix length /25. What would be the broadcast address used for this subnet?
You notice a printer on your network has the IP address 198.75.12.34 and subnet mask 255.255.255.248. What is the network address to which this printer belongs?
IP ADDRESS | 198.75.12.34 | 11000110.01001011.00001100.00100010 |
SUBNET MASK | 255.255.255.248 | 11111111.11111111.11111111.11111000 |
NETWORK ADDRESS(AND) | IP AND NETWORK | 11000110.01001011.00001100.00100000 |
= 198.75.12.32 ANSWER |
A router interface on one of your subnets has the IP address 54.187.69.45 and prefix length /25. What would be the broadcast address used for this subnet?
Given:
IP address 54.187.69.45
prefix length /25 is class C
therefore network mask: 255.255.255.128
Now,
IP address 54.187.69.45 in binary 00110110. 10111011.01000101.00101101
network mask: 255.255.255.128 in binary 11111111.11111111.11111111.10000000
Host bit mask : 00000000 00000000 00000000 01111111
To calculate Broadcast address OR Ip address and host
IP | 00110110. 10111011.01000101.00101101 |
Host | 00000000.00000000.00000000.01111111 |
Broadcast | 00110110.10111011.01000101.01111111 = 54.187.69.127 |