by shinwoo
loopback address 를 이용한 load sharing ..
single homed 에 equal-cost link 존재시 사용한다.
RA:
int loopback 0
ip add 1.1.1.1 255.255.255.255
int s0
ip add 160.20.20.1 255.255.255.0
no ip route-cache
int s1
ip add 150.10.10.1 255.255.255.0
no ip route-cache (route cache를 이용하지 않고 packet by packet으로 로드쉐어링)
route bgp 11
neighbor 2.2.2.2 remote-as 10
neighbor 2.2.2.2 update-source loopback 0
(네이버 2.2.2.2와 peer 형성시 나의 loopback을 이용하여 관계를 형성한다..)
neighbor 2.2.2.2 ebgp-multihop (EBGP상에서 direct conneted 되지 않는 인터페이스와
peer 관계형성시 사용)
RB:
int loopback 0
ip add 2.2.2.2 255.255.255.255
int s0
ip add 160.20.20.2 255.255.255.0
no ip route-cache
int s1
ip add 150.10.10.2 255.255.255.0
no ip route-cache
route bgp 11
neighbor 1.1.1.1 remote-as 11
neighbor 1.1.1.1 update-source loopback 0
neighbor 1.1.1.1 ebgp-multihop
설정중..
no ip route-cache is per-packiet basis
ip route-cache is per-destination basis
cef 를 이용한 per-packet,per-destination 으로 설정가능