Policy Based Routing (makale)

13 views
Skip to first unread message

Hayri Sezer

unread,
Jan 19, 2011, 3:11:14 AM1/19/11
to netge...@googlegroups.com
Bu uygulamada hepimizin sıkca karşılaşabileceği ve önemli olan hattımızın gereksiz trafiğini engellemiş olacağız. Uygulamada tüm http trafiği ISP-A üzerinden, diğer kalan trafiklerimiz ISP-B üzerinden internete çıkacaktır. Siz tabikide ihtiyaçlarınıza göre kendinize uygulayabilirsiniz.

Konfigürasyona geçmeden önce hatırlatmam gereken önemli noktalar mevcuttur. Tabikide isp-a ve isp-b default route tanımlarımızın ve erişilebilir bir hat olduğunu göz önünde bulunduruyorum. Burada dikkat edeceğimiz bir diğer konu ise diğer trafiğimiz isp-b üzerinden çıkacağı için defult route metric değer düşük olması gerekmektedir. Aslında yapacağımız işlem oldukça basit, access list ile tcp 80 trafiğini yakalayıp route-map sayesinde ilgili interface e göndereceğiz.

1) Access list ile HTTP trafğini yakalıyoruz.

Router(config)# access-list 101 permit tcp any any eq www

2) Route map ile ISP-A üzerinden paketleri match ettirip ilgili next-hop a atacağız.

Router(config)#route-map HTTP permit 10
Router(config-route-map)#match ip address 101
Router(config-route-map)#set ip next-hop 192.168.1.1
Router(config-route-map)#exit
Router(config)#route-map HTTP permit 20

3) Route map de yazmış olduğumuz kuralı ilgili interface’e uygulamamız gereklidir.

Router(config-route-map)#exit
Router(config)#int s0/0
Router(config-if)#ip policy route-map HTTP
Router(config-if)#exit

http://www.hayrisezer.com/policy-based-routing.html

--

Saygılarımla,
Hayri Sezer
Network Specialist
E-mail: ma...@hayrisezer.com
Web Site : www.hayrisezer.com


kutad paçacý

unread,
Mar 6, 2011, 9:54:12 AM3/6/11
to netge...@googlegroups.com
slm arkadaslar.
bu sorunun cevabının acıklamasını bilen var mı?
sebep?

The following output was taken from Router R3. A scan of R3's configuration shows that no

bandwidth commands have been configured in this router. Which of the following answers lists

configuration settings could be a part of a configuration that results in the following output?

(Choose two.)

 

R3#show ip ospf interface brief

Interface PID Area IP Address/Mask Cost State Nbrs F/C

Se0/0/0.2 3 34 10.10.23.3/29 647 P2P 1/1

Se0/0/0.1 3 34 10.10.13.3/29 1000 P2P 1/1

Fa0/0 3 34 10.10.34.3/24 20 BDR 1/1

 

A. An auto-cost reference-bandwidth 1000 command in router ospf mode

B. An auto-cost reference-bandwidth 2000 command in router ospf mode

C. An ip ospf cost 1000 interface S0/0/0.1 command in router ospf mode

D. An auto-cost reference-bandwidth 64700 command in router ospf mode


Reply all
Reply to author
Forward
0 new messages