D-H,appy

관리자 글쓰기
블로그 »
블로그 »
==BGP 3대법칙===

1. Split-horizon 
     (IBGP받은 정보는 IBGP전달 안함)
     (Routing update loop 방지)
     (R3 4.4.4.0/24 경로를 받지 못함)
     (Full mesh)  R1 = R3

2. Next-hop 
     (IBGP부터 받은 정보는 NEXT-HOP 도달가능 우무 확인)
     (AS안에서는 NEXT-HOP이 변경되지 않음 (AS-BY-AS동작))
     R2 (10.1.41.0/24 경로를 모름) 
          ==> R2 10.1.41.0/24 경로를 알게 만들어애함
   (IGP)
     R1 
       router ospf 1
         redistribute connected subnets
   (BGP) 
     R1
       router bgp 2
        neighbor 10.1.12.2 next-hop-self

3. synchronization 
     (IBGP부터 받은 정보는 IGP(OSPF...)확인
     router bgp 2
      no sync  (disable)


R2
 router bgp 2
  network 10.1.12.0 mask 255.255.255.0
  network 10.1.23.0 mask 255.255.255.0


2008/06/23 15:53 2008/06/23 15:53

(go to top)

블로그 »
==Distribute-list==

=EIGRP, RIP=
1. interface  (inbound, outbound)  
2. process   (               , outbound)  ==> 조정하고자 network을 가진 process

=OSPF=
1. interface  (inbound,                  )  
2. process   (                                  )  ==> 조정하고자 network을 가진 process

==Route Map==
 router rip
  redistribute eigrp 109 route-map TEST
  exit

 route-map TEST permit 10
  match ip add 1
  set metric 5

 route-map TEST deny 20
  match ip add 2
  
 route-map TEST permit 30
  match ip add 3
  set metric 3

access-list 1 permit 200.1.1.0 0.0.0.255
access-list 2 permit 200.1.2.0 0.0.0.255
access-list 3 permit 200.1.3.0 0.0.0.255

==AD(Administrative Distance)==
=EIGRP=
R2(config)#router eigrp 1
R2(config-router)#distance eigrp 90 170 

=OSPF=
R4(config-router)#distance ospf external 110 inter-area 110 intra-area 110  

=RIP=
R3(config)#router rip
R3(config-router)#distance 130 192.168.23.2 0.0.0.0  (neighbor ip address)
R3(config-router)#distance 130 0.0.0.0 255.255.255.255 (모든경로 130)
R3(config-router)#distance 130 0.0.0.0 255.255.255.255 22 (access-list 22 match 되는 경로만 130)

R3(config)#access-list 22 permit 40.1.1.0 0.0.0.255

2008/06/23 15:52 2008/06/23 15:52

(go to top)

블로그 »

===========================HSRP====================================
active  1
standby 1
224.0.0.2

show ip arp  (mac,ip address mapping table)
show standby brief
debug standby events


interface vlan 10
ip address 172.16.10.32 255.255.255.0
standby 1 priority 150   (default 100) (1 ~ 255)
standby 1 ip 172.16.10.110
standby 1 preempt  
standby 1 timers 5 15   (default hello 3sec hold 10 sec)
standby 1 track serial 0 50

standby 1 timers msec 200 msec 750
standby 1 preempt delay minimum 180

======multiple HSRP Group(on the same segment)===========
----sw1----
interface vlan 10
ip address 172.16.10.32 255.255.255.0
standby 1 priority 150
standby 1 ip 172.16.10.110
standby 2 priority 50
standby 2 ip 172.16.10.120

----sw2-----
interface vlan 10
ip address 172.16.10.33 255.255.255.0
standby 1 priority 50
standby 1 ip 172.16.10.110
standby 2 priority 150
standby 2 ip 172.16.10.120

=======multiple HSRP Group(different ip subnet)============

----sw1----
interface vlan 10
ip address 172.16.10.32 255.255.255.0
standby 1 priority 150
standby 1 ip 172.16.10.110

interface vlan 20
ip address 172.16.20.32 255.255.255.0
standby 1 priority 50
standby 1 ip 172.16.20.120

----sw2-----
interface vlan 10
ip address 172.16.10.33 255.255.255.0
standby 1 priority 50
standby 1 ip 172.16.10.110

interface vlan 20
ip address 172.16.20.33 255.255.255.0
standby 1 priority 150
standby 1 ip 172.16.20.120

===========================VRRP====================================
master
backup
224.0.0.18

interface vlan 10
ip address 172.16.10.32 255.255.255.0
vrrp 10 ip 10.1.10.1
vrrp 10 priority 150
vrrp 10 timers advertise 4 (default 1sec skew time)

=vrrp skew time=
(256-priority/256)

B의경우 (256-200)/256 = 0.2sec total 3.2
C의경우 (256-100)/256 = 0.6sec total 3.6

===========================GLBP====================================
AVG=active virtual gateway
AVF=active virtual forwarder
224.0.0.102

interface vlan 10
ip address 172.16.10.32 255.255.255.0
glbp 7 ip 10.1.7.1
glbp 7 priority 150  (default 100)
glbp 7 timers msec 250 msec 750 (default hello 3sec hold 10 sec)



P3R3#ping
Protocol [ip]:
Target IP address: 200.1.1.1
Repeat count [5]: 1000
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:

P3R4#traceroute 200.1.1.1

show standby brie

2008/06/18 22:48 2008/06/18 22:48

(go to top)