[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Serial link cisco

Posted on 2004-09-20
7
Medium Priority
?
548 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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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…

590 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