I am studying with Cisco Packet Tracer. Now I have a problem:
- A DHCP Server connect to switch A, with 3 VLAN 1,2,3 - 2 switches B,C connect to switch A, B is VLAN 2 and C is VLAN 3 - Some computer connect to B and C
I can use IP helper to help the computers in different VLANs contact DHCP server if all computers and server is connected into 1 switch, but I dont know how to do it in the above scenario with multiple switch. So how can I do that? And a bit of explaining is great.
Edit: I mean that: Should I set the port between 2 switches as Trunk or just Access? Should I set the other Switches with IP address, IP helper address, VLAN database like the main switch?
Edit: Follow Dougrritzer and Teun Vink answer, I set as follow:
enable conf t int fa0/1 switchport trunk encapsulation dot1q switchport native vlan 2 switchport mode trunk exit int fa0/3 switchport access vlan 1 switchport mode access exit int vlan 1 ip address 192.168.1.1 255.255.255.0 exit int vlan 2 ip address 192.168.2.1 255.255.255.0 exit ip routing end
enable conf t int fa0/1 switchport trunk encapsulation dot1q switchport native vlan 2 switchport mode trunk exit int fa0/2 switchport access vlan 2 switchport mode access exit int fa0/2 switchport access vlan 2 switchport mode access exit int vlan 2 ip helper-address 192.168.1.2 end
And the computers on port fa0/2 still "DHCP request failed". Am I wrong at some points?