PDA

View Full Version : EIGRP Stub Routing chống loop khi query tìm đường



phamminhtuan
29-10-2008, 02:51 PM
When an entry in a router's EIGRP topology table changes for the worse (either the metric increases, or the successor is no longer accessible), if there is no feasible successor for the address, the entry goes into Active state, and the router sends query packets to all its neighbors. If Earhart's link to Yeager, in Figure 7-36 (http://vnpro.org/forum/#ch07fig36), goes down, Earhart sends queries to all its neighbors, including Johnson and Lindbergh, to find out if any neighbors have a path to Yeager. Earhart cannot modify its active entries in the topology table until it hears responses from all its queries regarding that entry. If a problem develops on the link to Lindbergh before Earhart has received a response to the query it sent about Yeager's addresses, Yeager's addresses will remain Active, even if the link between Earhart and Yeager comes back up.
Figure 7-36. Yeager is added to the network with a single link to Earhart.

http://img514.imageshack.us/img514/6315/23971875px8.jpg (http://img514.imageshack.us/my.php?image=23971875px8.jpg)


Johnson and Lindbergh, in Figure 7-36 (http://vnpro.org/forum/#ch07fig36), do not have back-door routes to any other site in the network. They are spoke routers in a hub-and-spoke design. The routers are not used to provide transit paths to any addresses in the network. When Lindbergh or Johnson need to forward a packet to an address that is not local to its site, the packet is forwarded to Earhart. Lindbergh knows of one path to 172.20.10.0, for instance, and that path is via Earhart. There is no need to send Johnson queries about addresses in other locations of the network and risk causing network instabilities. Johnson and Lindbergh can be configured with stub routing.
A router that has EIGRP Stub neighbors will not send queries to the stubs, thereby eliminating the chance that a stub-configured remote site will cause stuck in active conditions, and routing instabilities in other parts of the network.
Johnson is configured as an EIGRP stub router. Johnson's stub router configuration is displayed in Example 7-32 (http://vnpro.org/forum/#ch07ex32).
Example 7-32. Johnson's EIGRP stub router configuration.

router eigrp 15
eigrp stub
No configuration changes are required on Earhart, the hub router.
The command eigrp stub causes Johnson to send updates containing its connected and summary routes only. Johnson can be configured to include any combination of connected routes, summary routes, static routes, or routes that have been redistributed into EIGRP, with the command:
eigrp stub {connected | redistributed | static | summary | receive-only}
Johnson can also be configured to not send any route information in updates, with the receive-only option. With the receive-only option, the remote router will not include any addresses in an update. Addresses connected to the Johnson router would have to be advertised to the rest of the network in some other way to ensure that traffic can reach the site, perhaps with static routes configured on Earhart.

longphi11
30-10-2008, 06:36 PM
thà og bảo tôi đọc sách trang nào hoặc là upload file word đọc cho xong.thế này còn quái j là thảo luận nữa.Qua bên shadikov mà post đi

phamminhtuan
30-10-2008, 06:51 PM
Tui đọc thấy cái này hay thì tui đưa lên diễn đàn cho mọi người xem, chứ có gì mà ông làm dữ vậy. Up load liệu có đọc hết 1 lần không?

phamminhtuan
30-10-2008, 07:11 PM
Với mô hình trên mình dịch đại khái như vầy, nhưng nó không sát nghĩa lắm vì thế mình mới bê nguyên xi nó vào bạn thông cảm nhé.



Cái mô hình bên trên thì yeager bị mất route nào đó thì nó sẽ query Earhart. Earhart không tìm thấy route trong bản của nó thì lại query mấy con hàng xóm trừYeager.
Trong lúc query đó vô tình Lindbergh trục trặc về route và cũng lại query Earhart. Earhart lại query mấy con hàng xóm [trong đó có Yeager] thế là cứ query mãi đến hết 16 lần thì thôi.
Nó còn nói là cái này chủ yếu xảy ra trên các mô hình mạng lớn.

Để giải quyết vấn đề này thì ta dùng cơ chế stub routing.

router eigrp 15
eigrp stub


Neighbor sẽ không send query đến những con router cấu hình với lệnh trên để tránh gây loop.

eigrp stub {connected | redistributed | static | summary | receive-only}

R1(config-router)#eigrp stub receive-only
Với câu lệnh trên thì R1 chỉ quảng bá những interface nào connect trực tiếp với nó để những con khác thấy đường mà đi tới. Có thể từ các con neighbor của R1 phải cấu hình route tĩnh để có thể đi vào R1.