IP Networking

Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

Configuring static ip address on several systems

👤 Login to reply

    #1  
Old 06-22-2016
JoeOnaMac JoeOnaMac is offline
Registered User
 
Join Date: Sep 2015
Last Activity: 31 December 2016, 11:26 AM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Configuring static ip address on several systems

p { margin-bottom: 0.1in; line-height: 120%; }a:link { } Hello,
I'm have an interesting issue with some Raspberry Pi's which I have on my home network.
The pi's are on 192.168.1.102, 192.168.1.103, 192.168.1.104
Something very strange is happening on my network. The pi on 192.168.1.104 is appearing as 192.168.1.13, this is in the range of devices assigned via DHCP. Then, once I noticed it appearing twice, as 192.168.1.104 and 192.168.1.13 Then after refreshing the netgear console, the pi appears again as only 192.168.1.13
Then one time after refreshing the netgear console, no devices appear, not even my DHCP assigned ones.
The pi on .103 is appearing (when it appears at all as .16.
Then when refreshing, I see the pi on 192.168.1.103 appearing correctly, while the .104 pi appears still at .13
Then sometimes, the .104 and the .103 pi's appear correctly, but only for a moment as I view them on netgear console. Then sometimes they disappear, sometimes they resolve back to the .104 address and only the .103 pi disappears.
Then the pi on 192.168.1.104 started appearing on 192.168.1.17 and on 192.168.1.13
In short, the addresses are all over the place.
When I ping them I also get non-conclusive results. They didn't ping on their proper addresses, then they pinged for a while on the .13 and .16 address. Then they started not pinging on those addresses at all.
A few days later, when I try again, the pi on 192.168.1.104 pings on that address.
Today, when I tried again, they ping on 192.168.1.104.
On 192.168.1.103, I get:
Code:
Request timeout for icmp_seq 0
 Request timeout for icmp_seq 1
 Request timeout for icmp_seq 2
 64 bytes from 192.168.1.103: icmp_seq=3 ttl=64 time=92.383 ms
 64 bytes from 192.168.1.103: icmp_seq=4 ttl=64 time=8.467 ms

I just don't understand what's going on




My /etc/network/interfaces (on the .104 address pi) is:


Code:
  source-directory /etc/network/interfaces.d
 
 
 auto lo
 iface lo inet loopback
 
 
 iface eth0 inet manual
 
 
 allow-hotplug wlan0
 iface wlan0 inet static
     wpa-ssid "hogwartschoolofmagic"
     wps-psk "xxxxxxxxxxxx"
     address 192.168.1.104
     netmask 255.255.255.0
     gateway 192.168.1.1
     wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
 
 
 allow-hotplug wlan1
 iface wlan1 inet manual
     wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

/etc/wpa-supplicant.conf is


Code:
  ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
 update_config=1
 country=US
 
 
 network={
     ssid="hogwartschoolofmagic"
     psk="xxxxxxxxxxx"
     key_mgmt=WPA-PSK
 }

The other pi's are configures in a similar way only the addresss and computer names change.


I don't really know who to ask for help. Is this a netgear router issue? Is it a Linux issue? Is it a Raspberry Pi issue?


If someone could shed some light on my problem, I would be grateful.


Joe





Moderator's Comments:
Configuring static ip address on several systems Please use code tags as required by forum rules!
Configuring static ip address on several systems-screen-shot-2016-06-16-7-53-22-pm-png  
Configuring static ip address on several systems-screen-shot-2016-06-16-7-54-12-pm-png  
Configuring static ip address on several systems-screen-shot-2016-06-16-7-54-55-pm-png  
Configuring static ip address on several systems-screen-shot-2016-06-16-7-55-54-pm-png  
Configuring static ip address on several systems-screen-shot-2016-06-16-7-56-47-pm-png  



Last edited by JoeOnaMac; 07-06-2016 at 08:15 AM.. Reason: Tried hard to add some code tags.
Sponsored Links
    #2  
Old 07-06-2016
gexacor gexacor is offline
Registered User
 
Join Date: Jul 2016
Last Activity: 6 July 2016, 5:23 AM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Hey

Try to set the static IPs for your Raspberry Pi devices and see if that help.
And if you're using static IPs like I can see above you need to make sure that used IPs are not overlapping with your router DHCP range!

When you configure your RPi to use static 192.168.1.104 your router can lease the same IP to another client and you'll have the IP conflict.

Did you check them for possible MAC address duplication by the way? It can cause packet loss and DHCP leases mess.
Sponsored Links
    #3  
Old 07-06-2016
JoeOnaMac JoeOnaMac is offline
Registered User
 
Join Date: Sep 2015
Last Activity: 31 December 2016, 11:26 AM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, I'll take a look at that. But right now, new devices get added around 192.168.1.20 -ish.
I'm no where near the 100's range.
Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Free subdomain to my IP Address and Static IP Tameto IP Networking 1 04-24-2016 01:00 PM
Purpose of Static IP address through DHCP Sharath Kumar Red Hat 6 06-26-2011 03:36 PM
How to Configure a Static Ip Address andresguillen Solaris 15 08-12-2009 03:45 AM
How to apply static ip address chebarbudo UNIX for Dummies Questions & Answers 1 03-12-2009 01:35 PM



All times are GMT -4. The time now is 07:11 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?