Tons of logs from IPv4: martian source
Posted: Aug 25th, '16, 16:29
I use old laptop as small server with Wake on LAN facility. It has plugged 3xUSB ver 3 PCI module. Onboard Ethernet Interface works as Wake on LAN interface but maximum speed is 100 MBps. Because of that I plugged Broadcom USB ver 3 to Gigabit Ethernet module for "ordinary" transmission. It is not possible to make WoL using this Gigabit module because of hardware limitation of PCI to USB ver 3 plugged module.
Below configuration of my interfaces:
Interface ens1u3 (IP - 192.168.0.7) is gigabit interface while enp6s0 (IP 192.168.1.7) is onboard 100 MBps Ethernet port.
Both interfaces has static IP configuration.
The problem is, that journald shows tons of logs such:
The address 192.168.0.1 is address of my router and 192.68.0.121 is addres of internal DHCP server.
I disabled martians logs by placing such line in root cron:
Now martians logging is disable but as far as I know it should not be disabled. So - in my meaning it is just workaround.
So is any possibility to reduce martians? Maybe something wrong with my configuration?
Below configuration of my interfaces:
- Code: Select all
enp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.7 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::21e:68ff:fe25:d575 prefixlen 64 scopeid 0x20<link>
ether 00:1e:68:25:d5:75 txqueuelen 1000 (Ethernet)
RX packets 881 bytes 156707 (153.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 262 bytes 49140 (47.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ens1u3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.7 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::76da:38ff:fe49:fc16 prefixlen 64 scopeid 0x20<link>
ether 74:da:38:49:fc:16 txqueuelen 1000 (Ethernet)
RX packets 45996 bytes 61152792 (58.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 25953 bytes 3654520 (3.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Interface ens1u3 (IP - 192.168.0.7) is gigabit interface while enp6s0 (IP 192.168.1.7) is onboard 100 MBps Ethernet port.
Both interfaces has static IP configuration.
The problem is, that journald shows tons of logs such:
- Code: Select all
IPv4: martian source 192.168.0.1 from 192.168.0.121, on dev enp6s0
kernel : ff ff ff ff ff ff 1c 5a 3e 54 d1 03 08 06
kernel : IPv4: martian source 192.168.0.1 from 192.168.0.121, on dev enp6s0
kernel : ll header: 00000000: ff ff ff ff ff ff 1c 5a 3e 54 d1 03 08 06
kernel : IPv4: martian source 192.168.0.1 from 192.168.0.121, on dev enp6s0
kernel : ll header: 00000000: ff ff ff ff ff ff 1c 5a 3e 54 d1 03 08 06
kernel : IPv4: martian source 192.168.0.1 from 192.168.0.121, on dev enp6s0
kernel: ll header: 00000000: ff ff ff ff ff ff 1c 5a 3e 54 d1 03 08 06
kernel: IPv4: martian source 192.168.0.1 from 192.168.0.121, on dev enp6s0
kernel: ll header: 00000000: ff ff ff ff ff ff 1c 5a 3e 54 d1 03 08 06
The address 192.168.0.1 is address of my router and 192.68.0.121 is addres of internal DHCP server.
I disabled martians logs by placing such line in root cron:
- Code: Select all
@reboot sleep 30; echo 0 >/proc/sys/net/ipv4/conf/tun0/log_martians
Now martians logging is disable but as far as I know it should not be disabled. So - in my meaning it is just workaround.
So is any possibility to reduce martians? Maybe something wrong with my configuration?