Configuring static ip address on several systems


 
Thread Tools Search this Thread
Special Forums IP Networking Configuring static ip address on several systems
# 1  
Old 06-22-2016
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:
Mod Comment Please use code tags as required by forum rules!
Configuring static ip address on several systems-screen-shot-2016-06-16-75322-pmpng
Configuring static ip address on several systems-screen-shot-2016-06-16-75412-pmpng
Configuring static ip address on several systems-screen-shot-2016-06-16-75455-pmpng
Configuring static ip address on several systems-screen-shot-2016-06-16-75554-pmpng
Configuring static ip address on several systems-screen-shot-2016-06-16-75647-pmpng


Last edited by JoeOnaMac; 07-06-2016 at 09:15 AM.. Reason: Tried hard to add some code tags.
# 2  
Old 07-06-2016
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.
# 3  
Old 07-06-2016
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Linux

Unable to set static ip address

Hi All, Am using centos 7 in my vmware workstatio with the bridged network. when run the ifconfig cmd its not at all showing the ip address and pls advise how to set static ip address in my linux box. (1 Reply)
Discussion started by: sarathkumar s
1 Replies

2. IP Networking

Free subdomain to my IP Address and Static IP

Hi all, I would need to register a random free subdomain address and associate that to my IP Address. Any suggestion of a good service? Also I don't have a static IP but i remember that there are services that automatically reset the right IP address behind the subdomain but i don't remember... (1 Reply)
Discussion started by: Tameto
1 Replies

3. Red Hat

Purpose of Static IP address through DHCP

Hi All, Could you please explain the purpose of assigning the static IP by using the DHCP Concept. Like by using the clients MAC address we assign the static IP Address. Waiting for your reply. Thanks in Advance. (6 Replies)
Discussion started by: Sharath Kumar
6 Replies

4. UNIX for Dummies Questions & Answers

Static IP address works on Ethernet but not Wireless

Hi all, I have literally spent all day trying dozens of different combinations, re-installs and tweaks to try and resolve this problem. I would be EXTREMELY grateful if anyone can help/point me in the right direction. I am using OpenBSD 4.6 and am trying to connect to my wireless network with... (1 Reply)
Discussion started by: wcontm
1 Replies

5. UNIX for Dummies Questions & Answers

Static IP address for solaris 10 virtual machine

Hi All I am having a solaris 10 virtual machine on vista (using vmware 7) laptop. Now i want to access virtual machine from vista using putty. Problem is that i insalled the solaris machine as dhcp. and whenever i connect to internet or reboot my system the IP address of solaris... (1 Reply)
Discussion started by: ankurk
1 Replies

6. Solaris

How to Configure a Static Ip Address

Hello friend, I am new in UNIX, but I want to learn a lot Well I have a problem to try to configure my PC with a static IP Address (IP 192.168.1.39, Mask 255.255.255.0, gateway 192.168.1.1) (DNS 200.48.225.130 and 200.48.225.146). where are the file that I must be change? The SO is Sun Solaris... (15 Replies)
Discussion started by: andresguillen
15 Replies

7. UNIX for Dummies Questions & Answers

How to apply static ip address

Hi there, I have a Debian 5.0 server newly installed. By default, the ip address is given by dhcp. pegase:~# grep '^' /etc/network/interfaces auto lo iface lo inet loopback allow-hotplug eth0 iface eth0 inet dhcp pegase:~# head -2 /etc/hosts 127.0.0.1 localhost 127.0.1.1 ... (1 Reply)
Discussion started by: chebarbudo
1 Replies

8. Solaris

Add Static Routes to new physical address

Hi, I need help to add new route: 10.252.0.138, GW 10.252.0.129 to e1000g1 and 10.252.0.10, GW 10.252.0.1 to e1000g2 tnx (4 Replies)
Discussion started by: mehrdad68
4 Replies
Login or Register to Ask a Question