Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Serial link cisco

Posted on 2004-09-20
7
Medium Priority
?
546 Views
Last Modified: 2010-04-17
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
Comment
Question by:martyboy
  • 4
  • 3
7 Comments
 
LVL 79

Expert Comment

by:lrmoore
ID: 12101753
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
 
LVL 2

Author Comment

by:martyboy
ID: 12101865
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 79

Expert Comment

by:lrmoore
ID: 12101942
>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
 
LVL 2

Author Comment

by:martyboy
ID: 12102702
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
 
LVL 79

Accepted Solution

by:
lrmoore earned 1000 total points
ID: 12102774
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
 
LVL 2

Author Comment

by:martyboy
ID: 12103440
Thanks mate!

Here are your points!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question