- 积分
- 264
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
  
|
拓朴图
问题:RB、RD、RC都无法PING通过RA的1.1.1.1 ,RA无法PING RB和RD和RC的2.2.2.2、4.4.4.4、3.3.3.3. RB、RC、RD可以相互通信。
以下为详细配置和路由表:
RA:
<H3C>dis current-configuration
#
interface Serial5/0
link-protocol ppp
ip address 10.10.10.1 255.255.255.0
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
bgp 65000
router-id 1.1.1.1
network 1.1.1.1 255.255.255.255
undo synchronization
peer 10.10.20.2 as-number 65300
peer 10.10.10.2 as-number 65300
<H3C>dis bgp routing-table
Total Number of Routes: 9
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 1.1.1.1/32 0.0.0.0 0 0 i
* 10.10.20.2 1 0 65300?
* 10.10.10.2 0 65300?
*> 2.2.2.2/32 10.10.20.2 3124 0 65300?
*> 3.3.3.3/32 10.10.10.2 1562 0 65300?
* 10.10.20.2 1562 0 65300?
*> 4.4.4.4/32 10.10.10.2 3124 0 65300?
*> 192.168.10.0 10.10.20.2 3124 0 65300?
*> 192.168.20.0 10.10.10.2 3124 0 65300?
RB:
[H3C-bgp]dis current-configuration
#
interface Serial5/0
link-protocol ppp
ip address 10.10.10.2 255.255.255.0
#
interface Serial5/2
link-protocol ppp
ip address 192.168.10.1 255.255.255.0
#
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
#
bgp 65300
router-id 2.2.2.2
network 3.0.0.0
import-route ospf 1
undo synchronization
peer 4.4.4.4 as-number 65300
peer 10.10.10.1 as-number 65000
peer 4.4.4.4 next-hop-local
peer 4.4.4.4 connect-interface LoopBack0
#
ospf 1
import-route bgp
area 0.0.0.0
network 2.2.2.2 0.0.0.0
network 192.168.10.0 0.0.0.255
#
[H3C-bgp]di bgp ro
Total Number of Routes: 9
BGP Local router ID is 2.2.2.2
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 1.1.1.1/32 0.0.0.0 1 0 ?
* 10.10.10.1 0 0 65000i
* i 2.2.2.2/32 4.4.4.4 3124 100 0 ?
*> 3.3.3.3/32 0.0.0.0 1562 0 ?
* i 4.4.4.4 1562 100 0 ?
*> 4.4.4.4/32 0.0.0.0 3124 0 ?
* i 192.168.10.0 4.4.4.4 3124 100 0 ?
*> 192.168.20.0 0.0.0.0 3124 0 ?
RC:
[H3C-ospf-1-area-0.0.0.0]dis current-configuration
#
interface Serial5/0
link-protocol ppp
ip address 192.168.20.1 255.255.255.0
#
interface Serial5/2
link-protocol ppp
ip address 192.168.10.2 255.255.255.0
#
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
#
ospf 1
area 0.0.0.0
network 3.3.3.3 0.0.0.0
network 192.168.10.0 0.0.0.255
network 192.168.20.0 0.0.0.255
#
H3C-ospf-1-area-0.0.0.0]dis ip routing-table
Routing Tables: Public
Destinations : 12 Routes : 12
Destination/Mask Proto Pre Cost NextHop Interface
1.1.1.1/32 O_ASE 150 1 192.168.20.2 S5/0
2.2.2.2/32 OSPF 10 1562 192.168.10.1 S5/2
3.3.3.3/32 Direct 0 0 127.0.0.1 InLoop0
4.4.4.4/32 OSPF 10 1562 192.168.20.2 S5/0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
192.168.10.0/24 Direct 0 0 192.168.10.2 S5/2
192.168.10.1/32 Direct 0 0 192.168.10.1 S5/2
192.168.10.2/32 Direct 0 0 127.0.0.1 InLoop0
192.168.20.0/24 Direct 0 0 192.168.20.1 S5/0
192.168.20.1/32 Direct 0 0 127.0.0.1 InLoop0
192.168.20.2/32 Direct 0 0 192.168.20.2 S5/0
RD:
[H3C-bgp]dis current-configuration
#
interface Serial5/0
link-protocol ppp
ip address 192.168.20.2 255.255.255.0
#
interface LoopBack0
ip address 4.4.4.4 255.255.255.255
#
interface GigabitEthernet0/0
port link-mode route
ip address 10.10.20.2 255.255.255.0
#
bgp 65300
router-id 4.4.4.4
network 3.0.0.0
import-route ospf 1
undo synchronization
peer 10.10.20.1 as-number 65000
peer 2.2.2.2 as-number 65300
peer 2.2.2.2 connect-interface LoopBack0
#
ospf 1
import-route bgp
area 0.0.0.0
network 4.4.4.4 0.0.0.0
network 192.168.20.0 0.0.0.255
#
[H3C-bgp]di bgp ro
Total Number of Routes: 9
BGP Local router ID is 4.4.4.4
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 1.1.1.1/32 0.0.0.0 1 0 ?
* 10.10.20.1 0 0 65000i
*> 2.2.2.2/32 0.0.0.0 3124 0 ?
*> 3.3.3.3/32 0.0.0.0 1562 0 ?
* i 2.2.2.2 1562 100 0 ?
* i 4.4.4.4/32 2.2.2.2 3124 100 0 ?
*> 192.168.10.0 0.0.0.0 3124 0 ?
* i 192.168.20.0 2.2.2.2 3124 100 0 ?
|
|