Sign in with
Sign up | Sign in
Your question

Networking computers with fixed ip addresses

Tags:
  • IP
  • Connection
  • Computers
  • Networking
  • Routers
Last response: in Networking
Share
September 26, 2014 12:28:54 PM

All the computers I am talking about will never connect to the internet. All are located within the same room.
Two of the computers have fixed ip addresses, say 2.1.1.10 and 2.1.1.11. They are connected to two of the LAN ports of an inexpensive router whose LAN address space, and its WAN address, are both configurable. They can talk to each other.
The other two computers have also fixed ip addresses, say 3.1.2.3 and 3.1.2.4. They are connected to a different but similar router. They can also talk to each other.
How can I connect the two routers so that all four computers can talk to each other without changing any of the four ip addresses?

More about : networking computers fixed addresses

September 26, 2014 12:35:40 PM

This sounds suspiciously like a homework problem.

Full layer three router or static routes. I won't elaborate as to where to apply those two things since I won't do your homework.
m
0
l
September 26, 2014 12:46:30 PM

Edited: You have subnet issues and NAT issues. didnt think about this being a homework problem
m
0
l
Related resources
September 26, 2014 12:53:45 PM

kanewolf said:
This sounds suspiciously like a homework problem.

Full layer three router or static routes. I won't elaborate as to where to apply those two things since I won't do your homework.

You are making a false assumption. It is actually a work problem, not a homework problem.
You seem to have not matured yet from your school years.
Thanks anyway for exposing your rudeness,
m
0
l
September 26, 2014 12:57:35 PM

netreviewer said:
kanewolf said:
This sounds suspiciously like a homework problem.

Full layer three router or static routes. I won't elaborate as to where to apply those two things since I won't do your homework.

You are making a false assumption. It is actually a work problem, not a homework problem.
You seem to have not matured yet from your school years.
Thanks anyway for exposing your rudeness,


Since both of the addresses blocks you provided are globally addressable and would not be used by any network engineer I have ever met for a private network, I have no reason to not believe it is a homework problem.
m
0
l
September 26, 2014 12:59:14 PM

A diagram would have been helpful, but let me give it a shot.

on the router for the 3.1.2.x network- on another interface setup 1.1.2.1 /29, on the other router 2.1.2.x use another interface for ip 1.1.2.2 /29.

Connect the two interfaces together with network cable (crossover).

create static routes...
m
0
l
September 26, 2014 1:00:22 PM

netreviewer said:
kanewolf said:
This sounds suspiciously like a homework problem.

Full layer three router or static routes. I won't elaborate as to where to apply those two things since I won't do your homework.

You are making a false assumption. It is actually a work problem, not a homework problem.
You seem to have not matured yet from your school years.
Thanks anyway for exposing your rudeness,


There is a good amount of kids that come on here looking for us to do their homework for them (espically in networking) so kanewolfs assumption is not without reason or maturaty.

Why specifically can you not change the IP address of the computers, and why are there 2 routers in the same room for 4 computers if it is a simple router (ie not a cisco or equivelent)
m
0
l
September 26, 2014 1:05:01 PM

boosted1g said:
netreviewer said:
kanewolf said:
This sounds suspiciously like a homework problem.

Full layer three router or static routes. I won't elaborate as to where to apply those two things since I won't do your homework.

You are making a false assumption. It is actually a work problem, not a homework problem.
You seem to have not matured yet from your school years.
Thanks anyway for exposing your rudeness,


There is a good amount of kids that come on here looking for us to do their homework for them (espically in networking) so kanewolfs assumption is not without reason or maturaty.

Why specifically can you not change the IP address of the computers, and why are there 2 routers in the same room for 4 computers if it is a simple router (ie not a cisco or equivelent)


That's pretty hilarious. I haven't spent much time on the Networking boards. Good points.
m
0
l
September 26, 2014 1:11:40 PM

kanewolf said:
netreviewer said:
kanewolf said:
This sounds suspiciously like a homework problem.

Full layer three router or static routes. I won't elaborate as to where to apply those two things since I won't do your homework.

You are making a false assumption. It is actually a work problem, not a homework problem.
You seem to have not matured yet from your school years.
Thanks anyway for exposing your rudeness,


Since both of the addresses blocks you provided are globally addressable and would not be used by any network engineer I have ever met for a private network, I have no reason to not believe it is a homework problem.


m
0
l
September 26, 2014 1:19:39 PM

