Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

wondering about my routing table (metric)

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
thylerkohlhaas
Posts: 1
Joined: 2017-01-19 06:28

wondering about my routing table (metric)

#1 Post by thylerkohlhaas »

Im wondering about my routing table, which contains two default routes to the same network but with different metric.
I also wonder about the metric value which I expected to be 0 for "directly connected" networks.

Is there somebody around who could advise ?

root@picam:~# route -n
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.3.1 0.0.0.0 UG 0 0 0 wlan0
0.0.0.0 10.10.10.254 0.0.0.0 UG 300 0 0 eth0
0.0.0.0 192.168.3.1 0.0.0.0 UG 303 0 0 wlan0
10.10.10.0 0.0.0.0 255.255.255.0 U 300 0 0 eth0
192.168.3.0 0.0.0.0 255.255.255.0 U 303 0 0 wlan0

/etc/network/interfaces

root@picam:~# cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 10.10.10.21
netmask 255.255.255.0

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
dns-nameservers 8.8.4.4 8.8.8.8

Post Reply