Solved

Basic router config help required 500 points urgent

Posted on 2004-08-05
6
297 Views
Last Modified: 2010-04-17
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
Comment
Question by:Dellboy
  • 3
  • 2
6 Comments
 

Expert Comment

by:lmunguia
Comment Utility
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
 
LVL 28

Expert Comment

by:mikebernhardt
Comment Utility
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
 

Expert Comment

by:lmunguia
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:Dellboy
Comment Utility
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
 

Assisted Solution

by:lmunguia
lmunguia earned 250 total points
Comment Utility
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
 
LVL 28

Accepted Solution

by:
mikebernhardt earned 250 total points
Comment Utility
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

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

New Server 172.16.200.2  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address 172.16.100.2. But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now