Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

Configuraciones en el Router

enable
conf t
int fa0/0
ip add 192.168.1.65 255.255.255.252
no shut
exit
int fa0/1
ip add 192.168.1.1 255.255.255.192
no shut
exit

Configuraciones en el Servidor

IP-----------192.168.1.66
MASCARA------255.255.255.252
GATEWAY------192.168.1.65

Configuraciones de las PCS


PC1
IP-----------192.168.1.2
MASCARA------255.255.255.192
GATEWAY------192.168.1.1

PC2
IP-----------192.168.1.3
MASCARA------255.255.255.192
GATEWAY------192.168.1.3

PC3
IP-----------192.168.1.4
MASCARA------255.255.255.192
GATEWAY------192.168.3.1

username abel privilege 5 secret 12345678


username admin privilege 15 secret 12345678
privilege exec level 5 ping

---------------------------------------------------------
ip dhcp excluded-address 192.168.1.1 192.168.1.10
ip dhcp pool japon
network 192.168.1.0 255.255.255.224
default-router 192.168.1.1

ip dhcp excluded-address 192.168.1.33 192.168.1.36


ip dhcp pool Houston
network 192.168.1.32 255.255.255.224
default-router 192.168.1.32

---------------------------------------------------------------------
auto enp0s3
iface enp0s3 inet static
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.1
network 192.168.1.0

apt-get update
apt-get install isc-dhcp-server
sudo nano /etc/default/isc-dhcp-server
interfaces="enp0s8"

sudo nano /etc/dhcp/dhcpd.conf


#Rango
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
range dynamic-bootp 192.168.1.20 192.168.1.200;
}

sudo /etc/init.d/isc-dhcp-server restart


systemctl restart isc-dhcp-server && systemctl status isc-dhcp-server

You might also like