

Finally, it forwards the frame to the destination IP address.The router then looks up the destination network number and matches it with an outgoing interface.This causes the host portion of the IP destination address to be removed, while the destination network number remains.A class C address had a default subnet mask of 255.255.255.0 meaning 24 bits decide which network and the last 8 bits are for the host. Problem 1: Previously IP addresses were divided into classes A, B and C.


In logical AND operation, 1 “ANDed” with 1 yields 1 and 1 “ANDed” with 0 yields 0. 7 Answers Sorted by: 10 NAT and subnetting solve two different problems. It then performs a logical AND operation to obtain the network number.First, the router extracts the IP destination address from the incoming packet and retrieves the internal subnet mask.The router performs a set process to determine the network (or more specifically, the subnetwork) address. Each IPv4 subnet has a subnet mask, also known as a netmask, which is basically an alias for the range of IP addresses allocated to that network. It is a technique in which a single physical network is logically partitioned into multiple smaller subnetworks or subnets.How subnet masks are used to determine the network number The subnet mask for a class C address 192.168.2.0 that specifies five bits of subnetting is 255.255.255.248 with five bits available for subnetting, 2 5 – 2 = 30 subnets possible, with 2 3 – 2 = 6 hosts per subnet.
