Routing Static
Routing Static
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 1
Basic Routing Concepts
IP Routing is the process of delivering packets from one
network to another.
Routers do not concern about HOSTS , the only thing is
important to routers , is NETWORKS.
Routing process is based on Layer 3 addresses.
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 2
Basic Routing Concepts
Routing Table
Q. How Does a router learn Paths to other networks ?
A. They know their connected networks.
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 3
Basic Routing Concepts
Routing Table
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 4
Basic Routing Concepts
Routing Table
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 5
Basic Routing Concepts
Routing Table
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 6
Static Routing
Concepts
Connected subnet has been learnt automatically with the "C"
pointer (Directly connected).
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 7
Static Routing
Configuration
Router(config)# ip route <Network-ID> <Mask> <Exit-interface>
| <Next-hop-IP-address>
Router# show ip route
Example
Router(config)# ip route 192.168.3.0 255.255.255.0 serial 1/0
10.10.10.2
Adds the route to the network 192.168.3.0 trough the interface
S1/0 and the next hop address of 10.10.10.2.
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 8
Static Routing Configuration
Verifikasi konektivitas
R1 ke R2
ip route 192.168.12.0 255.255.255.0 fa0/1
ip route 192.168.22.0 255.255.255.0 172.16.1.2
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 9
Static Routing
Static Route
Default Route
Router(config)# ip route 0.0.0.0 0.0.0.0 <Exit-interface> |
<Next-hop-IP-address>
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 10
Default Route Configuration
Verifikasi konektivitas
R1-R10
ip route 0.0.0.0 0.0.0.0 fa0/1
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 11
Static Routing
Static Route
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 12
Loopback Interface
Interface Loopback
Router
sebagai virtual interface
router dan berfungsi
Lo1 Lo2 untuk testing routing
Lo3 protocol /
merepresentasikan
sebuah network
Cara membuat interface
loopback:
interface loopback 1
ip address 1.1.1.1 255.255.255.255
Buatlah interface loopback pada masing-masing Router:
interface loopback X
ip address x.x.x.x 255.255.255.255
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 13