Address Class |
Default Subnet Mask |
---|---|
A |
255.0.0.0 |
B |
255.255.0.0 |
C |
255.255.255.0 |
Default Gateways
Default gateways are the means by which a device can access hosts on other networks for which it does not have a specifically configured route. Most workstation configurations actually just use a default gateway rather than having any static routes configured. Such a configuration is practical because workstations are typically only connected to one network, and thus have only one way off that network.
When a system wants to communicate with another device, it first determines whether the host is on the local network or a remote network. If the host is on a remote network, the system looks in the routing table to determine whether it has an entry for the network that the remote host is on. If it does, it uses that route. If it does not, the data is sent to the default gateway.
In essence, the default gateway is simply the path out of the network for a given device.