cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2343
Views
8
Helpful
38
Replies

Unable to establishing link between two routers with different subnet

kasulasaiganesh
Level 1
Level 1

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

38 Replies 38

Yes! I did same thing on R2 also

Again (please), what's the actual default route statements?

Oh, forgot to ask, have you tried it with same subnet interface IPs?

Yes I tried with same subnets it's working.

You mean disjoined subnet in p2p address ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

we have suggested some config, have you got chance to read and tried ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

kasulasaiganesh
Level 1
Level 1

It's working. But my question is it possible to connect with different subnets.

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


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

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. 

kasulasaiganesh_0-1702652869773.png

 

RTR1

# interface FastEthernet0/0
ip address 172.16.1.1 255.255.255.0
duplex auto
speed auto

# interface Serial0/0
ip address 192.168.1.1 255.255.255.0
encapsulation frame-relay
no keepalive
clock rate 2000000
frame-relay map ip 192.168.2.1 121
frame-relay interface-dlci 121 ppp Virtual-Template12

# interface Virtual-Template12
ip address 192.168.1.1 255.255.255.0

# ip route 0.0.0.0 0.0.0.0 Serial0/0

RTR2

# interface FastEthernet0/0
ip address 172.16.2.1 255.255.255.0
duplex auto
speed auto

# interface Serial0/0
ip address 192.168.2.1 255.255.255.0
encapsulation frame-relay
no keepalive
clock rate 2000000
frame-relay map ip 192.168.1.1 121
frame-relay interface-dlci 121 ppp Virtual-Template12

# interface Virtual-Template12
ip address 192.168.2.1 255.255.255.0

# ip route 0.0.0.0 0.0.0.0 Serial0/0

Any additional routing  is required ?

 

 

post config ip and gateway of both pc and ip route of both router

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

kasulasaiganesh_0-1702660684509.png kasulasaiganesh_3-1702660862157.png

 

 

 

 

 

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.])

@Joseph W. Doherty  I think we are missing some additional route statements. 

 


@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.

@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:-

kasulasaiganesh_0-1702662993393.png

R2:-

kasulasaiganesh_1-1702663062475.png

PC-1                                                                      PC-2                       

kasulasaiganesh_2-1702663120381.png               kasulasaiganesh_3-1702663192520.png

 

 

Review Cisco Networking for a $25 gift card