Merepek Si Kerepek

Friday, November 11, 2011

Cisco command: CREATE STATIC ROUTE


CREATE STATIC ROUTE

Router(config)#ip route [Destination Network][Subnet Mask][Nex Hop Address OR exit interface][Admin_distance][permenant]



XOX---(XoX)---[X]oX----------()

Diagram yang malas...tgk atas..

(XoX) - configure this router
[x] - next hop OR Exit interface
() - destination remote network



STATIC ROUTE NEXT HOP

Router(config)#ip route 172.16.20.0 255.255.255.0 172.16.10.2 150

172.16.20.0 = destination network

255.255.255.0 = subnet mask of remote network

172.16.10.2 = next-hop address

150 = Administrative distance as tie breaker

Read this to say: To get to the destination network of 172.16.20.0, with a subnet mask of 255.255.255.0, send all packets to 172.16.10.2



STATIC ROUTE NEXT INTERFACE

Router(config)#ip route 172.16.20.0 255.255.255.0 s0/0 151

172.16.20.0 = destination network

255.255.255.0 = subnet mask

s0/0 = exit interface

151 = Administrative distance as tie breaker

Read this to say: To get to the destination network of 172.16.20.0, with a subnet mask of 255.255.255.0, send all packets out interface Serial 0/0


=======================================================
Static Route
+static route CORP to 1.6 n 1.7 network
+static route R1 to 1.1 network
=kne buat 2 site utk establish connection
=======================================================