This post is more than 5 years old

34 Posts

20225

April 7th, 2015 14:00

vlan without assigning ip address

I have  a 6248 Dell switch with following vlan's created


interface vlan 2
name "ISCSI1"
exit
interface vlan 3
name "ISCSI2"
exit


interface vlan 4
name "CSV"
exit
interface vlan 5
name "LiveMigration"
exit

And have interfaces assigned to the vlan's.

interface ethernet 1/g2
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 2
exit


!
interface ethernet 1/g3
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 2
exit
!
interface ethernet 1/g4
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 2
exit
!
interface ethernet 1/g5
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 2
exit


!
interface ethernet 1/g6
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 2
exit
!
interface ethernet 1/g7
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 2
exit
!
interface ethernet 1/g8
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 3
exit


!
interface ethernet 1/g9
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 3
exit
!
interface ethernet 1/g10
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 3
exit
!
interface ethernet 1/g11
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 3
exit


!
interface ethernet 1/g12
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 3
exit
!
interface ethernet 1/g13
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 3
exit
!
interface ethernet 1/g14
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 4
exit


!
interface ethernet 1/g15
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 4
exit
!
interface ethernet 1/g16
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 4
exit
!
interface ethernet 1/g17
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 5
exit


!
interface ethernet 1/g18
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 5
exit
!
interface ethernet 1/g19
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 5

However there is not ip address assigned to vlan, No network is assigned to any vlan.

My question is are these vlan active and then how are they communicating with each other?

Moderator

 • 

9.6K Posts

 • 

42.6K Points

April 7th, 2015 16:00

Hi,

You don’t need an ip address for VLANs to work. VLANs are a layer 2 technology, they can separate networks without the VLAN itself being assigned an IP address. Assigning it one may help with routing, but is not required. The VLANs are active. Frames are tagged depending on which port they came from. Tagging is done at the port level in layer 2. It creates separate broadcast domains for the network. If a broadcast goes out on VLAN 4 in your setup G14,15 and 16 will all get the broadcast.

Moderator

 • 

9.6K Posts

 • 

42.6K Points

April 8th, 2015 11:00

They are not on the same subnet if they are in different VLANs, they can use the same IP range, but it would be the same as having two switches and them not being connected and using the same IP range. If you have routing enabled you need to use different IP ranges for VLANs for it to work properly.

34 Posts

April 8th, 2015 07:00

Hi Josh,

thank you for quick response. It might sound like a stupid question, however I am confused, will the devices in different vlan will be able to communicate with each other without any inter vlan routing.

Moderator

 • 

9.6K Posts

 • 

42.6K Points

April 8th, 2015 10:00

For different VLANs to communicate there has to be routing, you can either do it with intervlan routing on the switch or you can use a separate router.

34 Posts

April 8th, 2015 10:00

Josh I am really not able to understand one thing here

if all the vlans are on same subnet as there is no ip address segmentation done for vlan's.

Though ports are assigned to vlan.

will they really need ip routing to communicate with each other

No Events found!

Top