Am 08.02.2023 16:54, schrieb Christian Perle:
Hallo Christian
Im verbundenen Zustand waeren die Ausgaben folgender Befehle interessant:
$ ip addr show
$ ip rule show
$ ip route show
$ ip route get 8.8.8.8
Hier das ganze:
lucabert@NB-3W60C0:~$ ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp11s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 6c:24:08:b0:48:61 brd ff:ff:ff:ff:ff:ff inet 172.29.24.183/23 brd 172.29.25.255 scope global dynamic noprefixroute enp11s0 valid_lft 658542sec preferred_lft 658542sec inet6 fe80::530a:1606:b5ef:3d7b/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: enx047bcb5f3c92: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 link/ether 04:7b:cb:5f:3c:92 brd ff:ff:ff:ff:ff:ff 4: wlp9s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether be:66:9e:90:96:cf brd ff:ff:ff:ff:ff:ff permaddr a0:80:69:a3:d7:16 6: lucabert: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500 link/none inet 10.200.0.5/24 brd 10.200.0.255 scope global noprefixroute lucabert valid_lft forever preferred_lft forever inet6 fe80::3446:32d5:f7db:b453/64 scope link stable-privacy valid_lft forever preferred_lft forever lucabert@NB-3W60C0:~$ ip rule show 0: from all lookup local 32766: from all lookup main 32767: from all lookup default lucabert@NB-3W60C0:~$ ip route show default via 172.29.24.1 dev enp11s0 proto dhcp metric 100 10.200.0.0/24 dev lucabert proto kernel scope link src 10.200.0.5 metric 50 46.251.251.211 via 10.200.0.1 dev lucabert proto static metric 50 87.191.224.158 via 10.200.0.1 dev lucabert proto static metric 50 91.216.245.10 via 10.200.0.1 dev lucabert proto static metric 50 93.241.91.232 via 172.29.24.1 dev enp11s0 proto static metric 100 169.254.0.0/16 dev enp11s0 scope link metric 1000 172.29.24.0/23 dev enp11s0 proto kernel scope link src 172.29.24.183 metric 100 172.29.24.1 dev enp11s0 proto static scope link metric 100 185.242.112.224 via 10.200.0.1 dev lucabert proto static metric 50 185.242.112.225 via 10.200.0.1 dev lucabert proto static metric 50 192.168.10.0/24 via 10.200.0.1 dev lucabert proto static metric 50 192.168.40.0/24 via 10.200.0.1 dev lucabert proto static metric 50 lucabert@NB-3W60C0:~$ ip route get 8.8.8.8 8.8.8.8 via 172.29.24.1 dev enp11s0 src 172.29.24.183 uid 1000 cache lucabert@NB-3W60C0:~$ ip route get 192.168.10.3 192.168.10.3 via 10.200.0.1 dev lucabert src 10.200.0.5 uid 1000 cache
Hilft das?
Danke Luca Bertoncello (lucabert@lucabert.de)