These are machines, which, for security reasons, have fixed ip addresses. These are not their real addresses and they are NEVER supposed to connect to the internet.
I have connected them, for testing now, with two routers, one in the 192.168.10.x range and they other in the 10.1.1.x range. The WAN port of the 192.x.x.x router is connected to one of the LAN ports of the 10.x.x.x router. This gives the WAN port of the 192.x.x.x router the IP address 10.1.1.101
I can ping or use iperf from the 192.x.x.x machine as client to the 10.1.1.x machine as server. In the other direction I get "connect failure". Both machines run Windows 7 Enterprise.
If you can provide some constructive information I will appreciate it. If you still reside in Mental Kindergarten, I cannot help it.
m
0
l
September 26, 2014 1:22:20 PM

These are machines, which, for security reasons, have fixed ip addresses. These are not their real addresses and they are NEVER supposed to connect to the internet.
I have connected them, for testing now, with two routers, one in the 192.168.10.x range and they other in the 10.1.1.x range. The WAN port of the 192.x.x.x router is connected to one of the LAN ports of the 10.x.x.x router. This gives the WAN port of the 192.x.x.x router the IP address 10.1.1.101
I can ping or use iperf from the 192.x.x.x machine as client to the 10.1.1.x machine as server. In the other direction I get "connect failure". Both machines run Windows 7 Enterprise.
If you can provide some constructive information I will appreciate it. If you still reside in Mental Kindergarten, I cannot help it.
m
0
l
September 26, 2014 1:23:47 PM

If this is really a work problem then you have severe problems with your IT support. If your in-house people can't solve a problem like this then you should hire outside help.

Anyways - you don't need any router, let alone two. Use a simple switch - you can buy one for 20-30 dollars, connect the four computers to it and give them all addresses on the same IP network. In this case it doesn't really matter which range you choose but it's still good practice to go for one of the private ranges.
m
0
l
September 26, 2014 1:28:22 PM

cowboydude99 said:
A diagram would have been helpful, but let me give it a shot.

on the router for the 3.1.2.x network- on another interface setup 1.1.2.1 /29, on the other router 2.1.2.x use another interface for ip 1.1.2.2 /29.

Connect the two interfaces together with network cable (crossover).

create static routes...


m
0
l
September 26, 2014 1:30:24 PM

This sounds like a reasonable method. That is, give BOTH WAN ports "similar" addresses and either use a cross-over cable or a hub/switch.
I will try it and let you know.
Thanks again.
m
0
l
September 26, 2014 3:21:42 PM

Ijack said:
If this is really a work problem then you have severe problems with your IT support. If your in-house people can't solve a problem like this then you should hire outside help.

Anyways - you don't need any router, let alone two. Use a simple switch - you can buy one for 20-30 dollars, connect the four computers to it and give them all addresses on the same IP network. In this case it doesn't really matter which range you choose but it's still good practice to go for one of the private ranges.


If I could change the IP addresses, yes, a hub or a switch would solve the problem. But I cannot.
Our IT support is, indeed, not the best. This is a lab. Sometimes we need to connect coputers together that have different IP addresses, so not all interfaces can have the same address range.

It may be possible to use a single router, configuring the LAN and WAN side with static addresses in the range of the repsective computers and then uses switches on both sides to increase the number of interfaces.

This would solve the problem with a singel router and two switches, at most.
I will try this and report the results.
m
0
l
September 26, 2014 4:19:45 PM

If you have a real router then life is easy and it will just work.

If you have consumer "routers" these are not actually routers these are best described as gateways. The can take single lan subnet and translate it to a single wan ip address.

The key problem as mentions in a previous post is NAT.

So lets say you do it with a single router you put the 2.x.x.x network on the lan and the 3.x.x.x. network on the wan and lets just say you gave the wan address 3.x.x.100

So machines on the 2 network will go to the router get their address translated to 3.x.x.100 and have no issues talking to the machines in the 3 network. The problem comes when a machine on the 3 network needs to talk to the machines on the 2 network. Since the only visible address to access the 2 network is 3.x.x.100 all traffic must go there. BUT how the router know which of the 2.x.x.x machines to send the traffic to.

This is exactly the same problem people have that say want to use 2 web servers in their house. A single one you can use the port mapping to solve but when you need to have the same port mapped to 2 different machines at different points in time you can not do it with a NAT in the path.

So the solution is to load dd-wrt or similar on your router and it will just work. You can hook both networks to the same router and the traffic will just by default pass between the 2 networks. If you wanted to use 2 routers it would a little more complex but a couple static routes and that is all there is to it.

m
0
l
!