Solved

Serial link cisco

Posted on 2004-09-20
7
533 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
Comment Utility
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 79

Expert Comment

by:lrmoore
Comment Utility
0
 
LVL 2

Author Comment

by:martyboy
Comment Utility
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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 79

Expert Comment

by:lrmoore
Comment Utility
>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
Comment Utility
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 250 total points
Comment Utility
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
Comment Utility
Thanks mate!

Here are your points!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

I have seen some questions on problems with SSH/telnet access to Cisco routers that may occur despite the fact that from a PC connected to your LAN, Internet connectivity is in place and users can access Internet sites without any issues.  There are…
Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now