:wink:
Chào các bạn ,
Tôi có cấu hình như sau :
18.1.1.1 18.1.3.1 18.1.2.1
R1---------------R2---------------R3
Các IP bên trên được xem như routerID của các router. R1, R3 là router không phải của Cisco. Mục đích chỉ muốn cấu hình BGP giữa các router với nhau
R1 và R3 sau khi cấu hình đã thiết lập session với R2 và trao đổi route. Vấn đề ở đây là R2 không quảng bá routes ra bên ngoài
Đây là bảng route của R2
CISCO1#show ip route
Codes: C - connected, S - static, 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
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 47.17.231.1 to network 0.0.0.0
16.0.0.0/24 is subnetted, 1 subnets
C 16.16.10.0 is directly connected, Loopback20
18.0.0.0/32 is subnetted, 3 subnets
B 18.1.2.1 [200/0] via 55.1.1.5, 00:16:47
C 18.1.3.1 is directly connected, Loopback1
B 18.1.1.1 [200/0] via 55.1.1.1, 00:16:47
55.0.0.0/30 is subnetted, 2 subnets
C 55.1.1.4 is directly connected, ATM3/0.100
C 55.1.1.0 is directly connected, ATM5/0.100
47.0.0.0/24 is subnetted, 1 subnets
C 47.17.231.0 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 47.17.231.1
CISCO1#
Bảng route của R1
Prefix NextHop Type/Distance Cost/Age Interface
------------------ --------------- ------------- -------- ----------
18.1.1.1/32 CONNECTED 0
... ...
55.1.1.0/30 CONNECTED 1 ser1-pe-trunk
Bảng route của R3
Prefix NextHop Type/Distance Cost/Age Interface
------------------ --------------- ------------- -------- ----------
18.1.2.1/32 CONNECTED 0
... ...
55.1.1.4/30 CONNECTED 1 ser2-pe-trunk
... ...
Còn đây là cấu hình của R2
interface ATM3/0.100 point-to-point
ip address 55.1.1.6 255.255.255.252
no ip route-cache
no ip mroute-cache
atm pvc 100 0 100 aal5snap
mpls label protocol ldp
tag-switching ip
!
interface ATM5/0.100 point-to-point
ip address 55.1.1.2 255.255.255.252
no ip route-cache
no ip mroute-cache
atm pvc 100 0 100 aal5snap
mpls ldp discovery transport-address 55.1.1.2
mpls label protocol ldp
tag-switching ip
!
router bgp 100
no synchronization
bgp log-neighbor-changes
neighbor 55.1.1.1 remote-as 100
neighbor 55.1.1.1 update-source ATM5/0.100
neighbor 55.1.1.5 remote-as 100
neighbor 55.1.1.5 update-source ATM3/0.100
no auto-summary
!
Các bạn có biết cấu hình trên thiếu sót gì không xin chỉ giúp.
Cám ơn rất nhiều
Chào các bạn ,
Tôi có cấu hình như sau :
18.1.1.1 18.1.3.1 18.1.2.1
R1---------------R2---------------R3
Các IP bên trên được xem như routerID của các router. R1, R3 là router không phải của Cisco. Mục đích chỉ muốn cấu hình BGP giữa các router với nhau
R1 và R3 sau khi cấu hình đã thiết lập session với R2 và trao đổi route. Vấn đề ở đây là R2 không quảng bá routes ra bên ngoài
Đây là bảng route của R2
CISCO1#show ip route
Codes: C - connected, S - static, 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
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 47.17.231.1 to network 0.0.0.0
16.0.0.0/24 is subnetted, 1 subnets
C 16.16.10.0 is directly connected, Loopback20
18.0.0.0/32 is subnetted, 3 subnets
B 18.1.2.1 [200/0] via 55.1.1.5, 00:16:47
C 18.1.3.1 is directly connected, Loopback1
B 18.1.1.1 [200/0] via 55.1.1.1, 00:16:47
55.0.0.0/30 is subnetted, 2 subnets
C 55.1.1.4 is directly connected, ATM3/0.100
C 55.1.1.0 is directly connected, ATM5/0.100
47.0.0.0/24 is subnetted, 1 subnets
C 47.17.231.0 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 47.17.231.1
CISCO1#
Bảng route của R1
Prefix NextHop Type/Distance Cost/Age Interface
------------------ --------------- ------------- -------- ----------
18.1.1.1/32 CONNECTED 0
... ...
55.1.1.0/30 CONNECTED 1 ser1-pe-trunk
Bảng route của R3
Prefix NextHop Type/Distance Cost/Age Interface
------------------ --------------- ------------- -------- ----------
18.1.2.1/32 CONNECTED 0
... ...
55.1.1.4/30 CONNECTED 1 ser2-pe-trunk
... ...
Còn đây là cấu hình của R2
interface ATM3/0.100 point-to-point
ip address 55.1.1.6 255.255.255.252
no ip route-cache
no ip mroute-cache
atm pvc 100 0 100 aal5snap
mpls label protocol ldp
tag-switching ip
!
interface ATM5/0.100 point-to-point
ip address 55.1.1.2 255.255.255.252
no ip route-cache
no ip mroute-cache
atm pvc 100 0 100 aal5snap
mpls ldp discovery transport-address 55.1.1.2
mpls label protocol ldp
tag-switching ip
!
router bgp 100
no synchronization
bgp log-neighbor-changes
neighbor 55.1.1.1 remote-as 100
neighbor 55.1.1.1 update-source ATM5/0.100
neighbor 55.1.1.5 remote-as 100
neighbor 55.1.1.5 update-source ATM3/0.100
no auto-summary
!
Các bạn có biết cấu hình trên thiếu sót gì không xin chỉ giúp.
Cám ơn rất nhiều
Comment