Routing Advanced
Routing Advanced
Routing Advanced
Network route
Host route
Network Route
- Used for the whole network
- For example: R1 wants to go “192.168.2.1” host. But R1 write the following
command.
- ip route 192.168.2.0 255.255.255.0 10.0.0.2
- “192.168.2.0 255.255.255.0” = 192.168.2.0/24 (for 254 hosts)
Host Route
- Used for the specific host
- For example: R1 wants to go “192.168.2.1” host. Now R1 write the
following command.
- ip route 192.168.2.1 255.255.255.255 10.0.0.2
- “192.168.2.1 255.255.255.255” = 192.168.2.1/32 (for 1 hosts)