Static Route
Identify Default gateway What is the default gateway for PC1 PC2 r1 r2 PC1PC2
Routing Table When all the connecting interfaces are ‘up’, the routing table : C C C C – connected networks
Static route Needs three parameters Destination network Subnet mask default gateway address ROUTER(CONFIG)# ip route Example: ip route
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 R2(config)# ip route
Default Static Route Default route is to any destination, any subnet mask thru a gateway Default Route at R2 R2(config)# ip route Internet /30.
IP Address Wastage How many addresses are wasted on /24 network? = /24 network? = /24 network? = Hosts 55 Hosts
Solution – IP Address Wastage Subnetting IP address space Borrow bits from host address space to create subnetworks Example: Class C address – /24 Borrow from last byte /24
Next Week Subnetting IP address Space