cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4442
Views
5
Helpful
3
Replies

Configure DHCP server for VLAN

I am configuring a DHCP Server for a small VLAN.

I have configured vlan 10 20 30 and trunk access for switch interfaces, activated fa0/0.1, fa0/0.2, fa0/0.3 as example below

int fa0/0.1
encapsulation dot1Q 10
ip address 192.168.10.1 255.255.255.0
ip helper-address 192.168.1.2

However, the PCs cannot fetch IP address.

This is my Cisco Packet Tracer file.

Screenshot 2021-11-27 131249.png

1 Accepted Solution

Accepted Solutions

Hello,

 

both your servers have an IP address in the 192.168.1.0/24 range, but are assigned to Vlans 60 and 50. They need to be in the default vlan (1).

 

Attached the working, revised file.

View solution in original post

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

I do not use PT, but what is device doing DCCP here ?

 

1. the Device connected to switch - that port should be Trunk and allow the VLAN

2. PC connected port should be VLAN 10 to get IP address (by default all ports in vlan1)

 

post configuration - show run to help you. (or wait any PT experts can help you)

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello,

 

both your servers have an IP address in the 192.168.1.0/24 range, but are assigned to Vlans 60 and 50. They need to be in the default vlan (1).

 

Attached the working, revised file.

FawadRashid85
Level 1
Level 1

Change the port number Server is not ping change the port of server.

and assign vlan 40 and Vlan 50

Review Cisco Networking for a $25 gift card