Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 point-to-point connection to 1

Status
Not open for further replies.

Rebelus

IS-IT--Management
Apr 27, 2005
3
FI
Hi,

I had a point-to-point connection working well with head office (Router A) and a branch office (Router B1). Now 2nd branch is added to this configuration (Router B2)

I add a sub-interface to A router and also add static routes.

All offices have own subnets and on the router A, a static ip route is defined for both. Each branch also have static ip route to head office.

Now, both of branch offices can acces to Head office. Head office can access both of branches. BUT, branch offices can't acces each other. How to do this ?

 
Enter a static route in B2 for B1, with a next hop address as A.
At B2
ip route B1 255.255.255.0 A

At B1
ip route B2 255.255.255.0 A
 
there is already a static route for both B1 and B2 routers:
ip route 0.0.0.0 0.0.0.0 A

with this route, both of sites can acces to head office LAN.

is it realy necessary to define another route ?
 
Would be good if you can post the relevant configurations of the 3 routers.
 
The main touter (A) configuration:
interface Ethernet0
ip address 138.249.181.190 255.255.255.192
!
interface Serial0
clock-select DTECLK1
encapsulation frame-relay
frame-relay lmi-type ansi
!
interface Serial0.1 Point-to-Point
frame-relay interface-dlci 100
ip address 10.1.1.1 255.255.255.252
!
interface Serial0.2 Point-to-Point
frame-relay interface-dlci 101
ip address 10.1.2.1 255.255.255.252
!
exit
ip route 0.0.0.0 0.0.0.0 138.249.181.129 preference 60
ip route 10.56.100.0 255.255.255.0 10.1.1.2 preference 60
ip route 10.56.101.0 255.255.255.0 10.1.2.2 preference 60
end
(PS: 138.249.181.129 is the IP of router for Internet access)
----------------------------------------
This is the router B1 configuration:
!
interface Ethernet0
ip address 10.56.100.1 255.255.255.0
!
interface Serial0
clock-select DTECLK1
encapsulation frame-relay
description OZELHATNO 1900715024
frame-relay lmi-type ansi
!
interface Serial0.1 Point-to-Point
frame-relay interface-dlci 100
ip address 10.1.1.2 255.255.255.248
!
interface Serial1
encapsulation ppp
!
exit
ip route 0.0.0.0 0.0.0.0 10.1.1.1 preference 60
!
end
----------------------------------------
This is the router B2 configuration:
!
interface Ethernet0
ip address 10.56.101.1 255.255.255.0
no logging event subif-link-status
!
interface Serial0
no ip address
encapsulation frame-relay
no logging event subif-link-status
frame-relay lmi-type ansi
!
interface Serial0.1 point-to-point
ip address 10.1.2.2 255.255.255.252
frame-relay interface-dlci 101
!
ip route 0.0.0.0 0.0.0.0 10.1.2.1
!
end

- from main router (A) and both of routers B1 and B2 are accessible.
- From B1 and B2, main router is accessible
BUT
- from B1, B2 is NOT accessible !
and also
- from B2, B1 is NOT accessible !

What is the problem and the solution ?
 
Make sure all routers have "ip classless"

Then do an extended ping from B1 and B2, using ethernet0 as the source and ping both sub-interfaces on A. Let us know the results. (maybe you have done this already...anyway)

One very minor mistake is that on B1, the subnet mask on s0.1 is not matching that in A but this shouldn't be the caveat of your issue.

interface Serial0.1 Point-to-Point
frame-relay interface-dlci 100
ip address 10.1.1.2 255.255.255.248


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top