ROUTING

Ebru Otan 09 Haziran 2012 0

Static Route nasıl yazılır?

 

R0(config)#ip route 172.16.2.0 255.255.255.0 212.85.95.2

R0(config)#ip route Hedef Network Hedef SM Hedef Router Bacağı

 

R0(config)#ip route 172.16.2.0 255.255.255.0 serial 0/0/0

R0(config)#ip route Hedef Network Hedef SM Source Interface

Routing

                 A) IGP                                                                       B) EGP

Interior Gateway Protocol                                        External Gateway Protocol

  1. Static                                                                          1.   BGP
  2. Dynamic : RIP, EIGRP, OSPF, IS-IS

 

 

Network Kodları

 

R0

Router>en

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#host R0

R0(config)#int s 0/0/0

R0(config-if)#ip add 212.85.95.1 255.255.255.252

R0(config-if)#no sh

 

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down

R0(config-if)#exit

R0(config)#int loopback 0

 

R0(config-if)#

%LINK-5-CHANGED: Interface Loopback0, changed state to up

 

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up

 

R0(config-if)#ip add 172.16.1.1 255.255.255.0

R0(config-if)#

R0(config)#ip route 172.16.2.0 255.255.255.0 212.85.95.2

R0(config)#ip route 212.85.95.4 255.255.255.252 212.85.95.2

 

R1

Router>en

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#host R1

R1(config)#int s 0/0/0

R1(config-if)#ip add 212.85.95.2 255.255.255.252

R1(config-if)#no shut

 

R1(config-if)#

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

 

R1(config-if)#clock rate 64000

R1(config-if)#exit

R1(config)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

 

R1(config)#int s 0/0/1

R1(config-if)#ip add 212.85.95.5 255.255.255.252

R1(config-if)#no sh

 

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down

R1(config-if)#clock rate 64000

R1(config-if)#

R1(config)#ip route 172.16.2.0 255.255.255.0 212.85.95.6

R1(config)#ip route 172.16.1.0 255.255.255.0 212.85.95.1

 

R2

Router>en

Router#conf t

Enter configuration commands, casino online one per line.  End with CNTL/Z.

Router(config)#host R2

R2(config)#int s 0/0/1

R2(config-if)#ip add 212.85.95.6 255.255.255.252

R2(config-if)#no sh

 

R2(config-if)#

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up

 

R2(config-if)#ex

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up

R2(config)#int loopback 0

 

R2(config-if)#

%LINK-5-CHANGED: Interface Loopback0, online slots changed state casino online to up

 

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up

R2(config-if)#ip add 172.16.2.1 255.255.255.0

R2(config-if)#exit

R2(config)#exit

R2#

R2(config)#ip route 172.16.1.0 255.255.255.0 212.85.95.5

R2(config)#ip route 212.85.95.0 255.255.255.252 212.85.95.5

R2(config)#exit

R2#

R2#ping 172.16.1.1

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 40/46/70 ms

 

R2#

 

 

Bağlı olan interfaceleri görüntüleme

R2#sh ip int br

Interface              IP-Address      OK? Method Status                Protocol

 

FastEthernet0/0        unassigned      YES unset  administratively down down

 

FastEthernet0/1        unassigned      YES unset  Dres detox album will see the light of day, 50 Cent has provided an update. administratively down down

 

Serial0/0/0            unassigned      YES unset  administratively down down

 

Serial0/0/1            212.85.95.6     YES manual up                    up

 

Loopback0              172.16.2.1      YES manual up                    up

 

Vlan1                  unassigned      YES unset  administratively down down

R2#

 

Varolan routeları best online casino  görüntüleme

R2#sh ip route

Codes: C online casino – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP

D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area

N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2

E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP

i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area

* – candidate default, U – per-user static route, o – ODR

P – periodic downloaded static route

 

Gateway of last resort is not set

 

172.16.0.0/24 is subnetted, 2 subnets

S       172.16.1.0 [1/0] via 212.85.95.5

C       172.16.2.0 is directly connected, Loopback0

212.85.95.0/30 is subnetted, 2 subnets

S       212.85.95.0 [1/0] via 212.85.95.5

C       212.85.95.4 is directly connected, Serial0/0/1

R2#

Default Route nasıl yazılır?

Router(config)#ip route 0.0.0.0 0.0.0.0 212.85.95.2

Paketler, hedef ne olursa olsun 212.85.95.2 ye yönlendirilir.

 

Default route S* olarak gösterilir.

 

Router’ın gönderdiği mesajların yazılan komutun arasına girmesini engelleme komutu

R1(config)#line console 0

R1(config-line)#logging synchronous

 

 

Routerda yapılan değişiklikleri gerçek zamanlı olarak görüntüleme

R1#debug ip routing

 

Debugları kapatmak

R1# undebug ip routing

 

 

 

 

Yorum Bırak »