10-22-2018 09:54 AM - edited 03-08-2019 04:26 PM
I have a switch that has several Vlan's set up on it.
One of the Vlan's does not touch our network and I need to take 2 ip addresses from that Vlan and put them on another Vlan in the same switch.
Vlan20 - 192.168.1.1 - 192.168.1.255
Vlan30 - I would like 192.168.1.200 - 192.168.1.202
The DHCP server is not on this switch, but another one at our corporate office, which I do not have access to.
How do I do this?
10-22-2018 10:25 AM
Vlan 30 is most likely in a different subnet. So, you can't take the IPs from vlan 20 and assign them to 30.
The easiest way to configure 2 ports in vlan 20 and assign the 2 IPs to it and make sure it is excluded from the DHCP scope.
HTH
10-22-2018 11:49 AM
10-22-2018 12:08 PM
interface Vlan20
ip address 172.18.20.1 255.255.255.0
ip dhcp exclude-address 172.18.20.200 172.18.20.202
!
interface Vlan30
ip address 172.18.20.200 255.255.255.252
This config will not work as 172.18.20.200/30 subnet is already part of /24 subnet (172.18.20.1 255.255.255.0)
HTH
10-22-2018 12:11 PM
Yea I was afraid of that.
will have to try your first suggestion.
Thanks
10-22-2018 12:17 PM
The easiest way to configure 2 ports in vlan 20 and assign the 2 IPs to it and make sure it is excluded from the DHCP scope.
so I have one AP to one port, so can I assign an Ip scope to that port?
Vlan 30 is most likely in a different subnet. So, you can't take the IPs from vlan 20 and assign them to 30 - how would I do this without an exclusion on vlan 20?
10-22-2018 12:22 PM
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