[gelöst] update jessie -> stretch: kein default gateway mehr

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
Steve_McGarrett
Beiträge: 89
Registriert: 13.11.2007 22:20:33

[gelöst] update jessie -> stretch: kein default gateway mehr

Beitrag von Steve_McGarrett » 23.06.2017 19:03:11

Hallo,

ich habe im Keller einen Debian Server, der als DHCP und DNS-Server (dnsmasq), Werbefilter (pihole) und NAS dient.

Seitdem ich diesen auf Stretch aktualisiert habe, hat die default route kein Gateway mehr. Die Clients können über dnsmasq aber noch ins Internet.

Hier ein paar Angaben:

Code: Alles auswählen

cat /etc/network/interfaces
source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

allow-hotplug wlan0
iface wlan0 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

allow-hotplug wlan1
iface wlan1 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

iface eth0 inet manual
iface eth1 inet manual
auto br0
iface br0 inet static
  bridge_ports eth0 eth1
    address 192.168.1.2/24
    netmask 255.255.255.0
    gateway 192.168.1.1

Code: Alles auswählen

route
Kernel-IP-Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
default         0.0.0.0         0.0.0.0         U     202    0        0 eth0
default         0.0.0.0         0.0.0.0         U     203    0        0 eth1
default         0.0.0.0         0.0.0.0         U     204    0        0 br0
link-local      0.0.0.0         255.255.0.0     U     202    0        0 eth0
link-local      0.0.0.0         255.255.0.0     U     203    0        0 eth1
link-local      0.0.0.0         255.255.0.0     U     204    0        0 br0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br0

Code: Alles auswählen

