Selam arkadaslar ;
bu calisma bir lan calismasi, umarim yardimci olur ....
sw2, R1, R4, R6 basic erisim configuration lari;
SW2>en
SW2#config t
SW2(config)#int ran fa0/19 - 20 , fa0/22
SW2(config-if-range)#switchport access vlan 2
SW2(config-if-range)#end
SW2#
R1
R1#sh run int e0/0
Building configuration...
Current configuration : 77 bytes
!
interface Ethernet0/0
ip address 10.0.0.1 255.255.255.0
half-duplex
end
R1#sh ip int b
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 10.0.0.1 YES manual up up
Serial0/0 unassigned YES NVRAM administratively down down
Ethernet0/1 unassigned YES NVRAM administratively down down
Serial0/1 unassigned YES NVRAM administratively down down
Loopback0 10.1.1.1 YES manual up up
R1#ping 10.0.0.255 rep 2
Type escape sequence to abort.
Sending 2, 100-byte ICMP Echos to 10.0.0.255, timeout is 2 seconds:
Reply to request 0 from 10.0.0.4, 4 ms
Reply to request 0 from 10.0.0.6, 4 ms
Reply to request 1 from 10.0.0.4, 4 ms
Reply to request 1 from 10.0.0.6, 4 ms
R4
R4#sh run int e0/0
Building configuration...
Current configuration : 77 bytes
!
interface Ethernet0/0
ip address 10.0.0.4 255.255.255.0
half-duplex
end
R4#sh ip int b
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 10.0.0.4 YES manual up up
Serial0/0 unassigned YES NVRAM administratively down down
Ethernet0/1 unassigned YES manual administratively down down
Serial0/1 unassigned YES NVRAM administratively down down
Loopback0 10.1.4.4 YES manual up up
R4#
R4#ping 10.0.0.255 rep 2
Type escape sequence to abort.
Sending 2, 100-byte ICMP Echos to 10.0.0.255, timeout is 2 seconds:
Reply to request 0 from 10.0.0.6, 4 ms
Reply to request 0 from 10.0.0.1, 4 ms
Reply to request 1 from 10.0.0.6, 4 ms
Reply to request 1 from 10.0.0.1, 4 ms
R6
R6#sh run int e0/0
Building configuration...
Current configuration : 77 bytes
!
interface Ethernet0/0
ip address 10.0.0.6 255.255.255.0
half-duplex
end
R6#sh ip int brief
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 10.0.0.6 YES manual up up
Serial0/0 204.61.1.6 YES NVRAM up up
Ethernet0/1 unassigned YES NVRAM up up
Serial0/1 unassigned YES NVRAM administratively down down
Loopback0 10.1.6.6 YES manual up up
R6#
R6#ping 10.0.0.255 rep 2
Type escape sequence to abort.
Sending 2, 100-byte ICMP Echos to 10.0.0.255, timeout is 2 seconds:
Reply to request 0 from 10.0.0.1, 8 ms
Reply to request 0 from 10.0.0.4, 8 ms
Reply to request 1 from 10.0.0.4, 4 ms
Reply to request 1 from 10.0.0.1, 4 ms
--->simdi ospf i network a koyalim R1, R4, R6
R1
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router ospf 10
R1(config-router)#router-id 10.1.1.1
R1(config-router)#netw 10.1.1.1 0.0.0.0 area 0
R1(config-router)#netw 10.0.0.1 0.0.0.0 area 0
R1(config-router)#end
R1#
R1#sh ip ospf int brief | inc (PID|10)
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Et0/0 10 0 10.0.0.1/24 10 DR 2/2
Lo0 10 0 10.1.1.1/32 1 LOOP 0/0
R1#sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.1.4.4 1 FULL/BDR 00:00:36 10.0.0.4 Ethernet0/0
10.1.6.6 1 FULL/DROTHER 00:00:36 10.0.0.6 Ethernet0/0
R1#sh ip route ospf
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O 10.1.6.6/32 [110/11] via 10.0.0.6, 00:06:23, Ethernet0/0
O 10.1.4.4/32 [110/11] via 10.0.0.4, 00:06:23, Ethernet0/0
R4
R4#config t
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)#router ospf 10
R4(config-router)#router-id 10.1.4.4
R4(config-router)#network 10.1.4.4 0.0.0.0 area 0
R4(config-router)#network 10.0.0.4 0.0.0.0 area 0
R4(config-router)#
00:54:12: %OSPF-5-ADJCHG: Process 10, Nbr 10.1.1.1 on Ethernet0/0 from LOADING to FULL, Loading Done
R4(config-router)#end
R4#
R4#sh ip ospf int brief | inc (PID|10)
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Et0/0 10 0 10.0.0.4/24 10 BDR 2/2
Lo0 10 0 10.1.4.4/32 1 LOOP 0/0
R4#sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.1.1.1 1 FULL/DR 00:00:32 10.0.0.1 Ethernet0/0
10.1.6.6 1 FULL/DROTHER 00:00:33 10.0.0.6 Ethernet0/0
R4#sh ip route ospf
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O 10.1.6.6/32 [110/11] via 10.0.0.6, 00:04:26, Ethernet0/0
O 10.1.1.1/32 [110/11] via 10.0.0.1, 00:04:26, Ethernet0/0
R6
R6#config t
Enter configuration commands, one per line. End with CNTL/Z.
R6(config)#router ospf 10
R6(config-router)#router-id 10.1.6.6
R6(config-router)#netw 10.1.6.6 0.0.0.0 area 0
R6(config-router)#netw 10.0.0.6 0.0.0.0 area 0
R6(config-router)#
00:56:22: %OSPF-5-ADJCHG: Process 10, Nbr 10.1.1.1 on Ethernet0/0 from LOADING to FULL, Loading Done
00:56:22: %OSPF-5-ADJCHG: Process 10, Nbr 10.1.4.4 on Ethernet0/0 from LOADING to FULL, Loading Done
R6(config-router)#end
R6#
R6#sh ip ospf int brief | inc (PID|10)
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Et0/0 10 0 10.0.0.6/24 10 DROTH 2/2
Lo0 10 0 10.1.6.6/32 1 LOOP 0/0
R6#sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.1.1.1 1 FULL/DR 00:00:36 10.0.0.1 Ethernet0/0
10.1.4.4 1 FULL/BDR 00:00:37 10.0.0.4 Ethernet0/0
R6#
R6#sh ip route ospf
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O 10.1.4.4/32 [110/11] via 10.0.0.4, 00:02:18, Ethernet0/0
O 10.1.1.1/32 [110/11] via 10.0.0.1, 00:02:18, Ethernet0/0
hersey calisiyor ve DR R1....
--->simdi switch 2 nin portlarina ( fa0/20 , fa0/22) , protected mode koyalim ve tekrar ospf ve network un durumuna bakalim bakalim
Ama oncelikle DR in degismemesi icin R4 ve R6 in e0/0 larina ip ospf priority (sifir rakami koyarsak o interface dr ve bdr secimine katilmaz) command ini verelim boylelikle suna emin oluruz ne olursa olsun R4 ve R6 DR olamaz.nedenmi boyle bir sey yapma ihtiyacini duyuyoruz frame-relay hub and spoke topology lerinde spoke in hic bir zaman DR olmasini istemeyiz(non-broadcast network type)
NOte: DR ve BDR sadece broadcast ve non-broadcast network type larinda secilir.Frame-relay fizikal interfaceleri(sub interfaceler degil, sub interfaceler logical interfacedir ayrica) non broadcast netw typesidir.
R4
R4#
R4#config t
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)#int e0/0
R4(config-if)#ip osp
R4(config-if)#ip ospf priority ?
<0-255> Priority
R4(config-if)#ip ospf priority 0
R4(config-if)#end
R4#
R6
R6#config t
Enter configuration commands, one per line. End with CNTL/Z.
R6(config)#int e0/0
R6(config-if)#ip ospf priority ?
<0-255> Priority
R6(config-if)#ip ospf priority 0
R6(config-if)#end
R6#
--->simdi devam edelim switch portlarina protected koyalim
SW2#sh vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/17, Fa0/18
Fa0/21, Fa0/23, Fa0/24, Fa0/25
Fa0/26, Fa0/27, Fa0/28, Fa0/29
Fa0/30, Fa0/31, Fa0/32, Fa0/33
Fa0/34, Fa0/35, Fa0/36, Fa0/37
Fa0/38, Fa0/39, Fa0/40, Fa0/41
Fa0/42, Fa0/43, Fa0/44, Fa0/45
Fa0/46, Fa0/47, Fa0/48, Gi0/1
Gi0/2
2 VLAN_A active Fa0/19, Fa0/20, Fa0/22
3 VLAN_B active
4 VLAN_C active
5 VLAN_D active
6 VLAN_E active
7 VLAN_F active
8 VLAN_G active
9 VLAN_H active
10 VLAN0010 active
SW2#sh vlan | inc (VLAN_A | 2)
2 VLAN_A active Fa0/19, Fa0/20, Fa0/22
SW2#
SW2#config t
Enter configuration commands, one per line. End with CNTL/Z.
SW2(config)#int range fa0/20 , fa0/22
SW2(config-if-range)#sw
SW2(config-if-range)#switchport protected ?
<cr>
SW2(config-if-range)#switchport protected
SW2(config-if-range)#end
SW2#
simdi routerlere tek tek gidip sonuclara bir bakalim
R1
R1#sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.1.4.4 0 FULL/DROTHER 00:00:31 10.0.0.4 Ethernet0/0
10.1.6.6 0 FULL/DROTHER 00:00:31 10.0.0.6 Ethernet0/0
R1#
R1#sh ip route ospf
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O 10.1.6.6/32 [110/11] via 10.0.0.6, 00:37:20, Ethernet0/0
O 10.1.4.4/32 [110/11] via 10.0.0.4, 00:37:20, Ethernet0/0
R1#
R1#sh ip route 10.1.6.6
Routing entry for 10.1.6.6/32
Known via "ospf 10", distance 110, metric 11, type intra area
Last update from 10.0.0.6 on Ethernet0/0, 00:37:32 ago
Routing Descriptor Blocks:
* 10.0.0.6, from 10.1.6.6, 00:37:32 ago, via Ethernet0/0
Route metric is 11, traffic share count is 1
R1#
R1#sh ip route 10.1.4.4
Routing entry for 10.1.4.4/32
Known via "ospf 10", distance 110, metric 11, type intra area
Last update from 10.0.0.4 on Ethernet0/0, 00:37:41 ago
Routing Descriptor Blocks:
* 10.0.0.4, from 10.1.4.4, 00:37:41 ago, via Ethernet0/0
Route metric is 11, traffic share count is 1
R1#
R1#ping 10.1.4.4 repeat 3
Type escape sequence to abort.
Sending 3, 100-byte ICMP Echos to 10.1.4.4, timeout is 2 seconds:
!!!
Success rate is 100 percent (3/3), round-trip min/avg/max = 1/3/4 ms
R1#
R1#ping 10.1.6.6 repeat 3
Type escape sequence to abort.
Sending 3, 100-byte ICMP Echos to 10.1.6.6, timeout is 2 seconds:
!!!
Success rate is 100 percent (3/3), round-trip min/avg/max = 4/4/4 ms
R1#
R4
R4#
R4#ping 10.1.6.6 rep 3
Type escape sequence to abort.
Sending 3, 100-byte ICMP Echos to 10.1.6.6, timeout is 2 seconds:
...
Success rate is 0 percent (0/3)
R4#
R4#ping 10.1.1.1 rep 3
Type escape sequence to abort.
Sending 3, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!
Success rate is 100 percent (3/3), round-trip min/avg/max = 4/4/4 ms
R6
R6#sh ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
10.1.1.1 1 FULL/DR 00:00:35 10.0.0.1 Ethernet0/0
R6#
R6#sh ip route ospf
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O 10.1.4.4/32 [110/11] via 10.0.0.4, 00:33:04, Ethernet0/0
O 10.1.1.1/32 [110/11] via 10.0.0.1, 00:33:04, Ethernet0/0
R6#
R6#sh ip route 10.1.4.4
Routing entry for 10.1.4.4/32
Known via "ospf 10", distance 110, metric 11, type intra area
Last update from 10.0.0.4 on Ethernet0/0, 00:33:14 ago
Routing Descriptor Blocks:
* 10.0.0.4, from 10.1.4.4, 00:33:14 ago, via Ethernet0/0
Route metric is 11, traffic share count is 1
R6#
R6#ping 10.1.4.4 rep 3
Type escape sequence to abort.
Sending 3, 100-byte ICMP Echos to 10.1.4.4, timeout is 2 seconds:
...
Success rate is 0 percent (0/3)
R6#
R6#ping 10.1.1.1 rep 3
Type escape sequence to abort.
Sending 3, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!
Success rate is 100 percent (3/3), round-trip min/avg/max = 4/4/4 ms
R6#
--->goruldugu uzere R1... R4 ve R6 ile haberlesiyor. ama R4 ile R6 arasinda bir haberlesme yok... simdi olayi gorebiliyoruz bu olay frame-relay in hub and spoke topology sine benziyor. spoke ler hub ile haberlesiyor ama spoke ler bir birleri ile konusamiyorlar....
--->simdi olayi biraz daha irdeleyelim bakalim neden bu boyle oluyor.
R4
R4#clear arp int e0/0
R4#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 0 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.4 - 0050.5464.ba40 ARPA Ethernet0/0
R4#
R4#ping 10.1.6.6 rep 2
Type escape sequence to abort.
Sending 2, 100-byte ICMP Echos to 10.1.6.6, timeout is 2 seconds:
..
Success rate is 0 percent (0/2)
R4#
R4#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 0 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.6 0 Incomplete ARPA
Internet 10.0.0.4 - 0050.5464.ba40 ARPA Ethernet0/0
R6
R6#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 4 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.6 - 0030.809a.8de0 ARPA Ethernet0/0
Internet 10.0.0.4 90 0050.5464.ba40 ARPA Ethernet0/0
R6#clear arp int e0/0
R6#
R6#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 0 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.6 - 0030.809a.8de0 ARPA Ethernet0/0
R6#
R6#ping 10.1.4.4 rep 2
Type escape sequence to abort.
Sending 2, 100-byte ICMP Echos to 10.1.4.4, timeout is 2 seconds:
..
Success rate is 0 percent (0/2)
R6#
R6#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 0 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.6 - 0030.809a.8de0 ARPA Ethernet0/0
Internet 10.0.0.4 0 Incomplete ARPA
--->burada goruldugu gibi arp entry si "Incomplete" gosteriyor,,, R4 un addresine giden mac addresini R6 incomplete goruyor, R6 te R4 un addresine giden mac addresini incomplete goruyor.
--->simdi olayi debug edelim ve ne goruyoruz...
R4
R4#debug ip pac det
IP packet debugging is on (detailed)
R4#ping 10.1.6.6 rep 2
Type escape sequence to abort.
Sending 2, 100-byte ICMP Echos to 10.1.6.6, timeout is 2 seconds:
02:17:07: IP: tableid=0, s=10.0.0.4 (local), d=10.1.6.6 (Ethernet0/0), routed via RIB
02:17:07: IP: s=10.0.0.4 (local), d=10.1.6.6 (Ethernet0/0), len 100, sending
02:17:07: ICMP type=8, code=0
02:17:07: IP: s=10.0.0.4 (local), d=10.1.6.6 (Ethernet0/0), len 100, encapsulation failed
02:17:07: ICMP type=8, code=0.
02:17:09: IP: tableid=0, s=10.0.0.4 (local), d=10.1.6.6 (Ethernet0/0), routed via RIB
02:17:09: IP: s=10.0.0.4 (local), d=10.1.6.6 (Ethernet0/0), len 100, sending
02:17:09: ICMP type=8, code=0
02:17:09: IP: s=10.0.0.4 (local), d=10.1.6.6 (Ethernet0/0), len 100, encapsulation failed
02:17:09: ICMP type=8, code=0.
Success rate is 0 percent (0/2)
R4#
R6
R6#debug ip packet det
IP packet debugging is on (detailed)
R6#ping 10.1.4.4 rep 2
Type escape sequence to abort.
Sending 2, 100-byte ICMP Echos to 10.1.4.4, timeout is 2 seconds:
02:22:13: IP: tableid=0, s=10.0.0.6 (local), d=10.1.4.4 (Ethernet0/0), routed via RIB
02:22:13: IP: s=10.0.0.6 (local), d=10.1.4.4 (Ethernet0/0), len 100, sending
02:22:13: ICMP type=8, code=0
02:22:13: IP: s=10.0.0.6 (local), d=10.1.4.4 (Ethernet0/0), len 100, encapsulation failed
02:22:13: ICMP type=8, code=0.
02:22:15: IP: tableid=0, s=10.0.0.6 (local), d=10.1.4.4 (Ethernet0/0), routed via RIB
02:22:15: IP: s=10.0.0.6 (local), d=10.1.4.4 (Ethernet0/0), len 100, sending
02:22:15: ICMP type=8, code=0
02:22:15: IP: s=10.0.0.6 (local), d=10.1.4.4 (Ethernet0/0), len 100, encapsulation failed
02:22:15: ICMP type=8, code=0.
Success rate is 0 percent (0/2)
R6#un all
All possible debugging has been turned off
R6#
iki routerden aldigimiz sonuclara gore "encapsulation failed" mesaji var bununda manasi layer 3 alt layerlerinde problemimiz var onceki arp sonuclarina baktigimizda incomplete mesaji almistik..iste sonuc olarak R4, R6 ye nasil gidecegini bilmiyor yani R6 in ip addresine ulasmak icin hangi mac addresi kullanacagini bilmiyor(aslinda disari gidecegi interfaceyi biliyor ama next hop mac olayinda basarisiz oluyor, point-to-multipoint olayi). Ortada layer 2 sorunu var.
daha fazla bilgi icin routing olayini arastirin.(routeniin interfaceyi isaret etmesi, route nin next hop u isaret etmesi)
--->cozumune gelince: iki yol izlenebilir burada
1.cozum) R4 ve R6 uzerinde static mac entry leri olusturabiliriz
2.cozum) R1 uzerinde local proxy enable edebiliriz
simdi bu cozumleri yapalim
1.cozum)
R4
R4#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 57 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.6 0 Incomplete ARPA
Internet 10.0.0.4 - 0050.5464.ba40 ARPA Ethernet0/0
R4#config t
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)#arp 10.0.0.6 ?
H.H.H 48-bit hardware address of ARP entry
R4(config)#arp 10.0.0.6 00b0.647d.d520 ?
arpa ARP type ARPA
sap ARP type SAP (HP's ARP type)
smds ARP type SMDS
snap ARP type SNAP (FDDI and TokenRing)
srp-a ARP type SRP (side A)
srp-b ARP type SRP (side B)
R4(config)#arp 10.0.0.6 00b0.647d.d520 ar
R4(config)#arp 10.0.0.6 00b0.647d.d520 arpa
R4(config)#end
R4(config)#
02:52:17: %SYS-5-CONFIG_I: Configured from console by console
R4#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 59 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.6 - 00b0.647d.d520 ARPA
Internet 10.0.0.4 - 0050.5464.ba40 ARPA Ethernet0/0
R4#
R6
R6#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 59 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.6 - 0030.809a.8de0 ARPA Ethernet0/0
Internet 10.0.0.4 0 Incomplete ARPA
R6#config t
Enter configuration commands, one per line. End with CNTL/Z.
R6(config)#arp ?
A.B.C.D IP address of ARP entry
vrf Configure static ARP for a VPN Routing/Forwarding instance
R6(config)#arp 10.0.0.4 00b0.647d.d520 ar
R6(config)#arp 10.0.0.4 00b0.647d.d520 arpa
R6(config)#end
R6#
R6#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 61 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.6 - 0030.809a.8de0 ARPA Ethernet0/0
Internet 10.0.0.4 - 00b0.647d.d520 ARPA
arp 10.0.0.6 00b0.647d.d520 arpa (R4 --- R1 ---R6)
arp 10.0.0.4 00b0.647d.d520 arpa (R6 --- R1 ---R4)
bu islemden sonra incomplete kelimesi ortadan kalti. R4 a diyoruzki R6 e gitmek icin R1 nin mac addresini kullan next hop olarak, tabiki R6 icinde ayni R4 a gitmek icin.
ping edelim simdi
R4
R4#ping 10.1.6.6 rep 2
Type escape sequence to abort.
Sending 2, 100-byte ICMP Echos to 10.1.6.6, timeout is 2 seconds:
!!
Success rate is 100 percent (2/2), round-trip min/avg/max = 4/4/4 ms
R4#
R6
R6#ping 10.1.4.4 rep 2
Type escape sequence to abort.
Sending 2, 100-byte ICMP Echos to 10.1.4.4, timeout is 2 seconds:
!!
Success rate is 100 percent (2/2), round-trip min/avg/max = 4/4/4 ms
R6#
bu cozum ise yarasada 2.cozum kadar iyi ve yonlendirilebilir degil cunku static...bu isin Hack yani birazda
simdi bu cozumu kaldirip yerine 2.cozumu uygulayalim...
R4
R4#config t
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)#no arp 10.0.0.6 00b0.647d.d520 arpa
R4(config)#end
R4#
03:04:51: %SYS-5-CONFIG_I: Configured from console by console
R4#clear arp
R4#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 0 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.4 - 0050.5464.ba40 ARPA Ethernet0/0
R4#ping 10.1.6.6 rep 2
Type escape sequence to abort.
Sending 2, 100-byte ICMP Echos to 10.1.6.6, timeout is 2 seconds:
..
Success rate is 0 percent (0/2)
R4#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 0 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.6 0 Incomplete ARPA
Internet 10.0.0.4 - 0050.5464.ba40 ARPA Ethernet0/0
R4#
R6
R6#config t
Enter configuration commands, one per line. End with CNTL/Z.
R6(config)#no arp 10.0.0.4 00b0.647d.d520 arpa
R6(config)#end
R6#
03:06:36: %SYS-5-CONFIG_I: Configured from console by console
R6#clear arp
R6#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 0 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.6 - 0030.809a.8de0 ARPA Ethernet0/0
R6#ping 10.1.4.4 rep 2
Type escape sequence to abort.
Sending 2, 100-byte ICMP Echos to 10.1.4.4, timeout is 2 seconds:
..
Success rate is 0 percent (0/2)
R6#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 0 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.6 - 0030.809a.8de0 ARPA Ethernet0/0
Internet 10.0.0.4 0 Incomplete ARPA
R6#
2.cozum)
R1
R1#sh ip interface e0/0 | inc ARP
Proxy ARP is enabled
Local Proxy ARP is disabled
R1#
goruldugu uzere R1 da proxy arp disabled edilmis durumda(butun interfaceler icin default) bunu enable etmemiz gerekiyor.local proxy ayni proxy gibi ama bu sadece ayni networkta olan deviceler icin gecerli, yani bizim senariomuza gore R6, R4 e gitmek istediginde R1 bize kendi mac add vererek bizim R6 e kendisi araciligi ile gidebilecegimizi soyluyor. R4 unde R6 ye gitmesi icinde ayni. cunku R1 hub gibi davraniyor fram-relay da oldugu gibi
daha cok bilgi icin local proxy arp a google den bakabilirsiniz.
simdi local proxy i enable edelim.
R1
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int e0/0
R1(config-if)#ip local-proxy-arp ?
<cr>
R1(config-if)#ip local-proxy-arp
R1(config-if)#do sh ip interface e0/0 | inc ARP
Proxy ARP is enabled
Local Proxy ARP is enabled
R1(config-if)#end
R1#
simdi test edelim
R4
R4#
R4#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 12 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.6 1 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.4 - 0050.5464.ba40 ARPA Ethernet0/0
R4#ping 10.1.6.6 rep 2
Type escape sequence to abort.
Sending 2, 100-byte ICMP Echos to 10.1.6.6, timeout is 2 seconds:
!!
Success rate is 100 percent (2/2), round-trip min/avg/max = 4/6/8 ms
R4#
R4#traceroute 10.1.6.6
Type escape sequence to abort.
Tracing the route to 10.1.6.6
1 10.0.0.1 0 msec 0 msec 4 msec
2 10.0.0.6 4 msec * 4 msec
R4#
R6
R6#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 12 00b0.647d.d520 ARPA Ethernet0/0
Internet 10.0.0.6 - 0030.809a.8de0 ARPA Ethernet0/0
Internet 10.0.0.4 2 00b0.647d.d520 ARPA Ethernet0/0
R6#ping 10.1.4.4 rep 2
Type escape sequence to abort.
Sending 2, 100-byte ICMP Echos to 10.1.4.4, timeout is 2 seconds:
!!
Success rate is 100 percent (2/2), round-trip min/avg/max = 4/6/8 ms
R6#trace 10.1.4.4
Type escape sequence to abort.
Tracing the route to 10.1.4.4
1 10.0.0.1 4 msec 4 msec 4 msec
2 10.0.0.4 4 msec * 4 msec
R6#
goruldugu uzere test basarili, mac add entry leri yerli yerinde ve her iki routerde R4 ve R6, R1 e gidiyor birbirlerine gitmek icin trace test i de bunu ispatliyor
burada aslinda gordugumuz olay mac addresi nasil calisir olayi. bir ip addresine gidebilmeniz icin oncelikle next hop un mac addresini ogrenmeniz gerekiyor, yada kendinizin o adrese gidecek olan interfacesini bilmeniz gerekiyor.
bu konuda baska bir konu cunku routin next hop ya interface base yada link sonundaki next devicenin ip addresine yapilir.......
hayirli gunler
tesekkurler
burner
---------------