Solved

Connecting Router To Router

Posted on 2014-01-22
3
387 Views
Last Modified: 2014-01-22
I want to know if when you connect a router to another router, you can have each of the routers have their own IP addresses.
For example:
Router_Main: Connected to modem
Router_Sub: Connected to Router_Main

Router_Main: Has one ip address
Router_Sub: Has another ip address different from Router_Main

Is this possible? It seems that when I try to do it, and I check the ip address (like in whatismyipaddress.com), it is always displays  the ip address from the Router_Main)
0
Comment
Question by:PachecoPrimo
3 Comments
 
LVL 11

Expert Comment

by:Miftaul
ID: 39800440
Its definitely possible.Whatismyip shows the public ip address nearest to the host before NAT takes over.

If you have multiple blocks of public IP addresses, you can use one block between router_main and Router_sub. Router_sub IP address will be shown in whatismyip result.

Again if you have public ip addresses on your pc, whatismyip will show your PC IP. Its all about how nearest the publicly routable IP address is.

In many of the production network, NAT works at the firewall/router, all the end devices goes to internet NATed. So the whatismyip result shows the WAN ip.

You might be using private rfc1318 range of IP between router_main and router_sub, and NAT is happening at the main router. So the nearest public ip is the main router wan interface thats shown in whatismyip result.
0
 

Author Comment

by:PachecoPrimo
ID: 39800575
Hi Miftaul,
So how do I go about setting so that way it reads the IP address separately? You mentioned 'rfc1318' range, does this value need to be changed in the Main_Router, and if so to what value?
Thanks
0
 
LVL 10

Accepted Solution

by:
tmoore1962 earned 500 total points
ID: 39800585
You're talking the public IP address when doing what is my IP, to have to separate IP addresses you'll have to talk to your ISP and either get another modem or have them provision the existing on for multiple IP's then put a switch between the routers and the modem, then each router will have its own unique public IP address.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DHCP and Internet Access Issue Cisco 4331 Router 9 43
Converting TV to Network (Muli-User) Web front. 8 74
using BGP Attributes 2 108
Home Router DHCP query 9 42
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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…

856 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