joinpaster.blogg.se

Mac network settings router subnet mask
Mac network settings router subnet mask





The router interface has also an IP address 10.0.0.254 with the same subnet mask 255.255.255.0 as the two Hosts.Īlso, two other hosts (Host C, Host D) belong to another subnetwork (10.1.1.0/24) together with the second interface of the router which has address 10.1.1.254.Įach host has also a default gateway assigned (in addition to IP address and Subnet Mask). i.e 2 ).įrom the picture above, Host A and Host B belong to the same local subnetwork (10.0.0.0/24) and are connected to the same switch together with a router interface.

mac network settings router subnet mask

If you do a logical AND operation between the IP address and the subnet mask, you will find the Network potion of the address:ġ0.0.0.2 AND 255.255.255.0 = 10.0.0.0 (The network part is 10.0.0 and the remaining part is the host part. The subnet mask is the one which identifies the Network Part portion of the IP address assigned to the host.įor our example above, the host with IP 10.0.0.2 is assigned also a subnet mask 255.255.255.0. Every host on a TCP/IP network is configured with an IP address AND a subnet mask. They know this information using the “ Subnet Mask”. Now, how do devices on the network know which portion is the network part and which is the host part of their assigned IP address? Think about the Network part as a multi dueling Building Address number, and the Host part as your apartment number inside this building.įor example, building address “Building XYZ” is the network IP address part, and “Apartment number 2” is the host address part.įor example IP address 10.0.0.2 which identifies a single host, contains the network part 10.0.0 and the host part 2.

mac network settings router subnet mask

This is a post for people new to networking that have just started learning IP addressing and the basis of routing and subnetting.Įvery host or device on a TCP/IP network MUST have an IP address assigned in order to communicate with other devices.Īn IP address consists of a network part and a host part.







Mac network settings router subnet mask