08-25-2022 10:04 AM
Hi
I am looking to make some changes on a nexus core switch tomorrow
I have 145.155.130.0 subnet mask 255.255.254.0 I am moving them over to subnet mask 255.255.255.0 and splitting them
I am just checking I can use this config on the core nexus switch as I have not done any changes on the core switch for sometime and that there is nothing different I need to add compared to a normal layer 3 switch?
conf t
Interface Vlan 500
no ip address 145.155.130.0 255.255.254.0
ip address 145.155.130.0 255.255.255.0
ip address 145.155.131.0 255.255.255.0
no shut
the server guy will then change the DHCP Scope on the DHCP Server
Solved! Go to Solution.
08-25-2022 11:04 AM - edited 08-25-2022 11:05 AM
Not sure what is the final goal of the task - if you looking to configure 2 IP addresses into VLAN Interface here is the syntax :
Interface Vlan 500
no ip address 145.155.130.0 255.255.254.0
ip address 145.155.130.1 255.255.255.0 ( I have used 1 you can also use 254 if you like to)
ip address 145.155.131.1 255.255.255.0 secondary
08-25-2022 11:04 AM - edited 08-25-2022 11:05 AM
Not sure what is the final goal of the task - if you looking to configure 2 IP addresses into VLAN Interface here is the syntax :
Interface Vlan 500
no ip address 145.155.130.0 255.255.254.0
ip address 145.155.130.1 255.255.255.0 ( I have used 1 you can also use 254 if you like to)
ip address 145.155.131.1 255.255.255.0 secondary
08-25-2022 11:19 AM - edited 08-25-2022 11:51 AM
secondary use when we enlarge the subnet here you split the subnet.
so I little confuse.
if you want to split the client not subnet. i.e.
client in Building A must get IP range from 1-120
client in Building B must get IP range from 121-240
then using class is better not split the subnet.
that my opinion.
make secondary IP not give you any thing at all
the client first try get IP from primary subnet
then by using <ip dhcp smart-relay> the other client get ip from secondary subnet
and it same if you use OLD big primary subnet
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