cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1197
Views
3
Helpful
11
Replies

Multiple VLAN on router with DHCP

Student HoGent
Level 1
Level 1

Hey, I am a student and new to Cisco packet tracer.

I am trying to enable DHCP on my router 3 for my LAN network. 
I have 3 VLANs in my LAN network: VLAN 30, VLAN 40, and VLAN 50.
They all have to ping each other and the web server 64.100.100.10, the TFTP server, and the IT pc.

Here is the network file.

Thanks in advance.
Student HoGent

1 Accepted Solution

Accepted Solutions

Hi

 You did everything right. The only thing I found missing was put the interfacce between the switch S4 and Router R3 in trunk mode.

 

View solution in original post

11 Replies 11

ip dhcp pool MHM-30 
network <VLAN-30>
default-router <VLAN-30 subinteface IP>
dns-server <VLAN-30 subinteface IP>

same for all other VLAN 40 & 50

Sorry I dont install packet tracer' I answer to your post title.

MHM

 

Hi

 You did everything right. The only thing I found missing was put the interfacce between the switch S4 and Router R3 in trunk mode.

 

Hey @Flavio Miranda 

Thx, I was searching for this for a couple of hours now, not finding what the problem was.

Thanks a lot.

 You did everyhing  right, congrats. This interface thing was only distraction.

Hey @Flavio Miranda,

What was the missing command, between S4 and R3.
So I can do it on my own next time.

On the interface  between S4 and R3 you just neet to run on the switch side

switchport mode trunk

But between S4 and R3 there is another switch S2?

FlavioMiranda_0-1686583421575.png

On the interface with the arrow, you config as trunk mode

 

Okay thx, so it was on S2 and R3

ImogenHamilton
Level 1
Level 1

Hi, thanks! I was looking for this solution. I created DHCP pools for each VLAN by specifying an IP address range, subnet mask, default gateway, and DNS server, but I got an error.

Hi

 Create a new post, attach you project and I can help you. Just let me know

Review Cisco Networking for a $25 gift card