01-13-2020 06:16 PM
I am trying to configure vlans on a 2911 ISR and trunk them to a 4948-10GE-W Switch. I am following this tutorial.
https://www.cisco.com/c/en/us/support/docs/lan-switching/inter-vlan-routing/14976-50.html
and have posted about it here.
I have the trunk configured and I can ping between the two devices.
The router will be providing dhcp. From what I gather this is all I need to do to assign a vlan to a switchport?
What I'm trying to do is a little backwards from the tutorial.
Say my native vlan is 192.168.1.1 and I can ping 1.1 from 1.2. and everything appears to be trunking between the two. Should I be able to ping 192.168.22.1 or it simply won't route because it's only switching over a trunk and I have no address within that address space? or do I have to apply a 22.2 address to my secondary vlan on this side?
Thanks,
Nate
Solved! Go to Solution.
01-13-2020 07:44 PM
01-13-2020 08:42 PM
01-13-2020 07:44 PM
01-13-2020 07:56 PM
Tested. Checks Out.
I need to configure DHCP pools on vlans and route them to my WAN and configure DNS stuff now. This has been a learning experience.
Is there a way I can assign switch port ranges to make my config files on my switch cleaner?
Ports 1 to 12 / 13 to 24 / 25 to 36 / 37 to 48?
Thanks,
Nate
01-13-2020 08:10 PM
01-13-2020 08:13 PM
That's where I am at now.
I was just wanting to bulk assign vlans to interfaces rather than one by one so it looks nicer on my config file? I dunno how it works.
I am configuring my excluded-address ranges now but am not sure how it works.
Does "ip dhcp excluded-address 192.168.1.1 192.168.1.60" look correct as a range? or will it just exclude .1 and .60?
01-13-2020 08:42 PM
01-13-2020 08:55 PM
Coming along here on my end. What's this "R1(config-subif)#ip helper-address"? From what I understand its a dhcp forwarder? So in my use case it isn't necessary correct?
01-13-2020 09:08 PM
01-13-2020 09:40 PM
I got it all configured for the most part. All ports and vlans pull a dhcp address from the trunk to the router. It took some time, wasn't instant but that's something I can fine tune?
Thank you for your help by the way.
-Nate
01-15-2020 06:30 AM
01-15-2020 09:13 AM
It took time to configure. I'm trying to get it to route now.
https://community.cisco.com/t5/routing/cannot-route-to-internet-from-switch/td-p/4011632
01-15-2020 08:08 PM
01-15-2020 09:06 PM
I was able to get it to work. Thank you for your help.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: