1760 PBR

Jul 29, 2005 0 Replies

hi there i have a 1760 with IOS c1700-sy7-mz.122-15.T16.bin



routers interfaces



1 FastEthernet interface
1 Serial(sync/async) interface
1 ATM interface

im planing to set up the router in order to route everything to the ATM ADSL interface and some requests from the lan to specific ports to the serial interface here is how i plan to do it



interface FastEthernet0/0 ip policy route-map PBR



interface Dialer1 ip nat outside



ip nat inside source route-map D1 interface Dialer1 overload ip route 0.0.0.0 0.0.0.0 Dialer1



access-list 10 permit xxx.xxx.xxx.128 0.0.0.127 access-list 102 permit tcp any any eq 7000 access-list 102 permit udp any any eq 1200 access-list 102 permit tcp any any range 27000 28000 access-list 102 permit udp any any range 27000 28000 access-list 102 permit tcp any any eq 44405 access-list 102 permit tcp any any range 55970 55971 access-list 102 permit tcp any any range 55960 55962 access-list 102 permit tcp any any eq 55557 access-list 102 permit tcp any any eq 55901 access-list 102 permit udp any any eq 55557 access-list 102 permit tcp any any eq 7777 access-list 102 permit udp any any eq 7777



route-map PBR permit 1 match ip address 102 set interface Serial0/0



route-map D1 permit 10 match ip address 10 match interface Dialer1



do u think this will do the job? on my lan i have real ips that work with the serial interface with 2Mbit connection my ADSL config has only one IP and i whant to nat default traffic outside everything goes nated default from the ADSL interface and everything that exists on the access-list 102 will go to the Serial interface without nat.



do you think this type of setup will work? if you need complete config i will post it later.



Thanks in advance Nikos


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required