发新话题
打印

[问题求助] 有关TCP/IP V2的一个LAB问题

有关TCP/IP V2的一个LAB问题

1.拓扑图如下:书中3-8图
2.相关配置如下(路由协议配置部分):
Taos:
!
router bgp 200
no synchronization
bgp log-neighbor-changes
network 192.168.1.216 mask 255.255.255.252
network 192.168.1.224 mask 255.255.255.252
network 192.168.100.0
network 192.168.200.0
neighbor 192.168.1.226 remote-as 100
no auto-summary
!
Vail:
router ospf 1
log-adjacency-changes
redistribute bgp 100 subnets
network 192.168.1.221 0.0.0.0 area 0
network 192.168.255.254 0.0.0.0 area 0
!
router bgp 100
synchronization
bgp log-neighbor-changes
neighbor 192.168.1.210 remote-as 300
neighbor 192.168.1.225 remote-as 200
neighbor 192.168.255.253 remote-as 100
neighbor 192.168.255.253 update-source Loopback0
neighbor 192.168.255.253 next-hop-self
no auto-summary
!
Aspen:
router ospf 1
log-adjacency-changes
network 192.168.1.0 0.0.0.255 area 0
!
Telluride:
router ospf 1
log-adjacency-changes
redistribute bgp 100 subnets
network 192.168.1.194 0.0.0.0 area 0
network 192.168.1.197 0.0.0.0 area 0
network 192.168.255.253 0.0.0.0 area 0
!
router bgp 100
synchronization
bgp log-neighbor-changes
neighbor 192.168.1.205 remote-as 400
neighbor 192.168.255.254 remote-as 100
neighbor 192.168.255.254 update-source Loopback0
neighbor 192.168.255.254 next-hop-self
no auto-summary
!
Alta:
!
router bgp 400
no synchronization
bgp log-neighbor-changes
network 192.168.1.200 mask 255.255.255.252
network 192.168.1.204 mask 255.255.255.252
network 192.168.50.0
network 192.168.75.0
neighbor 192.168.1.206 remote-as 100
no auto-summary
!
Tahoe:
router bgp 300
no synchronization
bgp log-neighbor-changes
network 192.168.1.208 mask 255.255.255.252
network 192.168.1.212 mask 255.255.255.252
network 192.168.250.0
neighbor 192.168.1.209 remote-as 100
no auto-summary
!
3.有几个问题问一下,小弟新手,请多指教

(1)Telluride的BGP表显示有带r的,什么原因产生的?

Telluride#sh ip bgp
BGP table version is 134, local router ID is 192.168.1.206
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.200/30 192.168.1.205            0             0 400 i
r> 192.168.1.204/30 192.168.1.205            0             0 400 i
* i192.168.1.208/30 192.168.255.254          0    100      0 300 i
r>i192.168.1.212/30 192.168.255.254          0    100      0 300 i
r>i192.168.1.216/30 192.168.255.254          0    100      0 200 i
* i192.168.1.224/30 192.168.255.254          0    100      0 200 i
*> 192.168.50.0     192.168.1.205            0             0 400 i
*> 192.168.75.0     192.168.1.205            0             0 400 i
r>i192.168.100.0    192.168.255.254          0    100      0 200 i
r>i192.168.200.0    192.168.255.254          0    100      0 200 i
r>i192.168.250.0    192.168.255.254          0    100      0 300 i

(2)Telluride的路由表如下,为何ping 不通192.168.100.1
B    192.168.75.0/24 [20/0] via 192.168.1.205, 00:45:53
O E2 192.168.200.0/24 [110/1] via 192.168.1.198, 00:31:36, Ethernet0/0
O E2 192.168.250.0/24 [110/1] via 192.168.1.198, 00:31:36, Ethernet0/0
     192.168.255.0/32 is subnetted, 2 subnets
O       192.168.255.254 [110/21] via 192.168.1.198, 00:31:36, Ethernet0/0
C       192.168.255.253 is directly connected, Loopback0
B    192.168.50.0/24 [20/0] via 192.168.1.205, 00:45:53
     192.168.1.0/30 is subnetted, 7 subnets
B       192.168.1.200 [20/0] via 192.168.1.205, 00:45:53
C       192.168.1.204 is directly connected, Serial1/0
C       192.168.1.192 is directly connected, Ethernet2/0
C       192.168.1.196 is directly connected, Ethernet0/0
O E2    192.168.1.216 [110/1] via 192.168.1.198, 00:31:36, Ethernet0/0
O       192.168.1.220 [110/20] via 192.168.1.198, 00:31:36, Ethernet0/0
O E2    192.168.1.212 [110/1] via 192.168.1.198, 00:31:36, Ethernet0/0
O E2 192.168.100.0/24 [110/1] via 192.168.1.198, 00:31:36, Ethernet0/0
router#ping 192.168.100.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.100.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
(3)Taos 为什么没学到192.168.1.220/30呢?并且ping 192.168.75.1不通?
Taos#sh ip bgp
BGP table version is 45, local router ID is 192.168.200.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.200/30 192.168.1.226                          0 100 400 i
*> 192.168.1.208/30 192.168.1.226                          0 100 300 i
*> 192.168.1.212/30 192.168.1.226                          0 100 300 i
*> 192.168.1.216/30 0.0.0.0                  0         32768 i
*> 192.168.1.224/30 0.0.0.0                  0         32768 i
*> 192.168.50.0     192.168.1.226                          0 100 400 i
*> 192.168.75.0     192.168.1.226                          0 100 400 i
*> 192.168.100.0    0.0.0.0                  0         32768 i
*> 192.168.200.0    0.0.0.0                  0         32768 i
*> 192.168.250.0    192.168.1.226                          0 100 300 i
(3)帮忙讲讲IGP与IBGP同步问题?

小弟问题多多,请大家多指教!thanks

TOP

r> 192.168.1.204/30 192.168.1.205            0             0 400 i   
                                      这一条是它直连的网段所以不会装进BGP表中
* i192.168.1.208/30 192.168.255.254          0    100      0 300 i
r>i192.168.1.212/30 192.168.255.254          0    100      0 300 i
r>i192.168.1.216/30 192.168.255.254          0    100      0 200 i
* i192.168.1.224/30 192.168.255.254          0    100      0 200 i
*> 192.168.50.0     192.168.1.205            0             0 400 i
*> 192.168.75.0     192.168.1.205            0             0 400 i
r>i192.168.100.0    192.168.255.254          0    100      0 200 i
r>i192.168.200.0    192.168.255.254          0    100      0 200 i
r>i192.168.250.0    192.168.255.254          0    100      0 300 i
剩下的这五条通过BGP通告给R2(vail)然后由R2通告给它的ibgp对等体Telluride时此时传过来的路由条目的AD值为200,小于重发布到ospf中的110,故安装进路由表失败。

TOP

小于重发布到ospf中的110,故安装进路由表失败

TOP

发新话题