ifconfig
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.2  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::213:3bff:fe99:11e  prefixlen 64  scopeid 0x20<link>
        ether 00:13:3b:99:01:1e  txqueuelen 1000  (Ethernet)
        RX packets 96125  bytes 27212117 (25.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5874  bytes 633011 (618.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

dummy0: flags=195<UP,BROADCAST,RUNNING,NOARP>  mtu 1500
        inet6 fe80::371a:effd:222d:c329  prefixlen 64  scopeid 0x20<link>
        ether ae:fd:df:05:80:21  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 156  bytes 59436 (58.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 169.254.203.116  netmask 255.255.0.0  broadcast 169.254.255.255
        ether b8:27:eb:7f:57:13  txqueuelen 1000  (Ethernet)
        RX packets 50606  bytes 8854336 (8.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 49682  bytes 19817373 (18.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 169.254.11.148  netmask 255.255.0.0  broadcast 169.254.255.255
        ether 00:13:3b:99:01:1e  txqueuelen 1000  (Ethernet)
        RX packets 45725  bytes 18384570 (17.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 50292  bytes 9610146 (9.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Lokale Schleife)
        RX packets 191334  bytes 17728504 (16.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 191334  bytes 17728504 (16.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Woher haben eth0 und eth1 plötzlich IP Adressen und dann auch noch so komische?

Code: Alles auswählen

dpkg -l|grep ii|grep -v lib
ii  acl                              2.2.52-3                    armhf        Access control list utilities
ii  adduser                          3.115                       all          add and remove users and groups
ii  alsa-utils                       1.1.3-1                     armhf        Utilities for configuring and using ALSA
ii  apt                              1.4.6                       armhf        commandline package manager
ii  apt-file                         3.1.4                       all          search for files within Debian packages (command-line interface)
ii  apt-listchanges                  3.10                        all          package change history notification tool
ii  apt-transport-https              1.4.6                       armhf        https download transport for APT
ii  apt-utils                        1.4.6                       armhf        package management related utility programs
ii  aptitude                         0.8.7-1                     armhf        terminal-based package manager
ii  aptitude-common                  0.8.7-1                     all          architecture independent files for the aptitude package manager
ii  attr                             1:2.4.47-2                  armhf        Utilities for manipulating filesystem extended attributes
ii  autoconf                         2.69-10                     all          automatic configure script builder
ii  automake                         1:1.15-6                    all          Tool for generating GNU Standards-compliant Makefiles
ii  autopoint                        0.19.8.1-2                  all          The autopoint program from GNU gettext
ii  autotools-dev                    20161112.1                  all          Update infrastructure for config.{guess,sub} files
ii  avahi-daemon                     0.6.32-2                    armhf        Avahi mDNS/DNS-SD daemon
ii  base-files                       9.9+rpi1                    armhf        Debian base system miscellaneous files
ii  base-passwd                      3.5.43                      armhf        Debian base system master password and group files
ii  bash                             4.4-5                       armhf        GNU Bourne Again SHell
ii  bash-completion                  1:2.1-4.3                   all          programmable completion for the bash shell
ii  bc                               1.06.95-9                   armhf        GNU bc arbitrary precision calculator language
ii  bind9-host                       1:9.10.3.dfsg.P4-12.3       armhf        Version of 'host' bundled with BIND 9.X
ii  binutils                         2.28-5                      armhf        GNU assembler, linker and binary utilities
ii  bluez                            5.43-2                      armhf        Bluetooth tools and daemons
ii  bluez-firmware                   1.2-3+rpi1                  all          Firmware for Bluetooth devices
ii  bridge-utils                     1.5-13                      armhf        Utilities for configuring the Linux Ethernet bridge
ii  bsd-mailx                        8.1.2-0.20160123cvs-4       armhf        simple mail user agent
ii  bsdmainutils                     9.0.12+nmu1                 armhf        collection of more utilities from FreeBSD
ii  bsdutils                         1:2.29.2-1                  armhf        basic utilities from 4.4BSD-Lite
ii  build-essential                  12.3                        armhf        Informational list of build-essential packages
ii  busybox                          1:1.22.0-19                 armhf        Tiny utilities for small and embedded systems
ii  bzip2                            1.0.6-8.1                   armhf        high-quality block-sorting file compressor - utilities
ii  ca-certificates                  20161130+nmu1               all          Common CA certificates
ii  calamaris                        2.99.4.5-1                  all          log analyzer for Squid or Oops proxy log files
ii  command-not-found                0.2.38-4                    all          Suggest installation of packages in interactive bash sessions
ii  console-setup                    1.164                       all          console font and keymap setup program
ii  console-setup-linux              1.164                       all          Linux specific part of console-setup
ii  coreutils                        8.26-3                      armhf        GNU core utilities
ii  cpio                             2.11+dfsg-6                 armhf        GNU cpio -- a program to manage archives of files
ii  cpp                              4:6.3.0-4                   armhf        GNU C preprocessor (cpp)
ii  cpp-4.9                          4.9.3-14                    armhf        GNU C preprocessor
ii  cpp-6                            6.3.0-18+rpi1               armhf        GNU C preprocessor
ii  crda                             3.18-1                      armhf        wireless Central Regulatory Domain Agent
ii  cron                             3.0pl1-128                  armhf        process scheduling daemon
ii  curl                             7.52.1-5                    armhf        command line tool for transferring data with URL syntax
ii  dash                             0.5.8-2.4                   armhf        POSIX-compliant shell
ii  dbus                             1.10.18-1                   armhf        simple interprocess messaging system (daemon and utilities)
ii  dbus-x11                         1.10.18-1                   armhf        simple interprocess messaging system (X11 deps)
ii  dc                               1.06.95-9                   armhf        GNU dc arbitrary precision reverse-polish calculator
ii  debconf                          1.5.61                      all          Debian configuration management system
ii  debconf-i18n                     1.5.61                      all          full internationalization support for debconf
ii  debconf-utils                    1.5.61                      all          debconf utilities
ii  debhelper                        10.2.5                      all          helper programs for debian/rules
ii  debianutils                      4.8.1.1                     armhf        Miscellaneous utilities specific to Debian
ii  device-tree-compiler             1.4.2-1                     armhf        Device Tree Compiler for Flat Device Trees
ii  dh-autoreconf                    14                          all          debhelper add-on to call autoreconf and clean up after the build
ii  dh-strip-nondeterminism          0.034-1                     all          file non-deterministic information stripper — Debhelper add-on
ii  dhcpcd5                          6.10.1-1                    armhf        DHCPv4, IPv6RA and DHCPv6 client with IPv4LL support
ii  dialog                           1.3-20160828-2              armhf        Displays user-friendly dialog boxes from shell scripts
ii  diffutils                        1:3.5-3                     armhf        File comparison utilities
ii  dirmngr                          2.1.18-6                    armhf        GNU privacy guard - network certificate management service
ii  distro-info-data                 0.36                        all          information about the distributions' releases (data files)
ii  dmidecode                        3.0-4                       armhf        SMBIOS/DMI table decoder
ii  dns-root-data                    2017041102                  all          DNS root data including root zone and DNSSEC key
ii  dnsmasq                          2.76-5+rpi1                 all          Small caching DNS proxy and DHCP/TFTP server
ii  dnsmasq-base                     2.76-5+rpi1                 armhf        Small caching DNS proxy and DHCP/TFTP server
ii  dnsutils                         1:9.10.3.dfsg.P4-12.3       armhf        Clients provided with BIND
ii  docbook-xml                      4.5-8                       all          standard XML documentation system for software and systems
ii  docbook-xsl                      1.79.1+dfsg-2               all          stylesheets for processing DocBook XML to various output formats
ii  dosfstools                       4.1-1                       armhf        utilities for making and checking MS-DOS FAT filesystems
ii  dphys-swapfile                   20100506-3                  all          Autogenerate and use a swap file
ii  dpkg                             1.18.24                     armhf        Debian package management system
ii  dpkg-dev                         1.18.24                     all          Debian package development tools
ii  e2fsprogs                        1.43.4-2                    armhf        ext2/ext3/ext4 file system utilities
ii  ed                               1.10-2.1                    armhf        classic UNIX line editor
ii  esniper                          2.32.0-1                    armhf        simple, lightweight tool for sniping ebay auctions
ii  exim4-base                       4.89-2+deb9u1               armhf        support files for all Exim MTA (v4) packages
ii  exim4-config                     4.89-2+deb9u1               all          configuration for the Exim MTA (v4)
ii  exim4-daemon-light               4.89-2+deb9u1               armhf        lightweight Exim MTA (v4) daemon
ii  fake-hwclock                     0.11                        all          Save/restore system clock on machines without working RTC hardware
ii  fakeroot                         1.21-3.1                    armhf        tool for simulating superuser privileges
ii  fbset                            2.1-29                      armhf        framebuffer device maintenance program
ii  file                             1:5.30-1                    armhf        Recognize the type of data in a file using "magic" numbers
ii  findutils                        4.6.0+git+20161106-2        armhf        utilities for finding files--find, xargs
ii  firmware-atheros                 20161130-3                  all          Binary firmware for Atheros wireless cards
ii  firmware-brcm80211               20161130-3                  all          Binary firmware for Broadcom 802.11 wireless cards
ii  firmware-ralink                  0.43+rpi5                   all          Binary firmware for Ralink wireless cards
ii  firmware-realtek                 20161130-3                  all          Binary firmware for Realtek wired/wifi/BT adapters
ii  fonts-dejavu-core                2.37-1                      all          Vera font family derivate with additional characters
ii  fonts-font-awesome               4.7.0~dfsg-1                all          iconic font designed for use with Twitter Bootstrap
ii  g++                              4:6.3.0-4                   armhf        GNU C++ compiler
ii  g++-6                            6.3.0-18+rpi1               armhf        GNU C++ compiler
ii  gcc                              4:6.3.0-4                   armhf        GNU C compiler
ii  gcc-4.6-base:armhf               4.6.4-5+rpi1                armhf        GCC, the GNU Compiler Collection (base package)
ii  gcc-4.7-base:armhf               4.7.3-11+rpi1               armhf        GCC, the GNU Compiler Collection (base package)
ii  gcc-4.8-base:armhf               4.8.5-4                     armhf        GCC, the GNU Compiler Collection (base package)
ii  gcc-4.9                          4.9.3-14                    armhf        GNU C compiler
ii  gcc-4.9-base:armhf               4.9.3-14                    armhf        GCC, the GNU Compiler Collection (base package)
ii  gcc-6                            6.3.0-18+rpi1               armhf        GNU C compiler
ii  gcc-6-base:armhf                 6.3.0-18+rpi1               armhf        GCC, the GNU Compiler Collection (base package)
ii  gdb                              7.12-6                      armhf        GNU Debugger
ii  gdbserver                        7.12-6                      armhf        GNU Debugger (remote server)
ii  geoip-database-contrib           1.19                        all          GeoLite binary database (downloader)
ii  gettext                          0.19.8.1-2                  armhf        GNU Internationalization utilities
ii  gettext-base                     0.19.8.1-2                  armhf        GNU Internationalization utilities for the base system
ii  git                              1:2.11.0-3                  armhf        fast, scalable, distributed revision control system
ii  git-man                          1:2.11.0-3                  all          fast, scalable, distributed revision control system (manual pages)
ii  gnome-icon-theme                 3.12.0-2                    all          GNOME Desktop icon theme
ii  gnupg                            2.1.18-6                    armhf        GNU privacy guard - a free PGP replacement
ii  gnupg-agent                      2.1.18-6                    armhf        GNU privacy guard - cryptographic agent
ii  gnupg-l10n                       2.1.18-6                    all          GNU privacy guard - localization files
ii  gnupg2                           2.1.18-6                    all          GNU privacy guard - a free PGP replacement (dummy transitional package)
ii  gpgv                             2.1.18-6                    armhf        GNU privacy guard - signature verification tool
ii  grep                             2.27-2                      armhf        GNU grep, egrep and fgrep
ii  groff-base                       1.22.3-9                    armhf        GNU troff text-formatting system (base system components)
ii  gtk-update-icon-cache            3.22.11-1+rpi1              armhf        icon theme caching utility
ii  gzip                             1.6-5                       armhf        GNU compression utilities
ii  hardlink                         0.3.0                       armhf        Hardlinks multiple copies of the same file
ii  hicolor-icon-theme               0.15-1                      all          default fallback theme for FreeDesktop.org icon themes
ii  hostname                         3.18                        armhf        utility to set/show the host name or domain name
ii  htop                             2.0.2-1                     armhf        interactive processes viewer
ii  ifupdown                         0.8.19                      armhf        high level tools to configure network interfaces
ii  info                             6.3.0.dfsg.1-1+b1           armhf        Standalone GNU Info documentation browser
ii  init                             1.48                        armhf        metapackage ensuring an init system is installed
ii  init-system-helpers              1.48                        all          helper tools for all init systems
ii  initramfs-tools                  0.130                       all          generic modular initramfs generator (automation)
ii  initramfs-tools-core             0.130                       all          generic modular initramfs generator (core tools)
ii  initscripts                      2.88dsf-59.9                armhf        scripts for initializing and shutting down the system
ii  insserv                          1.14.0-5.4                  armhf        boot sequence organizer using LSB init.d script dependency information
ii  install-info                     6.3.0.dfsg.1-1+b1           armhf        Manage installed documentation in info format
ii  intltool-debian                  0.35.0+20060710.4           all          Help i18n of RFC822 compliant config files
ii  iproute2                         4.9.0-1                     armhf        networking and traffic control tools
ii  iptables                         1.6.0+snapshot20161117-6    armhf        administration tools for packet filtering and NAT
ii  iputils-ping                     3:20161105-1                armhf        Tools to test the reachability of network hosts
ii  isc-dhcp-client                  4.3.5-3                     armhf        DHCP client for automatically obtaining an IP address
ii  isc-dhcp-common                  4.3.5-3                     armhf        common manpages relevant to all of the isc-dhcp packages
ii  iso-codes                        3.75-1                      all          ISO language, territory, currency, script codes and their translations
ii  iw                               4.9-0.1                     armhf        tool for configuring Linux wireless devices
ii  kbd                              2.0.3-2                     armhf        Linux console font and keytable utilities
ii  keyboard-configuration           1.164                       all          system-wide keyboard preferences
ii  keyutils                         1.5.9-9                     armhf        Linux Key Management Utilities
ii  kmod                             23-2                        armhf        tools for managing Linux kernel modules
ii  less                             481-2.1                     armhf        pager program similar to more
ii  lftp                             4.7.4-1                     armhf        Sophisticated command-line FTP/HTTP/BitTorrent client programs
ii  lighttpd                         1.4.45-1                    armhf        fast webserver with minimal memory footprint
ii  linux-base                       4.5                         all          Linux image base package
ii  locales                          2.24-11+deb9u1              all          GNU C Library: National Language (locale) data [support]
ii  login                            1:4.4-4.1                   armhf        system login tools
ii  logrotate                        3.11.0-0.1                  armhf        Log rotation utility
ii  lsb-base                         9.20161125+rpi1             all          Linux Standard Base init script functionality
ii  lsb-release                      9.20161125+rpi1             all          Linux Standard Base version reporting utility
ii  lsof                             4.89+dfsg-0.1               armhf        Utility to list open files
ii  lua5.1                           5.1.5-8.1                   armhf        Simple, extensible, embeddable programming language
ii  luajit                           2.0.4+dfsg-1                armhf        Just in time compiler for Lua programming language version 5.1
ii  m4                               1.4.18-1                    armhf        macro processing language
ii  make                             4.1-9.1                     armhf        utility for directing compilation
ii  makedev                          2.3.1-93                    all          creates device files in /dev
ii  man-db                           2.7.6.1-2                   armhf        on-line manual pager
ii  manpages                         4.10-2                      all          Manual pages about using a GNU/Linux system
ii  manpages-dev                     4.10-2                      all          Manual pages about using GNU/Linux for development
ii  mawk                             1.3.3-17                    armhf        a pattern scanning and text processing language
ii  mime-support                     3.60                        all          MIME files 'mime.types' & 'mailcap', and support programs
ii  mlocate                          0.26-2                      armhf        quickly find files on the filesystem based on their name
ii  mount                            2.29.2-1                    armhf        tools for mounting and manipulating filesystems
ii  mountall                         2.54                        armhf        filesystem mounting tool
ii  multiarch-support                2.24-11+deb9u1              armhf        Transitional package to ensure multiarch compatibility
ii  mutt                             1.7.2-1                     armhf        text-based mailreader supporting MIME, GPG, PGP and threading
ii  mysql-common                     5.8+1.0.2                   all          MySQL database common files, e.g. /etc/mysql/my.cnf
ii  nano                             2.7.4-1                     armhf        small, friendly text editor inspired by Pico
ii  ncdu                             1.12-1                      armhf        ncurses disk usage viewer
ii  ncurses-base                     6.0+20161126-1              all          basic terminal type definitions
ii  ncurses-bin                      6.0+20161126-1              armhf        terminal-related programs and man pages
ii  ncurses-term                     6.0+20161126-1              all          additional terminal type definitions
ii  net-tools                        1.60+git20161116.90da8a0-1  armhf        NET-3 networking toolkit
ii  netbase                          5.4                         all          Basic TCP/IP networking system
ii  netcat                           1.10-41                     all          TCP/IP swiss army knife -- transitional package
ii  netcat-openbsd                   1.130-3                     armhf        TCP/IP swiss army knife
ii  netcat-traditional               1.10-41                     armhf        TCP/IP swiss army knife
ii  nfs-common                       1:1.3.4-2.1                 armhf        NFS support files common to client and server
ii  ntopng                           2.4+dfsg1-3                 armhf        High-Speed Web-based Traffic Analysis and Flow Collection Tool
ii  ntopng-data                      2.4+dfsg1-3                 all          High-Speed Web-based Traffic Analysis and Flow Collection Tool (data files)
ii  ntp                              1:4.2.8p10+dfsg-3           armhf        Network Time Protocol daemon and utility programs
ii  openresolv                       3.8.0-1                     armhf        management framework for resolv.conf
ii  openssh-client                   1:7.4p1-10                  armhf        secure shell (SSH) client, for secure access to remote machines
ii  openssh-server                   1:7.4p1-10                  armhf        secure shell (SSH) server, for secure access from remote machines
ii  openssh-sftp-server              1:7.4p1-10                  armhf        secure shell (SSH) sftp server module, for SFTP access from remote machines
ii  openssl                          1.1.0f-3                    armhf        Secure Sockets Layer toolkit - cryptographic utility
ii  parted                           3.2-17                      armhf        disk partition manipulator
ii  passwd                           1:4.4-4.1                   armhf        change and administer password and group data
ii  patch                            2.7.5-1                     armhf        Apply a diff file to an original
ii  perl                             5.24.1-3                    armhf        Larry Wall's Practical Extraction and Report Language
ii  perl-base                        5.24.1-3                    armhf        minimal Perl system
ii  perl-modules-5.24                5.24.1-3                    all          Core Perl modules
ii  php5-cgi                         5.6.30+dfsg-0+deb8u1        armhf        server-side, HTML-embedded scripting language (CGI binary)
ii  php5-cli                         5.6.30+dfsg-0+deb8u1        armhf        command-line interpreter for the php5 scripting language
ii  php5-common                      5.6.30+dfsg-0+deb8u1        armhf        Common files for packages built from the php5 source
ii  php5-json                        1.3.9-1                     armhf        JSON module for PHP 5
ii  pi-bluetooth                     0.1.3                       armhf        Raspberry Pi 3 bluetooth
ii  pinentry-gtk2                    1.0.0-2                     armhf        GTK+-2-based PIN or pass-phrase entry dialog for GnuPG
ii  plymouth                         0.9.2-4                     armhf        boot animation, logger and I/O multiplexer
ii  po-debconf                       1.0.20                      all          tool for managing templates file translations with gettext
ii  procps                           2:3.3.12-3                  armhf        /proc file system utilities
ii  psmisc                           22.21-2.1                   armhf        utilities that use the proc file system
ii  publicsuffix                     20170424.0717-1             all          accurate, machine-readable list of domain name suffixes
ii  python                           2.7.13-2                    armhf        interactive high-level object-oriented language (default version)
ii  python-crypto                    2.6.1-7                     armhf        cryptographic algorithms and protocols for Python
ii  python-dnspython                 1.15.0-1                    all          DNS toolkit for Python
ii  python-gdbm                      2.7.13-1                    armhf        GNU dbm database support for Python
ii  python-gi-dev                    3.22.0-2                    armhf        development headers for GObject Python bindings
ii  python-ldb                       2:1.1.27-1                  armhf        Python bindings for LDB
ii  python-minimal                   2.7.13-2                    armhf        minimal subset of the Python language (default version)
ii  python-rpi.gpio                  0.6.3~jessie-1              armhf        Python GPIO module for Raspberry Pi
ii  python-samba                     2:4.5.8+dfsg-2              armhf        Python bindings for Samba
ii  python-talloc                    2.1.8-1                     armhf        hierarchical pool based memory allocator - Python bindings
ii  python-tdb                       1.3.11-2                    armhf        Python bindings for TDB
ii  python2.7                        2.7.13-2                    armhf        Interactive high-level object-oriented language (version 2.7)
ii  python2.7-minimal                2.7.13-2                    armhf        Minimal subset of the Python language (version 2.7)
ii  python3                          3.5.3-1                     armhf        interactive high-level object-oriented language (default python3 version)
ii  python3-minimal                  3.5.3-1                     armhf        minimal subset of the Python language (default python3 version)
ii  python3.5                        3.5.3-1                     armhf        Interactive high-level object-oriented language (version 3.5)
ii  python3.5-minimal                3.5.3-1                     armhf        Minimal subset of the Python language (version 3.5)
ii  raspberrypi-bootloader           1.20170515-1                armhf        Raspberry Pi bootloader
ii  raspberrypi-kernel               1.20170515-1                armhf        Raspberry Pi bootloader
ii  raspberrypi-sys-mods             20170519                    armhf        System tweaks for the Raspberry Pi
ii  raspbian-archive-keyring         20120528.2                  all          GnuPG archive keys of the raspbian archive
ii  raspi-config                     20170518                    all          Raspberry Pi configuration tool
ii  raspi-copies-and-fills           0.5-1                       armhf        ARM-accelerated versions of selected functions from string.h
ii  redis-server                     3:3.2.6-1                   armhf        Persistent key-value database with network interface
ii  redis-tools                      3:3.2.6-1                   armhf        Persistent key-value database with network interface (client)
ii  rename                           0.20-4                      all          Perl extension for renaming multiple files
ii  rpcbind                          0.2.3-0.6                   armhf        converts RPC program numbers into universal addresses
ii  rpi-update                       20140705                    all          Raspberry Pi firmware updating tool
ii  rsync                            3.1.2-1                     armhf        fast, versatile, remote (and local) file-copying tool
ii  rsyslog                          8.24.0-1                    armhf        reliable system and kernel logging daemon
ii  samba                            2:4.5.8+dfsg-2              armhf        SMB/CIFS file, print, and login server for Unix
ii  samba-common                     2:4.5.8+dfsg-2              all          common files used by both the Samba server and client
ii  samba-common-bin                 2:4.5.8+dfsg-2              armhf        Samba common files used by both the server and the client
ii  samba-dsdb-modules               2:4.5.8+dfsg-2              armhf        Samba Directory Services Database
ii  samba-vfs-modules                2:4.5.8+dfsg-2              armhf        Samba Virtual FileSystem plugins
ii  screen                           4.5.0-6                     armhf        terminal multiplexer with VT100/ANSI terminal emulation
ii  sed                              4.4-1                       armhf        GNU stream editor for filtering/transforming text
ii  sensible-utils                   0.0.9                       all          Utilities for sensible alternative selection
ii  sgml-base                        1.29                        all          SGML infrastructure and SGML catalog file support
ii  sgml-data                        2.0.10                      all          common SGML and XML data
ii  shared-mime-info                 1.8-1                       armhf        FreeDesktop.org shared MIME database and spec
ii  ssh                              1:7.4p1-10                  all          secure shell client and server (metapackage)
ii  startpar                         0.59-3.1                    armhf        run processes in parallel and multiplex their output
ii  strace                           4.15-2                      armhf        System call tracer
ii  sudo                             1.8.19p1-2.1                armhf        Provide limited super user privileges to specific users
ii  systemd                          232-25                      armhf        system and service manager
ii  systemd-sysv                     232-25                      armhf        system and service manager - SysV links
ii  sysv-rc                          2.88dsf-59.9                all          System-V-like runlevel change mechanism
ii  sysvinit-utils                   2.88dsf-59.9                armhf        System-V-like utilities
ii  tar                              1.29b-1.1                   armhf        GNU version of the tar archiving utility
ii  tasksel                          3.39                        all          tool for selecting tasks for installation on Debian systems
ii  tasksel-data                     3.39                        all          official tasks used for installation of Debian systems
ii  tcpd                             7.6.q-26                    armhf        Wietse Venema's TCP wrapper utilities
ii  tdb-tools                        1.3.11-2                    armhf        Trivial Database - bundled binaries
ii  traceroute                       1:2.1.0-2                   armhf        Traces the route taken by packets over an IPv4/IPv6 network
ii  triggerhappy                     0.5.0-1                     armhf        global hotkey daemon for Linux
ii  tshark                           2.2.6+g32dac6a-2            armhf        network traffic analyzer - console version
ii  tzdata                           2017b-1                     all          time zone and daylight-saving time data
ii  ucf                              3.0036                      all          Update Configuration File(s): preserve user changes to config files
ii  udev                             232-25                      armhf        /dev/ and hotplug management daemon
ii  unzip                            6.0-21                      armhf        De-archiver for .zip files
ii  update-inetd                     4.44                        all          inetd configuration file updater
ii  usb-modeswitch                   2.5.0+repack0-1             armhf        mode switching tool for controlling "flip flop" USB devices
ii  usb-modeswitch-data              20170120-1                  all          mode switching data for usb-modeswitch
ii  usbutils                         1:007-4                     armhf        Linux USB utilities
ii  util-linux                       2.29.2-1                    armhf        miscellaneous system utilities
ii  v4l-utils                        1.12.3-1                    armhf        Collection of command line video4linux utilities
ii  vim                              2:8.0.0197-4                armhf        Vi IMproved - enhanced vi editor
ii  vim-common                       2:8.0.0197-4                all          Vi IMproved - Common files
ii  vim-runtime                      2:8.0.0197-4                all          Vi IMproved - Runtime files
ii  vim-tiny                         2:8.0.0197-4                armhf        Vi IMproved - enhanced vi editor - compact version
ii  wget                             1.18-5                      armhf        retrieves files from the web
ii  whiptail                         0.52.19-1                   armhf        Displays user-friendly dialog boxes from shell scripts
ii  whois                            5.2.15                      armhf        intelligent WHOIS client
ii  wireless-regdb                   2016.06.10-1                all          wireless regulatory database
ii  wireless-tools                   30~pre9-12                  armhf        Tools for manipulating Linux Wireless Extensions
ii  wireshark-common                 2.2.6+g32dac6a-2            armhf        network traffic analyzer - common files
ii  wpasupplicant                    2:2.4-1                     armhf        client support for WPA and WPA2 (IEEE 802.11i)
ii  x11-common                       1:7.7+19                    all          X Window System (X.Org) infrastructure
ii  x11-utils                        7.7+3                       armhf        X11 utilities
ii  xauth                            1:1.0.9-1                   armhf        X authentication utility
ii  xbitmaps                         1.1.1-2                     all          Base X bitmaps
ii  xdg-user-dirs                    0.15-2                      armhf        tool to manage well known user directories
ii  xkb-data                         2.19-1                      all          X Keyboard Extension (XKB) configuration data
ii  xml-core                         0.17                        all          XML infrastructure and XML catalog file support
ii  xterm                            327-2                       armhf        X terminal emulator
ii  xxd                              2:8.0.0197-4                armhf        tool to make (or reverse) a hex dump
ii  xz-utils                         5.2.2-1.2                   armhf        XZ-format compression utilities
route add default gw 192.168.1.1 ordnet der Bridge übrigens korrekterweise das Gateway zu. Möchte aber, dass aus der /etc/network/interfaces geholt wird.

Danke für eure Hilfe.
Zuletzt geändert von Steve_McGarrett am 24.06.2017 19:28:16, insgesamt 1-mal geändert.

dufty2
Beiträge: 1709
Registriert: 22.12.2013 16:41:16

Re: update jessie -> stretch: kein default gateway mehr

Beitrag von dufty2 » 24.06.2017 07:04:25

Steve_McGarrett hat geschrieben: Woher haben eth0 und eth1 plötzlich IP Adressen und dann auch noch so komische?
Diese "komischen" 169er-Adressen sind sog. APIPA-IPs und werden von einem client dann vergeben,
wenn jener per DHCP selbst keine IP zugewiesen bekommt ("IP-Selbstvergabe").
Da andere Clients ohne DHCP das gleiche machen, treffen sich alle im 169-Netz.

Die Frage ist nun, wer bei Dir die (unzugewiesenen) eth0/eth1 eine APIPA-IP verpasst?
Ist der Avahi-daemon oder ein systemd-networkd oder ähnliches.

Steve_McGarrett
Beiträge: 89
Registriert: 13.11.2007 22:20:33

Re: update jessie -> stretch: kein default gateway mehr

Beitrag von Steve_McGarrett » 24.06.2017 10:16:44

Ok. Dann kann mir das ja grundsätlich egal sein. Brennender interessiert mich, warum ich kein Gateway erhalte obwohl es konfiguriert ist.

dufty2
Beiträge: 1709
Registriert: 22.12.2013 16:41:16

Re: update jessie -> stretch: kein default gateway mehr

Beitrag von dufty2 » 24.06.2017 15:33:42

APIPA hat keine default route.
Könnte mir sogar vorstellen, dass es eine bereits vorhandene löscht/unbrauchbar macht.

Musst halt mal in Deine Logfiles gucken, ob dort IPs/Routen auftauchen resp. wieder verschwinden:
# journalctl -b 0
bzw.
# dmesg

Steve_McGarrett
Beiträge: 89
Registriert: 13.11.2007 22:20:33

Re: update jessie -> stretch: kein default gateway mehr

Beitrag von Steve_McGarrett » 24.06.2017 17:44:11

eth0 und eth1 interessieren mich im Grunde gar nicht, da ich alles über die Bridge br0 awickle und die ist ja als einzige konfiguriert.

Kann ich dieses APIPA-Zeug auch irgendwo deaktivieren? Vielleicht löst sich so ja das Problem mit der Bridge bzw. deren Gateway. Unter Jessie war das nämlich noch nicht der Fall.

Routen tauchen keine auf und es verschwinden auch keine.

dufty2
Beiträge: 1709
Registriert: 22.12.2013 16:41:16

Re: update jessie -> stretch: kein default gateway mehr

Beitrag von dufty2 » 24.06.2017 18:45:31

Falls Deine DHCP- und DNS-Serverfunktionalität von dnsmasq übernomen wird, probier mal

Code: Alles auswählen

# systemctl disable avahi-daemon.service
# reboot

Steve_McGarrett
Beiträge: 89
Registriert: 13.11.2007 22:20:33

Re: update jessie -> stretch: kein default gateway mehr

Beitrag von Steve_McGarrett » 24.06.2017 19:27:40

Hurra, das Problem ist gelöst. Das Update auf Stretch hat mir wohl den dhcpd5 untergejubelt. Nachdem ich diesen nun deinstallier habe ist wieder alles wie unter jessie auch ;-)

Antworten