Results 1 to 2 of 2

Thread: Cần giúp đỡ BGP

  1. #1

    Default Cần giúp đỡ BGP

    Chào mọi người,
    Mình có 1 thắc mắc nhờ mọi người giúp đỡ. Xem hình bài Lab.

    Cấu hình như sau:
    Aspen#show run | begin router
    router bgp 300
    no synchronization
    bgp log-neighbor-changes
    neighbor 192.168.1.221 remote-as 100
    no auto-summary

    Vail#sho run | begin router
    router bgp 100
    no synchronization
    bgp log-neighbor-changes
    neighbor 192.168.1.222 remote-as 300
    neighbor 192.168.1.225 remote-as 200
    no auto-summary

    Taos#sho run | begin router
    router eigrp 200
    passive-interface Serial1/0
    network 192.168.1.0
    network 192.168.100.0
    auto-summary
    !
    router bgp 200
    no synchronization
    bgp log-neighbor-changes
    redistribute eigrp 200
    neighbor 192.168.1.226 remote-as 100
    no auto-summary

    AngelFire#sho run | begin router
    router eigrp 200
    network 192.168.1.0
    network 192.168.200.0
    auto-summary

    Theo mình hiểu thì để BGP router quảng bá IGP route đến eBGP peer thì phải distribute IGP route vào BGP hoặc dùng network command để quảng bá. Còn eBGP router sẽ quảng bá routes tự động cho các eBGP peer khác. Trong bài lab này thì router Taos quảng bá route 192.168.100.0 đến Vail và Vail quảng bá tiếp tục đến Aspen. Do vậy routing table của Aspen có network 192.168.100.0
    Aspen#sho 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, su - IS-IS summary, 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

    B 192.168.200.0/24 [20/0] via 192.168.1.221, 0124
    192.168.1.0/24 is variably subnetted, 4 subnets, 2 masks
    B 192.168.1.0/24 [20/0] via 192.168.1.221, 0124
    B 192.168.1.224/30 [20/0] via 192.168.1.221, 0124
    B 192.168.1.216/30 [20/0] via 192.168.1.221, 0124
    C 192.168.1.220/30 is directly connected, Ethernet0/0
    B 192.168.100.0/24 [20/0] via 192.168.1.221, 0124

    Aspen#sho ip bgp
    BGP table version is 6, local router ID is 192.168.1.222
    Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
    r RIB-failure, S Stale
    Origin codes: i - IGP, e - EGP, ? - incomplete

    Network Next Hop Metric LocPrf Weight Path
    *> 192.168.1.0 192.168.1.221 0 100 200 ?
    *> 192.168.1.216/30 192.168.1.221 0 100 200 ?
    *> 192.168.1.224/30 192.168.1.221 0 100 200 ?
    *> 192.168.100.0 192.168.1.221 0 100 200 ?
    *> 192.168.200.0 192.168.1.221 0 100 200 ?

    Tuy nhiên tại sao Vail lại không quảng bá network 192.168.1.220/30 đến Taos? Cần điều kiện gì để Vail quảng bá network này đến Taos ?
    Taos#sho 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, su - IS-IS summary, 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

    D 192.168.200.0/24 [90/409600] via 192.168.1.217, 02:15:10, Ethernet0/0
    192.168.1.0/24 is variably subnetted, 3 subnets, 2 masks
    D 192.168.1.0/24 is a summary, 02:15:08, Null0
    C 192.168.1.224/30 is directly connected, Serial1/0
    C 192.168.1.216/30 is directly connected, Ethernet0/0
    C 192.168.100.0/24 is directly connected, Loopback0

    Taos#sho ip bgp
    BGP table version is 6, local router ID is 192.168.100.1
    Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
    r RIB-failure, S Stale
    Origin codes: i - IGP, e - EGP, ? - incomplete

    Network Next Hop Metric LocPrf Weight Path
    *> 192.168.1.0 0.0.0.0 281600 32768 ?
    *> 192.168.1.216/30 0.0.0.0 0 32768 ?
    *> 192.168.1.224/30 0.0.0.0 0 32768 ?
    *> 192.168.100.0 0.0.0.0 0 32768 ?
    *> 192.168.200.0 192.168.1.217 409600 32768 ?

    Cảm ơn.
    Attached Images Attached Images
    Last edited by rintrum; 10-10-2007 at 03:59 PM.

  2. #2

    Default

    Chào minhnguyenfr,

    Nếu mình thêm vào cấu hình của Vail câu lệnh quảng bá network 192.168.1.220 mask 255.255.255.252 thì Vail sẽ quảng bá network này đến Taos.
    Taos#sho ip bgp neighbors 192.168.1.226 routes
    BGP table version is 7, local router ID is 192.168.100.1
    Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
    r RIB-failure, S Stale
    Origin codes: i - IGP, e - EGP, ? - incomplete

    Network Next Hop Metric LocPrf Weight Path
    *> 192.168.1.220/30 192.168.1.226 0 0 100 i

    Total number of prefixes 1
    Taos#sho 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, su - IS-IS summary, 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

    D 192.168.200.0/24 [90/409600] via 192.168.1.217, 00:04:52, Ethernet0/0
    192.168.1.0/24 is variably subnetted, 4 subnets, 2 masks
    D 192.168.1.0/24 is a summary, 00:05:12, Null0
    C 192.168.1.224/30 is directly connected, Serial1/0
    C 192.168.1.216/30 is directly connected, Ethernet0/0
    B 192.168.1.220/30 [20/0] via 192.168.1.226, 00:00:50
    C 192.168.100.0/24 is directly connected, Loopback0

    Tuy nhiên theo mình hiểu thì eBGP sẽ tự động quảng bá route đến các eBGP khác mà không cần cấu hình network chứ nhỉ?
    Cảm ơn nhiều.
    Last edited by rintrum; 11-10-2007 at 07:45 PM.

