Static Route. Identify Default gateway What is the default gateway for PC1 PC2 r1 r2 PC1PC2.
-
Upload
rosemary-melton -
Category
Documents
-
view
225 -
download
0
Transcript of Static Route. Identify Default gateway What is the default gateway for PC1 PC2 r1 r2 PC1PC2.
Static Route
Identify Default gatewayWhat is the default
gateway for PC1PC2r1r2
PC1 PC2
Routing TableWhen all the
connecting interfaces are ‘up’, the routing table :
C 192.168.100.0C 192.168.10.1C 192.168.200.1
C – connected networks
Static routeNeeds three parametersDestination network Subnet mask default gateway address
ROUTER(CONFIG)# ip route <destination network > <subnet mask> <default-gateway address>
Example:ip route 192.168.100.0 255.255.255.0 192.168.20.1
Static route
R1 does not know about Fa0/0 network R2 does not know about Fa0/1 network Static routes is set up to inform these routes
R1(config)# ip route 192.168.10.0 255.255.255.0 192.168.200.1
R2(config)# ip route 192.168.100.0 255.255.255.0 192.168.200.2
Default Static Route
Default route is to any destination, any subnet mask thru a gateway
Default Route at R2R2(config)# ip route 0.0.0.0 0.0.0.0 200.1.2.2
Internet
200.1.2.2/30.
IP Address Wastage How many addresses
are wasted on192.168.102.0/24
network? 254-20 = 234192.168.100.0/24
network?254-2 = 252 192.168.101.0/24
network?254-55 = 199
20 Hosts
55 Hosts
Solution – IP Address Wastage Subnetting IP address space
Borrow bits from host address space to create subnetworks
Example: Class C address – 192.168.100.0/24
Borrow from last byte 192.168.100.0/24
Next Week
Subnetting IP address Space