Address is on the same network as VLAN port_1_vlan!

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • Answered
I want to configure ports like - 192.168.1.x/24 but i have a problem, from 2nd and above vlan, it tells me "Address is on the same network as VLAN_port_1_vlan!" 

Commands i'm using:

configure Default delete ports 1-48\r
create vlan port_1_vlan\r
configure port_1_vlan tag 101\r
configure port_1_vlan add ports 1 untagged\r
configure port_1_vlan ipaddress 192.168.1.1/24\r
create vlan port_2_vlan\r
configure port_2_vlan tag 102\r
configure port_2_vlan add ports 2 untagged\r
configure port_2_vlan ipaddress 192.168.1.2/24\r

so on.. 

How can I solve my problem?
Photo of dayover1@gmail.com

dayover1@gmail.com

  • 70 Points

Posted 1 year ago

  • 0
  • 1
Photo of Brian Austin

Brian Austin, Employee

  • 452 Points 250 badge 2x thumb
Hello DayOver,

it looks like you are trying to add the same subnet on multiple vlans which will not work you will need to add the vlans to separate subnets if they are on the same switch.
Photo of Nick Yakimenko

Nick Yakimenko

  • 2,476 Points 2k badge 2x thumb
what is the main purpose of your strange config? why do you need seprate vlans on each port with an ip?
Photo of Chris

Chris

  • 160 Points 100 badge 2x thumb
Yep 192.168.1.x /24 contains:
192.168.1.1 - 192.168.1.254 usable hosts, minus the network and broadcast address of .1 and .255

Your nets that you are adding are both on the same subnet.

/24 = 255.255.255.0

Chuck them on separate nets like:
192.168.1.0/24
192.168.2.0/24
(Edited)