cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
367
Views
0
Helpful
2
Replies

2 Serial Interface

stevenneo
Level 1
Level 1

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 2

aybra
Level 1
Level 1

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

thisisshanky
Level 11
Level 11

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.

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus