Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

2 Serial Interface

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 ?

2 REPLIES
Community Member

Re: 2 Serial Interface

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

Re: 2 Serial Interface

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.

89
Views
0
Helpful
2
Replies
CreatePlease to create content