cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
936
Views
0
Helpful
2
Replies

multiple subnets to the same VLAN

Stephen Sisson
Level 1
Level 1

Hello,

We have multiple networks on multiple Cisco switches all using Vlan 1, we need one network to talk with another and ok to add multiple subnets to the 1 Vlan or any Vlan?

Thank you

1 Accepted Solution

Accepted Solutions

John Blakley
VIP Alumni
VIP Alumni

You can have multiple subnets on the same vlan interface. You'd mark them as secondary ip addresses.

int vlan 1

ip addre 192.168.1.1 255.255.255.0

ip address 192.168.2.1 255.255.255.0 secondary

ip address 192.168.3.1 255.255.255.0 secondary

Although, it's not best practice because typically you'd want one subnet per vlan but this works in a pinch.

HTH,

John

HTH, John *** Please rate all useful posts ***

View solution in original post

2 Replies 2

John Blakley
VIP Alumni
VIP Alumni

You can have multiple subnets on the same vlan interface. You'd mark them as secondary ip addresses.

int vlan 1

ip addre 192.168.1.1 255.255.255.0

ip address 192.168.2.1 255.255.255.0 secondary

ip address 192.168.3.1 255.255.255.0 secondary

Although, it's not best practice because typically you'd want one subnet per vlan but this works in a pinch.

HTH,

John

HTH, John *** Please rate all useful posts ***

Thank you