Liegt hier vllt der Fehler?
Code: Alles auswählen
# ip -a route
0.0.0.0 dev ens2 scope link
default dev ens2 scope link
default via 192.168.2.1 dev ens2 proto static
169.254.0.0/16 dev ens2 proto kernel scope link src 169.254.224.79
192.168.2.0/24 dev ens2 proto kernel scope link src 192.168.2.12
WAs hat diese 169.254.0.0 in meinen NEtzwerk zu suchen? Wo kommt ide har. Whois sagt:
Code: Alles auswählen
# whois 169.254.0.0
#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/resources/registry/whois/tou/
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
#
# Copyright 1997-2022, American Registry for Internet Numbers, Ltd.
#
NetRange: 169.254.0.0 - 169.254.255.255
CIDR: 169.254.0.0/16
NetName: LINKLOCAL-RFC3927-IANA-RESERVED
NetHandle: NET-169-254-0-0-1
Parent: NET169 (NET-169-0-0-0-0)
NetType: IANA Special Use
OriginAS:
Organization: Internet Assigned Numbers Authority (IANA)
RegDate: 1998-01-27
Updated: 2014-01-09
Comment: Computers use addresses starting with "169.254." when they do not have a manually configured address or when they are not told which address to use by a service on the network. They are commonly called the "link local" addresses.
Comment:
Comment: Routers are not allowed to forward packets sent from an IPv4 "link local" address, so they are always used by a directly connected device.
Comment:
...
Natürlich hat mein Schlepptop eine manuell konfigurierte adresse. Aber irgend ein beim d-u installiert service möchte die vllt nutzen? Was ist da los? Gehts hier zur Ursache?
Edit:
Code: Alles auswählen
# netstat
Aktive Internetverbindungen (ohne Server)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 1 0 xxx.yyy:35594 fritz.box:45319 CLOSE_WAIT
tcp 1 0 xxx.yyy:35598 fritz.box:45319 CLOSE_WAIT
tcp 1 0 xxx.yyy:43022 fritz.box:45319 CLOSE_WAIT
tcp 1 0 schleppi:36306 169.254.1.1:45319 CLOSE_WAIT
tcp 1 0 xxx.yyy:35578 fritz.box:45319 CLOSE_WAIT
tcp 0 164 xxx.yyy:ssh xxx.yyy:48022 VERBUNDEN
tcp 1 0 schleppi:36312 169.254.1.1:45319 CLOSE_WAIT
tcp 1 0 xxx.yyy:43024 fritz.box:45319 CLOSE_WAIT
tcp 1 0 xxx.yyy:43032 fritz.box:45319 CLOSE_WAIT
Die ssh verbindung ist mein Desktop, nur zur klärung. Aber warum verwendet mein Schleptop diese 169.254.1.1, ich meine damit ist klar warum das mit dem Internet nicht klappt, weil die Adresse nicht geroutet wird/werden darf.
Aber welches paket hat das beim dist-upgrade so eingerichtet?
Das ist meine /etc/systemd/network/lan0.network
Code: Alles auswählen
# cat /etc/systemd/network/lan0.network
[Match]
Name=ens2
[Network]
Address=192.168.2.12
Gateway=192.168.2.1
DNS=192.168.2.1
Warum wird die nicht verwendet?
Code: Alles auswählen
# ip -a route
0.0.0.0 dev ens2 scope link
default dev ens2 scope link
default via 192.168.2.1 dev ens2 proto static
169.254.0.0/16 dev ens2 proto kernel scope link src 169.254.224.79
192.168.2.0/24 dev ens2 proto kernel scope link src 192.168.2.12
Code: Alles auswählen
# ip addr
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: ens2: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:15:58:c8:31:c7 brd ff:ff:ff:ff:ff:ff
altname enp2s0
inet 192.168.2.12/24 brd 192.168.2.255 scope global ens2
valid_lft forever preferred_lft forever
inet 169.254.224.79/16 brd 169.254.255.255 scope global ens2
valid_lft forever preferred_lft forever
inet6 fe80::215:58ff:fec8:31c7/64 scope link
valid_lft forever preferred_lft forever
3: wls3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:1b:77:6f:a1:b5 brd ff:ff:ff:ff:ff:ff
altname wlp3s0