Wandering's Blog » 日志 » Note: TTL & eBGP
Note: TTL & eBGP
Wandering 发表于 2008-06-05 10:45:48
.
昨天向 V Sir 讨教关于 eBGP 之间非直连建立邻居中 ebgp-multihop 的问题,核心是 IP packet processing 过程中 TTL 的处理方式。
实验拓朴:
|
BGP AS 1 | BGP AS 2
|
|
( R1 )-s0/0----------s0/0-( R2 )
| | |
--- | ---
loopback 0 | loopback 0
|
|
R1 - s0/0 - 12.1.1.1
R2 - s0/0 - 12.1.1.2
R1 - lo0 - 1.1.1.1
R2 - lo0 - 2.2.2.2
R1#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/92/144 ms
R2#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/92/144 ms
实验一:
::R1::
router bgp 1
neighbor 2.2.2.2 remote-as 2
neighbor 2.2.2.2 update-source loopback 0
::R2::
router bgp 2
neighbor 1.1.1.1 remote-as 1
neighbor 1.1.1.1 update-source loopback 0
实验二:
::R1::
router bgp 1
neighbor 2.2.2.2 remote-as 2
::R2::
router bgp 2
neighbor 12.1.1.1 remote-as 1
neighbor 12.1.1.1 update-source loopback 0
问题:
1)实验一
ebgp-multihop(R1) = ?
ebgp-multihop(R2) = ?
2) 实验二
ebgp-multihop(R1) = ?
ebgp-multihop(R2) = ?
3)要求: multihop 的值只设置到刚好可以满足题目需求的值即可!
(*** 答案见下篇 blog - http://wandering997.ycool.com/post.3000395.html ***)
...
昨天向 V Sir 讨教关于 eBGP 之间非直连建立邻居中 ebgp-multihop 的问题,核心是 IP packet processing 过程中 TTL 的处理方式。
实验拓朴:
|
BGP AS 1 | BGP AS 2
|
|
( R1 )-s0/0----------s0/0-( R2 )
| | |
--- | ---
loopback 0 | loopback 0
|
|
R1 - s0/0 - 12.1.1.1
R2 - s0/0 - 12.1.1.2
R1 - lo0 - 1.1.1.1
R2 - lo0 - 2.2.2.2
R1#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/92/144 ms
R2#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/92/144 ms
实验一:
::R1::
router bgp 1
neighbor 2.2.2.2 remote-as 2
neighbor 2.2.2.2 update-source loopback 0
::R2::
router bgp 2
neighbor 1.1.1.1 remote-as 1
neighbor 1.1.1.1 update-source loopback 0
实验二:
::R1::
router bgp 1
neighbor 2.2.2.2 remote-as 2
::R2::
router bgp 2
neighbor 12.1.1.1 remote-as 1
neighbor 12.1.1.1 update-source loopback 0
问题:
1)实验一
ebgp-multihop(R1) = ?
ebgp-multihop(R2) = ?
2) 实验二
ebgp-multihop(R1) = ?
ebgp-multihop(R2) = ?
3)要求: multihop 的值只设置到刚好可以满足题目需求的值即可!
(*** 答案见下篇 blog - http://wandering997.ycool.com/post.3000395.html ***)
...
相关日志:
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾

