Solved

How to change IP address

Posted on 2002-03-26
14
558 Views
Last Modified: 2010-04-11
Hi,

I have two networks. The networks are connected together. The first network, the IP address is 192.168.1.xxx. The second worknet is 192.168.10.xxx.  I want to use a router or something else to convert the first IP 192.168.1.1 to the IP 192.168.10.1.  Please advise how can I achieve this.  Thanks.

Winson
0
Comment
Question by:wmmak
  • 5
  • 4
  • 3
  • +1
14 Comments
 
LVL 8

Expert Comment

by:scraig84
ID: 6897222
How are they currently connected?  When you say you want to "convert" the IP address, what exactly do you mean?  Do you mean you want a device with the address of 192.168.1.1 to talk to something on the 192.168.10.xxx network, or do you want everyone on the 192.168.10.xxx network to think that a device with the real address of 192.168.1.1 is 192.168.10.1.

One is simple routing, the other is network address translation (NAT).  Either can certainly be done, but it depends on what you want and what you are trying to accomplish.
0
 
LVL 3

Expert Comment

by:CyberStretch
ID: 6897402
If you are trying to get the two networks to work with each other, try changing the subnet mask to 255.255.0.0.
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 6897978
I don't understand what you are trying to do here. You can just change the ip address in tcp/ip properties, but somehow I don't think this is what you want. Could you explain a little clearer what you are trying to accomplish

" have two networks. The networks are connected together"
How are they connected, by a router?
Are you trying to move the box from one network to the other?
0
 

Author Comment

by:wmmak
ID: 6898214
Hi All,
Please let me explain more in detail.
I have ten Computers working with IP 192.168.1.xxx. Also, I have another ten computers working with IP 192.168.10.xxx. I have connected these two networks via an additional hub. I want to send files from the computers using IP 192.168.1.1. to another Computer using IP 192.168.10.1. I tried to use PING 192.168.10.1 from computer using 192.168.1.1, it is not working. Now, I cannot change these two IP groups into the same class for some reasons.  So, I think I need to add something ( like router ) to help me sending files from Computer using IP 192.168.1.1 to another Computer using IP 192.168.10.1. I guess I need a router to re-route the IP 192.168.1.1 to IP 192.168.10.1.  Please advise.  Thanks.
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 6898227
So, I think I need to add something ( like router ) to help me sending
files from Computer using IP 192.168.1.1 to another Computer using IP 192.168.10.1. I guess I need a
router to re-route the IP 192.168.1.1 to IP 192.168.10.1.  Please advise.
Yes you need a router of some sort, either a hardware router (the hub won't do it) or a computer (with 2 NIC's) running Linux/NT/W2k/XP (an os that supports being a router)
Linksys makes a reasonably priced router that will do this, also a 486 with Linux will do this
Note a hub just broadcasts packets to all ports, it can not do routing
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 6898234
There are lots of companies that make routers, in varying price ranges, depending on the size (number of ports) and other management features (SNMP)
the simnpler, usually the less expensive
0
 

Author Comment

by:wmmak
ID: 6898906
Would you please one model of router is good enough for my purpose.  Would you please advise how to install the router and how to do the configuration. Thanks.


0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 8

Accepted Solution

by:
scraig84 earned 300 total points
ID: 6899124
There are very few if any cheap hardware routers for LAN routing.  Most low end routers are designed for getting connections to a branch office or to the Internet.  A 2600 model from Cisco would probably be the lowest you could get away with (at least that's what I can think of off the top of my head), and that will run you a couple grand.  Stevenlewis mentions that Linksys has some that can do this, but I have never seen any LAN routers from them.  I just checked their web site and did not see any in their product section.  However, if you are familiar with Linux, you could set up a box to route - or you could even use an NT server.  All you have to do there is check the "ip forwarding" box in the networking settings and have a couple of NIC cards addressed appropriately for the different networks.  From there all you would need to do is set the default gateway on your client machines to point to the address of the router.

I will also mention that just about any Cisco router COULD do it with a single Ethernet interface with secondary addressing.  However, this is typically considered a temporary solution to problems and should not be considered a long-term solution.

Good Luck!
0
 
LVL 3

Expert Comment

by:CyberStretch
ID: 6899489
Actually, you could probably get by with some sort of bridge vs a router since you are trying to "bridge" (connect) two different network segments.

By far, the previous suggestion about adding another NIC in one system and having it participate in both LAN segments would be the most cost efficient and lowest learning curve involved. However, relaxing the restriction of grouping the segements together by using the same subnet mask would make things all that much easier, since this only involves a minor configuration change to your current setup.

Also, you mention that you have these 20 systems (10 per segment) connected via a hub. You would probably benefit from replacing the hub (a broadcast medium) to a switch (a direct to port medium) as far as congestion and Ethernet collisions are concerned. If you start to notice some degradation on the LAN, this would be the first place to look.
0
 
LVL 8

Expert Comment

by:scraig84
ID: 6899513
Sorry to be harsh, but what the heck are you talking about????

Sure, switching can add performance value, but this is not a performance question.  Last time I checked, you can't switch across a layer 3 hop.  He has already stated he can't play around with the subnet mask, so his only option is to route.
0
 
LVL 3

Expert Comment

by:CyberStretch
ID: 6899638
scraig,

It is possible to use a Layer 3 Switch vs a router to achieve the desired results; at least according to my experience.

You may want to read: Layer 3 Switches and Routers Compared (http://searchnetworking.techtarget.com/originalContent/0,289142,sid7_gci803146,00.html) for a brief overview.
0
 
LVL 8

Expert Comment

by:scraig84
ID: 6899712
Dude dude dude.  A layer 3 switch IS a router or in other words a switch with a route processor inside.  Also, don't change history here.  You said "bridge", not "route" and recommended a bridge INSTEAD of a router.  If you are insuating that the term bridge is synonymous with layer 3 switching, than you are officially out of your mind or you may want to start doing some reading yourself.

0
 
LVL 8

Expert Comment

by:scraig84
ID: 6899724
I just reread what I wrote and apologize for being a bit overheated there.  I am a bit cranky today.  I especially apologize to wmmak and stevenlewis for cluttering your inboxes with argumentative posts.
0
 
LVL 3

Expert Comment

by:CyberStretch
ID: 6899981
scraig,

I, for one, accept your apology.

My response was to your comment regarding using a switch. You initially made no reference to the bridge suggestion. There are also brouters which function both as bridges and routers.

I think the hybrid nature of recent devices tends to lend some confusion to the "classical" definition that many people tend to associate with the terminology.

Regardless, an answer was accepted and I do not believe that the continuation of a technical or semantical debate would prove to be beneficial.

I sincerely hope your day goes better than it appears to have thus far.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

867 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

22 Experts available now in Live!

Get 1:1 Help Now