Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 551
  • Last Modified:

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?
0
martyboy
Asked:
martyboy
  • 4
  • 3
1 Solution
 
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
 
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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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
 
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
 
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.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now