09-23-2002 07:44 AM - edited 03-02-2019 01:33 AM
HI,
I have a 1721 router with 2 serial interface(1 x ADSL and 1 x Leased) and 1 fastethernet interface, In my network I want all the workstation to use the ADSL interface for surfing the internet and rcv email, use the leased line interface only for the web server, How can I do that ?
My config is
ip route 0.0.0.0 0.0.0.0 dialer 0
ip route 0.0.0.0 0.0.0.0 165.21.x.x 50
Can this work ?
09-23-2002 08:21 AM
Hi
what you do will not work be cause the router will only make the route over dialer 0 in the routing table.
to help you i need the exactly schema.
my email is Ibrahim.ayari@netcom.com.tn
THX
09-23-2002 07:20 PM
You can set policy routing for this.
Create a route-map as follows
route-map setTraffic permit 10
match ip address 100
set interface dialer0 serial0
route-map setTraffic permit 20
set interface serial0 dialer0
Once you configure the route-map you should now define access-list 100 . ACL 100 should match your Internet and Mail traffic.
access-list 100 permit tcp any any eq 80 ---- web
access-list 100 permit tcp any any eq 25 ---- email
Now configure policy routing by, using the command,
int fa0/0
ip policy route-map setTraffic.
Remember, this type of routing behaviour, works only on outgoing traffic. You cannot manipulate, incoming traffic, to choose a particular link.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide