LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-22-2004, 09:40 PM   #1
Bassam
Member
 
Registered: Mar 2003
Location: Malaysia
Posts: 63

Rep: Reputation: 15
How to solve the problem of IP conflict


Hi All,
How to handle the problem of IP conflict when two nodes (exactly having the same network configuration) join a wireless network.

I want a solution for this problem without changing the IP address for any one of them.

The nodes can not change their IP address for the following reasons:
1- The user has no administrator privileges to change his network configuration.
2- The user doesn't know what is the IP address and how to be changed.

Is there some hint or article that I can read that helps me in solving and finding a solution for this problem?



Thanks for your support
Bassam
 
Old 03-22-2004, 09:45 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Easy, all the clients should use DHCP instead of static configurations. There's no way to resolve a conflict between two statically configured IPs, that's why DHCP was created!
 
Old 03-23-2004, 12:13 AM   #3
Bassam
Member
 
Registered: Mar 2003
Location: Malaysia
Posts: 63

Original Poster
Rep: Reputation: 15
What about if:
1- The user has no administrator privileges to change his network configuration.
2- The user doesn't know what is the IP address and how to be changed.


I am sure there is someway to solve this problem
 
Old 03-23-2004, 12:29 AM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
There is no problem, you have to use DHCP. That's what it was created for.
 
Old 03-23-2004, 01:41 AM   #5
Bassam
Member
 
Registered: Mar 2003
Location: Malaysia
Posts: 63

Original Poster
Rep: Reputation: 15
Guy,
I think you are not able to catch my Idea. It is better if I take an example from our life:

Suppose, a guy with a mobile node has joined a foreign wireless network after he was located in his original wireless network. When he switched on his wireless laptop he got an IP conflict message because of another mobile node has already joined this wireless netwok before.

Now, the later guy doesn't know what to do in order to access the wirless network for the following reasons:

1- The guy might don't have Administrator privilges so he can assign a differen IP to his mobile node or he can change to DHCP.

2- The guy is just a normal user which he doesn't know what is network configuartion and what is IP address or DHCP and how to be changed.

And to clear, I have designed and developed a special gateway for a wireless network that enables the mobile nodes from accessing the network and the Internet with any static IP address and it works perfectly, but I faced the problem of redundant IP address.

I am sure it should be a solution or a number of Ideas to cop this obstacle, but I don't know from where should I start to read about it.
 
Old 03-23-2004, 02:24 AM   #6
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Seriously, there is no solution to your problem. What you are talking about is the exact reason DHCP was developed.

There is no way to prevent a conflict if two machines with the same IP join the same network.

You have to run DHCP. I understand that you are concerned about users coming in with a static IP having a conflict, but that isn't your problem really. Also, the chances of a user having a laptop setup for a static IP wireless connection seems pretty unlikely to me.

Anyone running a wireless network, be it private or corporate, would have to be suicidal to try and use static addressing on it. The appeal of wireless networks is that you are free to have mobile stations come and go on your network without any physical connections to complicate things. Setting up a wireless network with static addressing would completely negate the benefits of the system.

So not only are we talking about the unlikely event of somebody coming in with a laptop setup for static IP wireless, but we are talking about multiple static wireless laptops, and not only that, but 2 of them having the same IP address! The likelihood of such an event occurring is so slight I wouldn't even consider it a concern.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Who can help me to solve this problem? Annie0716 Programming 2 08-09-2004 07:59 PM
I don't know how to solve a problem in C nostrum Programming 5 07-20-2004 07:57 AM
NFS vs. Shorewall conflict (should be easy to solve - :newbie: here) perry Linux - Networking 2 05-21-2004 12:49 PM
NFS vs. Shorewall conflict (should be easy to solve - :newbie: here) perry Linux - Security 3 05-05-2004 03:57 PM
No one can solve my problem Sundance Linux - Newbie 5 12-08-2003 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration