12-13-2023 02:57 AM - edited 12-13-2023 08:55 AM
I have two ISR 4351 routers and I'm trying to esatliblising connectivity between 2 routers with serial interface. Is it possible to connect with different subnets?
R1# serial 0/0/0
ip address 192.168.1.1/24
encapsulation ppp
R2# serial 0/0/0
ip address 192.168.2.1/24
encapsulation ppp
Solved! Go to Solution.
12-13-2023 09:57 AM
Yes! I did same thing on R2 also
12-13-2023 10:44 AM
Again (please), what's the actual default route statements?
12-13-2023 11:50 AM
Oh, forgot to ask, have you tried it with same subnet interface IPs?
12-13-2023 08:23 PM
Yes I tried with same subnets it's working.
12-14-2023 12:03 AM
You mean disjoined subnet in p2p address ?
12-13-2023 01:41 PM
we have suggested some config, have you got chance to read and tried ?
12-13-2023 08:26 PM
It's working. But my question is it possible to connect with different subnets.
12-15-2023 12:56 AM
Hello
It is possible to do, You will need to ultise virtual-templates to accoplish it, try the following:
RTR1
int ser 0/0/0
ip address 192.168.1.1 255.255.255.0
enacp Fr
clock rate 64000
no keepalives
frame-relau map ip 192.168.2.1 121
frame-realy interface-dlci 121 ppp virtual-template 12
int virtual-template 12
ip address 192.168.1.1 255.255.255.0
RTR2
int ser 0/0/0
ip address 192.168.2.1 255.255.255.0
enacp Fr
no keepalives
frame-relau map ip 192.168.1.1 121
frame-realy interface-dlci 121 ppp virtual-template 21
int virtual-template 12
ip address 192.168.2.1 255.255.255.0
12-15-2023 07:17 AM - edited 12-15-2023 08:50 AM
Thanks Paul it's really great effort. Now both routers are communicating.
But I'm not able to ping from PC1 to Router2. Please kindly look at that problem.
RTR1 # interface FastEthernet0/0 # interface Serial0/0 # interface Virtual-Template12 # ip route 0.0.0.0 0.0.0.0 Serial0/0 |
RTR2 # interface FastEthernet0/0 # interface Serial0/0 # interface Virtual-Template12 # ip route 0.0.0.0 0.0.0.0 Serial0/0 |
Any additional routing is required ?
12-15-2023 07:52 AM
post config ip and gateway of both pc and ip route of both router
12-15-2023 09:24 AM
R1# ip route 0.0.0.0 0.0.0.0 Serial0/0
R2# ip route 0.0.0.0 0.0.0.0 Serial0/0
PC1 PC2
|
12-15-2023 07:55 AM
That's likely because @paul driver's (creative) approach would still require additional route statements. For example, R2 wouldn't know where to send traffic for the 172.16.1.0/24 network. (What I had suggested, using default routes on R1 and R2, which from @DaviRocK!'s testing works, may work, for your just posted topology. [I'm assuming PC's have local router as gateway.])
12-15-2023 09:15 AM
@Joseph W. Doherty I think we are missing some additional route statements.
12-15-2023 09:31 AM
@kasulasaiganesh wrote:
@Joseph W. Doherty I think we are missing some additional route statements.
Yes OR the "correct" route statements.
R1 and R2 "know" of all directly connected networks.
A default route, on both R1 and R2, directing all non-connected networks, to the other router, would solve the routing issue in your last posted topology. BTW, this also would still be true if your R1<>R2 link shared the same network.
12-15-2023 10:11 AM
@Joseph W. Doherty @paul driver @DaviRocK!
It's working with static routes. Why? default route is not working. Anyway we got a solution finally. Thanks @paul driver @Joseph W. Doherty @DaviRocK!
R1:-
R2:-
PC-1 PC-2
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide