• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

Basic router config help required 500 points urgent

Hi,

I am new to routers and i need to configure two routers to connect two offices together.

Details are :

If the office set up is :

pc 192.168.26.10
dfg 192.168.26.254

router ip 192.168.26.254
ip route 0.0.0.0 0.0.0.0
serial0 ip 10.10.10.1

remote office is currently :

pc 172.19.22.180
dfg 172.19.22.254 (to allow internet access out of that site through an existing router)


what will the 'remote' router details need to be (for the new router)?

is it :

serial0 ip 10.10.10.2
router ip 172.19.22.1 (this ip available on that network)
will the iproute be 0.0.0.0 0.0.0.0 ???

will i need to change anything on the pc at the remote site ?

thanks for your help.
0
Dellboy
Asked:
Dellboy
  • 3
  • 2
2 Solutions
 
lmunguiaCommented:
In the 'remote' router, you must configure a route to the network 192.168.20.0 you also need to add a route in the actual internet router, to point to the "new" 'remote" router.
This is:
'Remote' Router
ip route192.168.26.0 0.0.0.255 10.10.10.1

Internet Router
ip route 192.168.26.0 0.0.0.255 172.19.22.1

Whit this configuration you don't need to make any changhe in the remote pc

Another option is to change the default gateway in the pc to 172.19.22.1, and add a default route on 'remote' router to point to the internet router this is ip route 0.0.0.0 0.0.0.0 172.19.22.254.
Whit this option, you don't need to make any changes on the internet router.

if you use more the internet on the remote office, your best option is the first

I hope that this answer be useful to you
0
 
mikebernhardtCommented:
The above is incorrect. You don't want to tell the internet router that it's local LAN is across the serial link!

Assuming that you want to use the IPs you listed,
Remote router:
ip route 0.0.0.0 0.0.0.0 10.10.10.1

Internet router:
ip route 172.19.22.0 [whatever the subnet mask is] 10.10.10.2
ip route 0.0.0.0 0.0.0.0 [the ISP's IP address, or the ISP-connected interface]

I don't know what subnet masks you're using for your various subnets, but the mask for your 172.19 subnet goes inside the brackets above. This will tell the internet router to direct all unknown addresses out to the internet, but the remote router's LAN is on the other side of the serial link.
0
 
lmunguiaCommented:
I'm assuming that the internet router is on remote office and is the gateway for the pc with address 172.19.22.180
If this is correct, the local lan for the internet router is 172.19.22.x (asumming subnetmask 255.255.255.0)
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
DellboyAuthor Commented:
Hi,


I am getting confused. Let me try and give you a clearer picture of the network.

Router 1 (172.19.22.254 255.255.255.0) this provides the internet connectivity.

Router 2 (172.19.22.1 255.255.255.0) this is one end of the leased line.

Router 3 (192.168.26.254 255.255.255.0) this at the other end of the leased line.



Router 2 can ping both routers

Router 1 can only ping router 2 and nothing else.

What static route entries do i need on each of the routers listed above ?

I do need internet access through router 1.



I hope this clears the picture up.

ps i did get confused readying your respective replys, was there a mistake in one of the comments as suggested or not ?

Thanks

Dell.


0
 
lmunguiaCommented:
is clear to me, that you need to add the following route in Router 1

ip route 192.168.26.0 0.0.0.255 172.19.22.1

Whit this route, you are telling the router 1, how to reach the office at the other end of the leased line

There is no need to add anything in router 2, because it allready can ping to router 3




0
 
mikebernhardtCommented:
So you have 3 routers. I would suggest using a dynamic routing protocol like EIGRP instead of static routes. But if you want to do static routes, then do the following:
1. All routers need a static route pointing to all networks that are not directly connected. Static routes always point to the next hop. So on router 1, you need a route to router 3's LAN, and the next hop is router 2. Etc.
2. Router 3 needs a default route pointing to it's next hop to the internet, which is router 2's IP address on the leased line.
3. Router 2 needs a default route pointing to it's next hop to the internet, which is router 1's IP address on the LAN it connects to router 1 on.

Does that make sense?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now