trubadix
Goto Top

Feste IP Adresse bei Debian Installation

Hallo,

wer kann mir helfen???

Ich versuche bei meinem Debian System die IP Adresse von DHCP auf statisch zu stellen.
Ich habe es schon mit dem Befehl ifconfig versucht. Klappte auch, aber beim nächsten Neustart war alles wieder hin.

Gruß

Daniel

Content-Key: 37270

Url: https://administrator.de/contentid/37270

Ausgedruckt am: 29.03.2024 um 13:03 Uhr

Mitglied: Guenni
Guenni 03.08.2006 um 21:06:55 Uhr
Goto Top
@Trubadix

Hi,

im Verzeichnis /etc/network liegt die Datei interfaces.

Die sollte ungefähr so aussehen:

## This file describes the network interfaces available on your system
## and how to activate them. For more information, see interfaces(5).

## The loopback network interface
auto lo
iface lo inet loopback

## The primary network interface
auto eth1
iface eth1 inet static
address 192.168.179.3
netmask 255.255.255.0
network 192.168.179.0
broadcast 192.168.179.255

eth1 mußt du natürlich durch dein Interface ersetzen.

Gruß
Günni
Mitglied: Trubadix
Trubadix 06.08.2006 um 21:04:07 Uhr
Goto Top
Hat alles geklappt.
Vielen Dank für die schnelle Hilfe.