1 |
On 21/03/2017 23:05, thelma@×××××××××××.com wrote: |
2 |
> |
3 |
> |
4 |
> |
5 |
> Thelma |
6 |
> On 03/21/2017 01:25 PM, Kai Krakow wrote: |
7 |
>> Am Tue, 21 Mar 2017 11:08:49 -0600 |
8 |
>> schrieb thelma@×××××××××××.com: |
9 |
>> |
10 |
>>> On 03/21/2017 10:21 AM, Ian Zimmerman wrote: |
11 |
>>>> On 2017-03-21 06:59, thelma@×××××××××××.com wrote: |
12 |
>>>> |
13 |
>>>>> Sometimes it does, the IP stays for a several days but sometimes it |
14 |
>>>>> boots with correct IP and the IP changes after few hours to |
15 |
>>>>> something like 192.168.xxx (which is not what my firewall |
16 |
>>>>> provides.) |
17 |
>>>> |
18 |
>>>> Maybe you have another (misconfigured) DHCP server on the network? |
19 |
>>>> tcpdump could be your friend. |
20 |
>>> |
21 |
>>> The only strange entries I see in message logs are: |
22 |
>>> |
23 |
>>> eden dbus[3276]: [system] Activating service |
24 |
>>> name='org.freedesktop.UDisks2' (using servicehelper) eden |
25 |
>>> udisksd[4067]: udisks daemon version 2.1.8 starting eden dbus[3276]: |
26 |
>>> [system] Successfully activated service 'org.freedesktop.UDisks2' |
27 |
>>> eden udisksd[4067]: Acquired the name org.freedesktop.UDisks2 on the |
28 |
>>> system message bus eden apcupsd[2864]: Communications with UPS lost. |
29 |
>>> eden postfix/pickup[3665]: 2BC8520064: uid=0 |
30 |
>>> from=<root@××××.localdomain> eden postfix/cleanup[4174]: 2BC8520064: |
31 |
>>> message-id=<20170321045940.2BC8520064@××××.localdomain> eden |
32 |
>>> postfix/qmgr[3666]: 2BC8520064: from=<root@××××.localdomain>, |
33 |
>>> size=924, nrcpt=1 (queue active) eden postfix/cleanup[4174]: |
34 |
>>> 7C18420023: message-id=<20170321045940.2BC8520064@××××.localdomain> |
35 |
>>> eden postfix/qmgr[3666]: 7C18420023: from=<root@××××.localdomain>, |
36 |
>>> size=1057, nrcpt=1 (queue active) eden postfix/local[4180]: |
37 |
>>> 2BC8520064: to=<root@××××.localdomain>, relay=local, delay=0.59, |
38 |
>>> delays=0.32/0.21/0/0.05, dsn=2.0.0, status=sent (forwarded as |
39 |
>>> 7C18420023) eden postfix/qmgr[3666]: 2BC8520064: removed eden |
40 |
>>> postfix/smtp[4184]: 7C18420023: to=<thelma@×××××××××××.com>, |
41 |
>>> orig_to=<root@××××.localdomain>, relay=none, delay=0.13, |
42 |
>>> delays=0.05/0.08/0/0, dsn=4.4.3, status=deferred (Host or domain name |
43 |
>>> not found. Name service error for name=mail.sys-concept.com type=MX: |
44 |
>>> Host not found, try again) |
45 |
>> |
46 |
>> What's strange about these logs? |
47 |
>> |
48 |
>>> This must be from "apcupsd" |
49 |
>>> Could this service causes some problem with my network? |
50 |
>> |
51 |
>> That service is only victim of the IP address changing. It's not the |
52 |
>> source of the problem. |
53 |
>> |
54 |
>>> Shortly after I could not receive any message from the system, I |
55 |
>>> think the network connection got lost. -- |
56 |
>> |
57 |
>> You wrote that this happened in different locations, I guess you mean |
58 |
>> different networked sites with each their own DHCP server. |
59 |
>> |
60 |
>> So, I my best guess is that you're running a local DHCP server by |
61 |
>> accident. |
62 |
>> |
63 |
>> Which service does configure your network? |
64 |
>> |
65 |
>> If it's systemd-networkd, you could check those logs after the problem |
66 |
>> occurred: |
67 |
>> |
68 |
>> # journalctl -b -u systemd-networkd.service | fgrep -i dhcpv4 |
69 |
>> |
70 |
>> Apparently, it doesn't tell you what the DHCP server is by MAC address, |
71 |
>> but the reported "via" at least tells you the IP. |
72 |
>> |
73 |
>> It looks like this: |
74 |
>> |
75 |
>> Mar 17 19:21:33 jupiter systemd-networkd[680]: enp5s0: DHCPv4 address 192.168.4.102/24 via 192.168.4.254 |
76 |
>> |
77 |
>> Other network management daemons should log similar lines. Try first |
78 |
>> without fgrep. |
79 |
> |
80 |
> I run DHCP on my DD-WRT router, and all the boxes are running OK, except this one. The IP the box suppose to get is: 10.10.0.7 (static IP ) and here is an entry from last night long: |
81 |
> |
82 |
> eden dhcpcd[7478]: net0: adding address fe80::a98a:8875:2106:64bc |
83 |
> eden dhcpcd[7478]: DUID 00:01:00:01:1a:bc:bc:ca:00:30:18:ad:ed:b4 |
84 |
> eden dhcpcd[7478]: net0: IAID 18:ad:ed:b4 |
85 |
> eden dhcpcd[7478]: net0: soliciting an IPv6 router |
86 |
> eden dhcpcd[7478]: net0: soliciting a DHCP lease |
87 |
> eden dhcpcd[7478]: net0: probing for an IPv4LL address |
88 |
> eden dhcpcd[7478]: net0: using IPv4LL address 169.254.156.68 |
89 |
> eden dhcpcd[7478]: net0: adding route to 169.254.0.0/16 |
90 |
|
91 |
That's an APIPA address. Think of it as a no-network-config-required |
92 |
fallback. The machine did that because it didn't get a real address. |
93 |
|
94 |
If you've checked you don't have some static network config local to the |
95 |
box, and your mac address is correct in the dhcp server, then you |
96 |
probably have physical layer 1 problems. |
97 |
|
98 |
You say you've checked the cables and two network points. OK, that rules |
99 |
out your machine, cable and RJ sockets. |
100 |
|
101 |
Next check the switch, use a different port. |
102 |
Switches are high susceptible to having ports damaged, it comes from |
103 |
induced spikes from the long cable runs plugged into them. Homo sapiens |
104 |
doesn't know how to fix that, no matter what marketing departments print |
105 |
on boxes |
106 |
|
107 |
|
108 |
|
109 |
> |
110 |
> I could suspect the cable but I use two different cable in two different location on same network and same thing happens. |
111 |
> I took that box home and it hang up on me in the morning. |
112 |
> I've already ordered a replacement. The only reason I was sticking to it as it is already configured for my hylafax, asterisk. |
113 |
> |
114 |
> -- |
115 |
> Thelma |
116 |
> |
117 |
|
118 |
|
119 |
-- |
120 |
Alan McKinnon |
121 |
alan.mckinnon@×××××.com |