Skip to main content

CCNP Question

More
18 years 6 months ago #11418 by randy
Replied by randy on topic Re: CCNP Question

If interested, I think I have it figured out now. Here is what I finally came up with (shown below). Will test it out in the next couple of days to see if it works.


cincitec(config)#int e0/0
cincitec(config-if)#ip address 192.168.10.1 255.255.255.0
cincitec(config-if)#ip policy route-map cincitec

cincitec(config)#access-list 101 permit tcp 192.168.10.0 0.0.0.255 eq www any
cincitec(config)#access-list 101 permit tcp 192.168.10.0 0.0.0.255 eq ftp any
cincitec(config)#access-list 101 permit tcp 192.168.10.0 0.0.0.255 eq ftp-data any
cincitec(config)#access-list 102 permit tcp 192.168.10.0 0.0.0.255 eq telnet any

cincitec(config)#route-map cincitec permit 10
cincitec(config-route-map)#match ip address 101
cincitec(config-route-map)#set ip next-hop 172.16.1.1

cincitec(config)#route-map cincitec permit 20
cincitec(config)#match ip address 102
cincitec(config)#set ip next-hop 172.16.2.1
More
18 years 6 months ago #11429 by jwj
Replied by jwj on topic Re: CCNP Question
Looking forward to it.

-Jeremy-
More
18 years 6 months ago #11447 by randy
Replied by randy on topic Re: CCNP Question
Yeah, it worked.

access-list 101 permit tcp 192.168.10.0 0.0.0.255 eq www any
access-list 102 permit tcp 192.168.10.0 0.0.0.255 eq ftp any
access-list 102 permit tcp 192.168.10.0 0.0.0.255 eq ftp-data any
access-list 103 permit tcp 192.168.10.0 0.0.0.255 eq telnet any

route-map cincitec permit 10
match ip address 101
set ip next-hop 172.16.1.1

route-map cincitec permit 20
match ip address 102
set ip next-hop 172.16.1.1

route-map cincitec permit 30
match ip address 103
set ip next-hop 172.16.2.1
Time to create page: 0.137 seconds