cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
659
Views
25
Helpful
7
Replies

Dynamic IP issue on the client

son ray
Level 1
Level 1

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.

 

 

1 Accepted Solution

Accepted Solutions

Jitendra Kumar
Spotlight
Spotlight

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

Thanks,
Jitendra

View solution in original post

7 Replies 7

Jon Marshall
Hall of Fame
Hall of Fame

 

Post configuration of router and switch. 

 

Jon

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

 

 

 

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

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.

Jitendra Kumar
Spotlight
Spotlight

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

Thanks,
Jitendra

checking..

I was missed l2 uplink as trunk...

 

thanks, team for the support 

 

 

Review Cisco Networking for a $25 gift card