02-09-2014 04:53 AM - edited 03-07-2019 06:05 PM
Hello,
i have the following setup at a remote site
Router-Distribution switch- several access switches
The router will act as a default gateway and dhcp helper for every vlan.
what are the things that need to be configured on the router and the interfaces between the router and the distribution switch ?
02-09-2014 07:46 AM
Here is a sample config guide. If you have multiple vlans on your switches, than you need to trunk the interface from the distribution switch to the router and also create a sub-interface for each vlan on the router. You also need to trunk the interfaces from the access switches to distribution switch if you have multiple vlans on each access switch.
HTH
02-09-2014 11:13 PM
what about the default gateway configuration ? is it by simply assigning an ip address to the subinterface and match the vlan id using the dot1q command ?
Also, to make the router a dhcp helper for each vlan, do i configure ip helper address command under the subinterface ?
02-10-2014 01:48 AM
----
what about the default gateway configuration ? is it by simply assigning an ip address to the subinterface and match the vlan id using the dot1q command ?
----
Yes just configure the encapsulation and IP address on the sub-interface. Give this IP to the hosts as a DG.
Regards,
Chandu
02-10-2014 05:31 AM
ok what several access switches are directly connected to the rotuer ? under which physical interface do i configure the subinterface ?
02-10-2014 05:16 PM
No, If the access switches directly connect to the router and each access switch carries only one vlan, you don't need any sub-interfaces. You need sub-interfaces if you are connecting a link to the router that is carrying more than 1 vlan.
HTH
02-11-2014 10:27 AM
in my case, each switch carries more than one vlan so i need subinterfaces.
on the trunk link between the switch and the router all vlans will be allowed,
i have another question, how do i know which vlans should be allowed on the trunk facing ( for example the access point )
02-12-2014 04:32 AM
Hi Asus,
To know which VLAN are allowed on the trunk interfaces, just give "show interfaces trunk" . It will show all the ports and their encapsulation too.
Eg:
ROOT/VTP-SERVER/LAYER3#show interfaces trunk
Port Mode Encapsulation Status Native vlan
Fa0/5 auto n-802.1q trunking 1
Fa0/6 auto n-802.1q trunking 1
Fa0/7 auto n-802.1q trunking 1
Fa0/8 auto n-802.1q trunking 1
Po3 auto n-802.1q trunking 1
Port Vlans allowed on trunk
Fa0/5 1-1005
Fa0/6 1-1005
Fa0/7 1-1005
Fa0/8 1-1005
Po3 1-1005
Port Vlans allowed and active in management domain
Fa0/5 1,10,20,30
Fa0/6 1,10,20,30
Fa0/7 1,10,20,30
Fa0/8 1,10,20,30
Po3 1,10,20,30
Port Vlans in spanning tree forwarding state and not pruned
Fa0/5 1,10,20,30
Fa0/6 1,10,20,30
Fa0/7 1,10,20,30
Fa0/8 1,10,20,30
Po3 1,10,20,30
ROOT/VTP-SERVER/LAYER3#
ROOT/VTP-SERVER/LAYER3#
ROOT/VTP-SERVER/LAYER3#show interfaces
ROOT/VTP-SERVER/LAYER3#show interfaces f
ROOT/VTP-SERVER/LAYER3#show interfaces fastEthernet t
ROOT/VTP-SERVER/LAYER3#show interfaces fastEthernet tr
ROOT/VTP-SERVER/LAYER3#show interfaces fastEthernet ?
<0-9> FastEthernet interface number
ROOT/VTP-SERVER/LAYER3#show inter
ROOT/VTP-SERVER/LAYER3#show interfaces t
ROOT/VTP-SERVER/LAYER3#show interfaces tru
ROOT/VTP-SERVER/LAYER3#show interfaces trunk
Port Mode Encapsulation Status Native vlan
Fa0/5 auto n-802.1q trunking 1
Fa0/6 auto n-802.1q trunking 1
Fa0/7 auto n-802.1q trunking 1
Fa0/8 auto n-802.1q trunking 1
Po3 auto n-802.1q trunking 1
Port Vlans allowed on trunk
Fa0/5 1-1005
Fa0/6 1-1005
Fa0/7 1-1005
Fa0/8 1-1005
Po3 1-1005
Port Vlans allowed and active in management domain
Fa0/5 1,10,20,30
Fa0/6 1,10,20,30
Fa0/7 1,10,20,30
Fa0/8 1,10,20,30
Po3 1,10,20,30
Port Vlans in spanning tree forwarding state and not pruned
Fa0/5 1,10,20,30
Fa0/6 1,10,20,30
Fa0/7 1,10,20,30
Fa0/8 1,10,20,30
Po3 1,10,20,30
Regards,
Chandu
02-12-2014 02:59 PM
what i meant... on the interface between the switch and the access point, is it ok if allow all the vlans ?
02-12-2014 09:03 PM
What do you mean by 'access point' here?
Regards,
Chandu
02-13-2014 01:19 AM
a wireless access point
i mean i have several vlans (mgt, voice, data, wireless , wlan mgt,) what are the essential vlans that need to be allowed on th trunk between the access switch and the wireless AP? or it depends on the customer needs ?
02-13-2014 04:18 AM
Hi,
For Cisco and other Wireless vendors when using a Controller, you set the Access Switch Ports to Access. Never trunks. The Access Points setup a CAPWAP tunnel through the switchport mode access to the Wireless Controller (provided that you have defined the appropriate config on your network to allow the APs to locate a Wireless Controller).
Please note, that if you are dealing with Autonomous Access Points ( APs that do not require a Controller), then and only then you setup the Access Switch ports to trunk mode. As far as which VLANs are need on this trunk, all the VLANs that are defined on the AP configuration including Management are required to be allowed.
02-13-2014 04:23 AM
Yes it depends upon the requirements. If you don't want devices from a VLANX to communicate through a trunk then you don't allow that vlan traffic through that trunk.
Regards,
Chandu
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