cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
348
Views
10
Helpful
2
Replies

splitting dhcp scope changing SVI on nexus core

johnmcgrath29
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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

Review Cisco Networking for a $25 gift card