drs-serveur:/etc/sysconfig/network # ls
config ifcfg-eth1 ifcfg.template ifroute-lo providers routes.YaST2save
dhcp ifcfg-lo if-down.d if-up.d routes scripts
drs-serveur:/etc/sysconfig/network # cat ifcfg-eth1
BOOTPROTO='static' // or DHCP
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='192.168.14.21/32' // on fix ip car statique sinn on suprime si DHCP
MTU=''
NAME='NetXtreme BCM5752 Gigabit Ethernet PCI Express'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
PREFIXLEN='24'
IPADDR_0='192.168.14.21/24'
LABEL_0='eth1'
drs-serveur:/etc/sysconfig/network # /etc/init.d/network restart // pour activer la config
Aucun commentaire:
Enregistrer un commentaire