Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Setting up routing protocol

Using two 2921 routers connected across ethernet interfaces how do I set up a routing protocol to go from one host on one router to another host on the other router?

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Blue

Re: Setting up routing protocol

H1 (192.168.5.2/24) -> (192.168.5.1/24) R1 (192.168.6.1/24) -> (192.168.6.2/24) R2 (192.168.7.1/24) -> (192.168.7.2) H2

R1 config

=======

ip route 192.168.7.0 255.255.255.0 192.168.6.2

R2 config

=======

ip route 192.168.5.0 255.255.255.0 192.168.6.1

Jon

7 REPLIES
Hall of Fame Super Blue

Setting up routing protocol

Was there a specific routing protocol you wanted to use eg. EIGRP/OSPF or would static routing do ?

Jon

Community Member

Setting up routing protocol

I believe static routing would do

Hall of Fame Super Blue

Re: Setting up routing protocol

H1 (192.168.5.2/24) -> (192.168.5.1/24) R1 (192.168.6.1/24) -> (192.168.6.2/24) R2 (192.168.7.1/24) -> (192.168.7.2) H2

R1 config

=======

ip route 192.168.7.0 255.255.255.0 192.168.6.2

R2 config

=======

ip route 192.168.5.0 255.255.255.0 192.168.6.1

Jon

Community Member

Setting up routing protocol

Thanks for your help, but can I do it this way if both of my hosts are on the same network?

Hall of Fame Super Blue

Setting up routing protocol

If both your hosts are on the same network then there is no need to route.

Do you mean. using my example above, if H1 and H2 were on the same network separated by two routers ?

If so yes you can use L2TPv3 to do this this but it is only really used when there is no other alternative eg. you need a L2 vlan to extend across a L3 network.

Jon

Community Member

Setting up routing protocol

That is exactly what I meant. The hosts are separated by two routers

Hall of Fame Super Blue

Re: Setting up routing protocol

Well you can use L2TPv3 if supported by your routers.

There are other ways of extending a L2 vlan/IP subnet over a L3 network eg. EoMPLS, VPLS which both require an MPLS network to run over, OTV which is really only used in DCs and is not supported on most devices but you wouldn't setup any of these just to connect two hosts over a pair of routers.

Like i said though generally if you can route you should especially in the scenario you describe.

Jon

131
Views
0
Helpful
7
Replies
CreatePlease to create content