0% found this document useful (0 votes)
2 views4 pages

CN Lab Notes

The document outlines the configuration steps for setting up DHCP on a router for two different networks (192.168.39.0 and 192.168.40.0). It includes commands for enabling interfaces, assigning IP addresses, creating DHCP pools, and excluding specific IP addresses from the DHCP range. Additionally, it mentions assigning static IPs to servers and configuring default gateways.

Uploaded by

Majid Latif
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views4 pages

CN Lab Notes

The document outlines the configuration steps for setting up DHCP on a router for two different networks (192.168.39.0 and 192.168.40.0). It includes commands for enabling interfaces, assigning IP addresses, creating DHCP pools, and excluding specific IP addresses from the DHCP range. Additionally, it mentions assigning static IPs to servers and configuring default gateways.

Uploaded by

Majid Latif
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Lab 5 - Task 1:

X DHCP

Network:192.168.39.0

Commands
Router> enable

Router# conf t

Router(config)# Int g0/0/0 (Router port address)

Router(config if)#ip address 192.168.1.1 255.255.255.0

Router(config if)# no shut

Router(config if)# exit

Router(config)# ip dhcp pool (pool name)

Router(dhcp-config)# network 192.168.1.0 255.255.255.0

Router(dhcp-config)# default-router 192.168.1.1

Router(config)# exit

Router(config)# ip dhcp excluded-address 192.168.1.1 192.168.1.10


Lab 5 - Task 2:

X
DHCP

Network: 192.168.39.0 Network: 192.168.40.0

Commands
Router> enable

Router# conf t

Router(config)# Int g0/0/0 (Router port address)

Router(config if)#ip address 192.168.39.1 255.255.255.0

Router(config if)# no shut

Router(config if)# exit

Router(config)# Int g0/0/1 (Router port address)

Router(config if)#ip address 192.168.40.1 255.255.255.0

Router(config if)# no shut

Router(config if)# exit

Router(config)# ip dhcp pool (pool name)

Router(dhcp-config)# network 192.168.39.0 255.255.255.0

Router(dhcp-config)# default-router 192.168.39.1

Router(config)# exit

Router(config)# ip dhcp excluded-address 192.168.39.1 192.168.39.10

Router(config)# ip dhcp pool (B pool name)

Router(dhcp-config)# network 192.168.40.0 255.255.255.0

Router(dhcp-config)# default-router 192.168.40.1

Router(config)# exit

Router(config)# ip dhcp excluded-address 192.168.40.1 192.168.40.10


Lab 6 - Task 1:

Ip:192.168.39.2

GW: 192.168.39.1 X Ip: 192.168.39.1

DHCP

Commands
Router> enable

Router# conf t

Router(config)# Int g0/0/0 (Router port address)

Router(config if)#ip address 192.168.1.1 255.255.255.0

Router(config if)# no shut

Router(config if)# exit

• Assign the Static Ip to Server


• Now go to the DHCP give Start Ip, Default Gateway, Subnet Mask & then ON the server.
Ip1: 192.168.39.1
Lab 6 - Task 1:
Ip2: 192.168.40.1

DHCP

Ip:192.168.39.2 X
GW: 192.168.39.1

Network: 192.168.39.0 Network: 192.168.40.0

Commands
Router> enable

Router# conf t

Router(config)# Int g0/0/0 (Router port address)

Router(config if)#ip address 192.168.39.1 255.255.255.0

Router(config if)# no shut

Router(config if)# ip helper-address 192.168.39.2

Router(config if)# exit

Router(config)# Int g0/0/1 (Router port address)

Router(config if)#ip address 192.168.40.1 255.255.255.0

Router(config if)# no shut

Router(config if)# ip helper-address 192.168.39.2

Router(config if)# exit

• Assign the Static Ip to Server


• Now go to the DHCP give Start Ip, Default Gateway, Subnet Mask & then ON the server.

You might also like