Solved

Connecting Router To Router

Posted on 2014-01-22
3
388 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Hello All, I have been training on Multicast for a while now and whenever I start the topic , I find out that my friends /  Colleagues mention that they do not know how to test Multicast Joins. As most of the multicast would be video traffic and …
Before I go to far, let's explain HA (High Availability) and why you should consider it.  High availability is the mechanism used to provide redundancy to any service at the same site and appears as a single service to the users of that service.  As…
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…

740 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