Dhcp en centos 6.0

Solo disponible en BuenasTareas
  • Páginas : 14 (3474 palabras )
  • Descarga(s) : 0
  • Publicado : 9 de noviembre de 2011
Leer documento completo
Vista previa del texto
[roberto@localhost ~]$ su root
Contraseña:
[root@localhost roberto]# yum install -y dhcp
Loaded plugins: fastestmirror, refresh-packagekit
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=updates error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=i386&repo=updates: (28, '')
* base:centos-distro.cavecreek.net
* extras: mirrors.greenmountainaccess.net
* updates: centos-distro.cavecreek.net
base | 3.7 kB 00:00
extras | 3.0 kB 00:00
updates | 3.5 kB 00:00
Setting up Install Process
ResolvingDependencies
--> Running transaction check
---> Package dhcp.i686 12:4.1.1-12.P1.el6_0.4 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size================================================================================
Installing:
dhcp i686 12:4.1.1-12.P1.el6_0.4 updates 888 k
Transaction Summary
================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 888 k
Installed size: 2.1 M
Downloading Packages:
dhcp-4.1.1-12.P1.el6_0.4.i686.rpm |888 kB 00:01
advertencia:rpmts_HdrFromFdno: CabeceraV3 RSA/SHA256 Signature, ID de clave c105b9de: NOKEY
updates/gpgkey | 3.3 kB 00:00 ...
Importing GPG key 0xC105B9DE "CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Running rpm_check_debug
Running Transaction TestTransaction Test Succeeded
Running Transaction
Installing : 12:dhcp-4.1.1-12.P1.el6_0.4.i686 1/1

Installed:
dhcp.i686 12:4.1.1-12.P1.el6_0.4

Complete!
[root@localhost roberto]# cd /etc/sysconfig/network-scripts
[root@localhost network-scripts]# nano ifcfg-eth0
[root@localhost network-scripts]# servicenetwork restart
Interrupción de la interfaz eth0: [ OK ]
Interrupción de la interfaz wlan0: Estado de dispositivo: 3 (desconectado)
[ OK ]
Interrupción de la interfaz de loopback: [ OK ]
Activación de la interfaz de loopback: [ OK ]
Activando interfaz eth0:[ OK ]
[root@localhost network-scripts]# cd ~
[root@localhost ~]# cd /etc/dhcp3/dhcpd.conf
bash: cd: /etc/dhcp3/dhcpd.conf: No existe el fichero o el directorio
[root@localhost ~]# cd /etc/dhcp3/
bash: cd: /etc/dhcp3/: No existe el fichero o el directorio
[root@localhost ~]# cd /etc/
[root@localhost etc]# ls -l
total 2004
drwxr-xr-x. 3 root root 4096 oct 506:04 abrt
drwxr-xr-x. 4 root root 4096 oct 5 06:12 acpi
-rw-r--r--. 1 root root 47 oct 13 12:36 adjtime
-rw-r--r--. 1 root root 1512 ene 12 2010 aliases
-rw-r--r--. 1 root root 12288 oct 5 06:22 aliases.db
drwxr-xr-x. 2 root root 4096 oct 5 06:17 alsa
drwxr-xr-x. 2 root root 4096 oct 20 09:29 alternatives
-rw-r--r--. 1 root root 541 nov 10 2010 anacrontab-rw-r--r--. 1 root root 245 mar 22 2011 anthy-conf
-rw-r--r--. 1 root root 148 may 14 2009 asound.conf
-rw-r--r--. 1 root root 1 jun 24 22:30 at.deny
drwxr-x---. 3 root root 4096 oct 5 06:05 audisp
drwxr-x---. 2 root root 4096 oct 5 06:05 audit
-rw-------. 1 root root 232 jun 25 05:21 autofs_ldap_auth.conf
-rw-r--r--. 1 root root 658 jun 25 05:21 auto.master...
tracking img