05-25-2022 04:05 AM
I have setup a LAb for the DHCP relay. DHCP are created on the router and intervlan routing is there.
vlan 10 and vlan 20 has been configured on multilayer switch and l2 switch locally. PC0 is in vlan 10 and PC1 is in vlan 20. ip helper command given on the vlans on a multilayer switch.
i,m attaching topology looking for someone help.
Solved! Go to Solution.
05-25-2022 04:23 AM
your router config looking good..
please check the below points
Multilayer switch Port-F0/2, F0/1 should be trunk
multilayer should have a default route as well to forward traffic to the router
IP route 0.0.0.0 0.0.0.0 10.0.0.1
L2 Switch Port- F0/1 should be trunk
you are saying you have done intervlan and VLANs and other configs .
Thanks,
Jitendra
05-25-2022 04:09 AM
Post configuration of router and switch.
Jon
05-25-2022 04:16 AM
Router>en
Router#sh run
Building configuration...
Current configuration : 1004 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
ip dhcp pool vlan10
network 10.0.1.0 255.255.255.0
default-router 10.0.1.1
dns-server 8.8.8.8
domain-name wr
ip dhcp pool vlan20
network 10.0.2.0 255.255.255.0
default-router 10.0.2.1
dns-server 8.8.8.8
!
!
!
ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2811/K9 sn FTX1017K504-
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 10.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 10.0.1.1 255.255.255.0
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 10.0.2.1 255.255.255.0
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
05-25-2022 04:25 AM
That is just the router but you talk about SVIs and ip helper addresses on the switch.
If the router is meant to be routing between vlans then you don't need the SVIs on the switch, just configure the link from the switch to th router as a trunk.
Jon
05-25-2022 04:19 AM
Hi
Make sure the uplinks between switches and switch and router are in trunk. And attach the PacketTracer here zipped that´s make it easier to help you.
05-25-2022 04:23 AM
your router config looking good..
please check the below points
Multilayer switch Port-F0/2, F0/1 should be trunk
multilayer should have a default route as well to forward traffic to the router
IP route 0.0.0.0 0.0.0.0 10.0.0.1
L2 Switch Port- F0/1 should be trunk
you are saying you have done intervlan and VLANs and other configs .
Thanks,
Jitendra
05-25-2022 04:37 AM
checking..
05-25-2022 04:45 AM
I was missed l2 uplink as trunk...
thanks, team for the support
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide