What happens when DHCP client and server are on different VLANs

        I'm trying to create a lab on PT and I've attached an image. But for some reason my PC is not able to get an IP address from the DHCP server. There is no issues with layer 1 and layer 2. I checked routing and that seems to be fine too. Any help is appreciated :) 
enter image description here Switch Config:
interface FastEthernet0/1
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/2
 switchport access vlan 20
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/3
 switchport trunk encapsulation dot1q
 switchport mode trunk
!

interface Vlan1
 no ip address
 shutdown
!
interface Vlan10
 mac-address 00e0.a341.0e01
 no ip address
!
interface Vlan20
 mac-address 00e0.a341.0e02
 no ip address

end
Router Config:
interface GigabitEthernet0/0
 ip address 10.0.0.1 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/0.10
 encapsulation dot1Q 10
 ip address 20.0.0.1 255.255.255.0
!
interface GigabitEthernet0/0.20
 encapsulation dot1Q 20
 ip address 30.0.0.1 255.255.255.0
 ip helper-address 30.0.0.1

interface Vlan1
 no ip address
 shutdown

Leave Your Comment

Leave a Reply

%d bloggers like this: