03-10-2023 05:15 AM
Hi there,
I am re-configuring a network vlans as I had to change the router and switch.
was wondering if Ideally you replicate exactly the same config across the devices?
ROUTER SWITCH WLC IP RANGES SUBNET
vlan 1 (default) vlan 1(default) vlan1(default) 192.168.1.1/192.168.1.255 255.255.255.0
vlan 100 vlan 100 vlan 100 192.168.100.1/192.168.1.255 255.255.255.0
vlan 120 vlan 110 vlan 110 192.168.110.1/192.168.110.255 255.255.255.0
vlan 130 vlan 130 vlan 130 192.168.130.1/192.168.130.255 255.255.255.0
03-10-2023 06:08 AM
Hi
You can´t have the exactly same config on all device, right? If you are creating interfaces vlan on devices, you need to put differents IP. Let´s consider the vlan 100 in your case. 192.168.100.1
If you add 192.168.100.1 on the Router, you need to use 192.168.100.2 on the switch and 192.168.100.3 on the WLC. This is an example, you can use any IP from 1 up to 254 but never the same on more than one device.
Hope it is clear.
03-12-2023 08:01 AM
Hello
You only need to create the L3 interfaces on the device that will performing the inter-vlan routing (router or switch)
If on the router then this will be in the form of sub interfaces on a port connecting to a switch which will have its port to the router in a trunk.
On the switch it will require to have all the L2 vlans created that relates the L3 interfaces on the router
If the intervlan routing is to be on the switch then this will need to have both L2/L3 vlans created with the port interconnecting switch and router in a shared vlan
The switch will have a default route pointing towards the rtr and the rtr will have static routes of the vlans pointing towards the switch
03-10-2023 09:25 AM
Thanks @Flavio Miranda , for feedback. I find just a bit confusing as different devices from different vendors have different ways of entering IP address of device vs IP range. Cisco/Peplink/Ubiquiti/Crestron...
Let's say the Switch with IP 192.168.100.2, router being 100.1- when specifying the IP range
- on the router you start from the 192.168.100.2, leaving the x.100.1 for the device itself or you include it with 192.168.100.2?
- for the switch you start from 192.168.100.3, leaving the x.100.2 for the device itself again or include it with 192.168.100.2 or you enter the whole IP range for that subnet 192.168.100.1?
I know, basics, but thanks !
03-10-2023 10:12 AM
If you are configuring IPs on the same network accross devices, just keep in mind that each one need to have its own IP address, it can not repeat.
About your queries:
"Let's say the Switch with IP 192.168.100.2, router being 100.1- when specifying the IP range
- on the router you start from the 192.168.100.2, leaving the x.100.1 for the device itself or you include it with 192.168.100.2?
You can use the 100.1 for the router.
- for the switch you start from 192.168.100.3, leaving the x.100.2 for the device itself again or include it with 192.168.100.2 or you enter the whole IP range for that subnet 192.168.100.1?
If you are configuring an interface or a sutinterface you can use the IP only not a range.
03-12-2023 06:08 AM
thanks @Flavio Miranda
but for vlans to be working , definitely need to have them set across router>switch>wlan, correct?
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