Serial link cisco

Hello,

I am new on cisco routers and have a question.

I have 2 routers connected with 2 seriallinks. I want to dedicate one of the seriallinks for 2 machines on each side of the routers.
The machines are two servers running a database.

                   /serial \
  machine - cisco ---       --- cisco - machine
                   \serial /

Is there i easy way to solve this?
LVL 2
martyboyAsked:
Who is Participating?
 
lrmooreCommented:
Yes. The syntax would be

access-list 101 permit ip host <local host> host <remote host>

>access-list 101 permit ip host 192.168.0.9 host 192.168.1.8 ip <== no "ip" at the end..
0
 
lrmooreCommented:
use policy routing with a route-map

Use an access-list that matches the traffic that you want to route, ie.
 access-list 101 permit ip host1 host2
 route-map TEST
 match ip address 101
 set interface serial x

interface Ethernet 0
 ip policy route-map TEST

Mirror the configs on both sides.

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
martyboyAuthor Commented:
ok, thx

So this should do it?


access-list 101 permit ip 192.168.1.9 192.168.0.99
route-map licencia
match ip address 101
set interface serial 0/1

interface Fastethernet 0/0
 ip policy route-map licencia
0
 
lrmooreCommented:
>access-list 101 permit ip 192.168.1.9 192.168.0.99

you need the "host" keyword in the acl

access-list 101 permit ip host 192.168.1.9 host 192.168.0.99
                                    ^^                     ^^

And be sure that there is a mirror-image of this config on the other router..
0
 
martyboyAuthor Commented:
One last stupid question. I assume that you have to switch the order of the hosts in the access-list statement

is this right?

router1

access-list 101 permit ip host 192.168.1.8 host 192.168.0.9
route-map licencia
match ip address 101
set interface serial 0/1

interface Fastethernet 0/0
 ip policy route-map licencia

router2
access-list 101 permit ip host 192.168.0.9 host 192.168.1.8 ip
route-map licencia
match ip address 101
set interface serial 0/1

interface Fastethernet 0/0
 ip policy route-map licencia
0
 
martyboyAuthor Commented:
Thanks mate!

Here are your points!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.