196
Network layer
R1 will forward the route information for subnet 192.168.100.0/30. R1 will not forward route information for subnet 192.168.100.4/30.
Layer 3 addressing is hierarchical because it allows the division of networks into subnets. For example, one route entry can refer to a large general network and another can refer to a subnet of that same network. When forwarding a packet, the router will select the most specific route that it knows. However, if a specific subnet is not in the routing table but the larger network that holds the subnet is known, then the router will send it to the larger network, trusting that another router will find the subnet.
R1(Config)#ip route x.x.x.x y.y.y.y z.z.z.z X will be the source network Y will be the source network's subnet mask Z will be the destination network. *Note you can also set the destination as an outbound interface.
Yes, it must be on the same network segment or you won't be able to route a packet outside of your network segment. --- In simple home networks, the default gateway will be within the scope of the subnet mask. Some devices will enforce this (artificial) requirement. But it's entirely possible to engineer a network with a gateway that is not within the scope of the subnet mask (if the device will allow it). Image two logical networks that run on the same physical network. It's just not a common configuration.
ip addresses from 172.16.0.0 thru 172.31.255.255 are private and do not route on the internet.
ip route x.x.x.x y.y.y.y destionation k where: x= IP address y= subnet mask
If (for example) the first 20 bits of the subnet masks are "1", then any IP address that shares the same 20 bits with the IP address of my computer is in the same subnet.Note that a subnet only indicates the size of the current subnet, the subnet in which your computer (for example) is located. Other subnets of a network may have different sizes; this can't be ascertained just by looking at you IP address and subnet. Nor is it relevant for your computer: The computer only has to know that anything outside the subnet has to be sent first to the default gateway - the server or router that connects your subnet to the remainder of the net.If (for example) the first 20 bits of the subnet masks are "1", then any IP address that shares the same 20 bits with the IP address of my computer is in the same subnet.Note that a subnet only indicates the size of the current subnet, the subnet in which your computer (for example) is located. Other subnets of a network may have different sizes; this can't be ascertained just by looking at you IP address and subnet. Nor is it relevant for your computer: The computer only has to know that anything outside the subnet has to be sent first to the default gateway - the server or router that connects your subnet to the remainder of the net.If (for example) the first 20 bits of the subnet masks are "1", then any IP address that shares the same 20 bits with the IP address of my computer is in the same subnet.Note that a subnet only indicates the size of the current subnet, the subnet in which your computer (for example) is located. Other subnets of a network may have different sizes; this can't be ascertained just by looking at you IP address and subnet. Nor is it relevant for your computer: The computer only has to know that anything outside the subnet has to be sent first to the default gateway - the server or router that connects your subnet to the remainder of the net.If (for example) the first 20 bits of the subnet masks are "1", then any IP address that shares the same 20 bits with the IP address of my computer is in the same subnet.Note that a subnet only indicates the size of the current subnet, the subnet in which your computer (for example) is located. Other subnets of a network may have different sizes; this can't be ascertained just by looking at you IP address and subnet. Nor is it relevant for your computer: The computer only has to know that anything outside the subnet has to be sent first to the default gateway - the server or router that connects your subnet to the remainder of the net.
VLSM (Variable Length Subnet Mask) Allows more than one subnet mask to exist within a network allows subnetting of an already subnetted network address. More Efficient use of IP addresses- Without the use of VLSM, companies must implement a single subnet mast within an entire Class A, B, or C network number. Greater capability to use route summarization - VLSM allows more hierarchical levels within an addressing plan and thus allows better route summarization within routing tables. Isolation of topology changes from other routers- Another advantage to using VLSM enabled route summarization in a large, complex network is that it can isolate topology changes from other routers.
ip classless
Use the syntax: route add xxx.xxx.xxx.xxx mask xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx meaning: route add (destination address) mask (subnet mask) (gateway) For example, if you are on the 192.168.1.0 network with a gateway of 192.168.1.1 that is configured to access the 10.10.10.0/24 network, your statement would look like this: route add 10.10.10.0 mask 255.255.255.0 192.168.1.1 Note: you need to add the "-p" switch to the statement in order for the route to stay after reboot. (route -p add 10.10.10.0 mask 255.255.255.0 192.168.1.1)
The function of a network router is to rout signals from one computer with another, while allowing multiple computers to be networked together as the same time.