Re: Netzwerkkonfigurationsprobleme Debian Stretch

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ smime.p7s (application/pkcs7-signature)
Slet denne besked
Besvar denne besked
Skribent: Dirk Melchers
Dato:  
Til: Ralph Lindner
CC: LinuxUserSchwabach
Emne: Re: Netzwerkkonfigurationsprobleme Debian Stretch
Hallo,

> root@lina:/home/ralph# /etc/init.d/networking reload
> [ ok ] Reloading network interfaces configuration...done.
> root@lina:/home/ralph# ifconfig
> eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> inet 192.168.100.4 netmask 255.255.255.0 broadcast 192.168.100.255
> inet6 fe80::feaa:14ff:fe22:238f prefixlen 64 scopeid 0x20<link>
> inet6 2001:a62:1298:4301:feaa:14ff:fe22:238f prefixlen 64 scopeid
> 0x0<global>
> ether fc:aa:14:22:23:8f txqueuelen 1000 (Ethernet)
> RX packets 7566 bytes 2999086 (2.8 MiB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 8640 bytes 1014203 (990.4 KiB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> eth1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
> inet 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255
> ether 00:40:f4:a9:db:36 txqueuelen 1000 (Ethernet)
> RX packets 0 bytes 0 (0.0 B)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 0 bytes 0 (0.0 B)
> 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 1633 bytes 632566 (617.7 KiB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 1633 bytes 632566 (617.7 KiB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> ... woraus ich schließe das die Konfiguration in interfaces nicht verwendet
> wird.
>
> Woran kann das liegen?


Wenn eth1 vorher "up" war, dann macht ein "networking reload" das nicht weg, sondern setzt nur die konfigurierten Interfaces auf die richtigen Settings. Ein Reboot sollte dieses Problem zumindest lösen.

Warum dein dhcpd nicht mag, weiss ich auch nicht. Steht irgendwas in den normalen Logfiles (messages, syslog) in /var/log?

Falls er das nach einem Reboot immer noch macht, suche mal das PID-File (/var/...), schau ob da eine PID drin steht und suche dann, ob der passende Prozess dazu da ist. Wenn nicht, lösch die Datei einfach und starte den dhcpd noch mal.

Oder stoppe ihn per "systemctl stop dhcp-server.service" - das sollte das PID-File eigentlich auch löschen (falls ich systemd richtig verstanden habe)

Gruß,

Dirk.