Similar Threads

  1. giúp đỡ ASA 5520
    By media2005 in forum FIREWALL - VPN / SNAF - SNAA
    Replies: 10
    Last Post: 24-07-2008, 03:40 PM
  2. XIn giúp mình về sóng radio? Mô tả và tính năng?
    By quangmh in forum ICND 1 - Basic Wireless LAN config
    Replies: 2
    Last Post: 16-02-2004, 03:53 PM
  3. Các bác giúp tôi với!!!
    By doanhung in forum ISCW
    Replies: 1
    Last Post: 15-12-2003, 02:38 PM
  4. Mong được sự giúp đỡ về tài liệu CCNA tại Hà Nội
    By BlackMask in forum Các website và sách hữu ích cho việc học networking
    Replies: 9
    Last Post: 25-10-2003, 11:50 PM
  5. Xin giúp về kiến thức mạng
    By nguytanphuc in forum Dành cho người mới đến
    Replies: 6
    Last Post: 27-08-2003, 09:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 
   TRUNG TÂM TIN HỌC VNPRO
149/1D Ung Văn Khiêm, P. 25, Q.Bình Thạnh
Phone:(08) 35124257
Fax: (08) 35124314
Email: vnpro@vnpro.org
Powered by vBulletin Version 4.2.1
Copyright 2000 - 2011, Jelsoft Enterprises Ltd.
License owned by : VietProfessional Co.,Ltd
 

Ve may bay |Ve may bay gia re |Ve may bay di Ha Noi |Ve may bay di Nha Trang |Ve may bay di Da Nang |Ve may bay di Da Lat |Ve may bay di Vinh |Ve may bay di Hue |Ve may bay di Con Dao |Ve may bay di TP HCM |Air Asia |Tiger Airways |Vietnam Airlines |Lion Air |Aeroflot |Jetstar |Vietjet Air |Asiana |Delta Airlines |Singapore Airlines |Thai Airways |quantas |Turkish Airlines |China Southern Airlines |Air China |Ve may bay gia re |Ve may bay di Anh |Ve may bay di Canada |Ve may bay di Ha Lan |Ve may bay di Han Quoc |Ve may bay di Hong Kong |Ve may bay di Y |Ve may bay di Italia |Ve may bay di Malaysia |Ve may bay di Nga |Ve may bay di Phap |Ve may bay di Philippines |Ve may bay di Singapore |Ve may bay di Thai Lan |Ve may bay di Trung Quoc |Ve may bay di Uc |Ve may bay di Ukraina |Ve may bay di Duc |Ve may bay di My |Ve may bay di My