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

Re: [Wheezy] gestion du réseau



Le samedi 03 décembre 2011 à 10:14 +0100, JB a écrit :
> Le samedi 03 décembre 2011 à 10:04 +0100, Jean-Michel OLTRA a écrit :
> > Bonjour,
> > 
le nouveau fichier interfaces,
2 cartes IP à terme essayer de faire une passerelle

oot@alpha30:/etc/network# pg interfaces
# 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

auto eth0
iface eth0 inet static

        address         192.168.1.30
        netmask         255.255.255.0
        broadcast       192.168.1.255
        gateway         192.168.1.1

iface eth1 inet static

        address         192.168.1.32
        netmask         255.255.255.0
        brodcast        192.168.1.255
        gateway         192.168.1.1

root@alpha30:/etc/network# cp interfaces
INTERFACES                                                                                                                



Reply to: