LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 06-11-2013, 01:59 PM   #1
HaroldWho
Member
 
Registered: Nov 2006
Location: southeastern PA
Distribution: Slackware
Posts: 130

Rep: Reputation: 23
Router assigns 192.168.1.4 Although .3 and .2 are Not Busy


My Verizon router has always assigned 192.168.1.2 to my desktop. Recently I had guests who connected when I was not, and they were assigned 1.2.168.1.2 and .3 When I connected I got .4

Now I always get .4, even though the router shown no connections to .3 or .2

It's not a biggie, but is IS puzzling.
 
Old 06-12-2013, 03:35 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by HaroldWho View Post
My Verizon router has always assigned 192.168.1.2 to my desktop. Recently I had guests who connected when I was not, and they were assigned 1.2.168.1.2 and .3 When I connected I got .4

Now I always get .4, even though the router shown no connections to .3 or .2

It's not a biggie, but is IS puzzling.
at a first glance, that my be puzzling, alright. But if you think about the strategy these SOHO routers usually use with their built-in DHCP servers, it's not that surprising any more.

Basically, they maintain a cross-reference list of MAC and assigned IP addresses, and when a device returns later, it is usually given the same IP again. If a new, yet unknown device comes along and asks for an IP, however, it will get the first available one.

So what happened is obvious: Your PC wasn't connected when the two guest PCs hooked up. They were unknown so far, so they got the first two available IPs .2 and .3 (.1 is the router itself, I guess). The record about your own PC, which used to have the .2, was now overwritten. A bit later, your own PC joined the network, and since the record referring to it was overwritten, it was considered a new device and got the first available IP, which was .4 now.
From then on, your router would remember that your PC had the .4 and assign that IP again and again.

Restarting the router may or may not erase this table, so that after that you might get the .2 again.

[X] Doc CPU
 
1 members found this post helpful.
Old 06-12-2013, 02:23 PM   #3
HaroldWho
Member
 
Registered: Nov 2006
Location: southeastern PA
Distribution: Slackware
Posts: 130

Original Poster
Rep: Reputation: 23
Thanks Doc! Mystery solved. Now I can stop searching my HDD fora file that contains "192.168.1.4" :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] My wireless router displays ip addresses as 10.0.0.5 instead of 192.168.1.1 EDDY1 Linux - Networking 7 03-09-2012 02:06 AM
[SOLVED] iptables 192.168.1.x server, can't ping by 192.168.0.x momok Linux - Security 2 06-02-2011 02:32 AM
[root@wlxxb ~]# telnet 192.168.192.12 25 Trying 192.168.192.12... telnet problem cnhawk386 Linux - Networking 1 10-10-2007 03:50 PM
What route to access daisy chained 2d router 192.168.1.1 after 192.168.0.1 (subnets?) Emmanuel_uk Linux - Networking 6 05-05-2006 02:47 AM
router log: **Smurt** from 192.168.1.2 qwijibow Linux - Security 8 02-03-2005 11:01 AM

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

All times are GMT -5. The time now is 10:15 PM.

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