[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian] ip fixe



Le Mercredi 15 Mars 2006 17:09, michael p a écrit :
> Bonjour
>
> comment attribue t on une ip fixe sur une machine sous linux?
>
> je ne sais plus comment ca se fait et dans quel fichier?
>
> merci
>
> M.
Bonjour,

Avec ifconfig.
Ou dans /etc/network/interfaces :

auto eth0
iface eth0 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.100
        # dns-* options are implemented by the resolvconf package, if 
installed
        dns-nameservers 192.168.1.100


Bertrand



Reply to: