cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
27574
Views
0
Helpful
7
Replies

Allocation of IP Addresses to a VLAN

stephenlyn
Level 1
Level 1

Hi

My Background

I'm a sys admins who knows a fair bit about managing a Microsoft network and a bit about setting up a cisco switch to run the school's network.

 

The Problem

We are currently upgrading the school security and installing about 60 HD cameras around the school.  The security contractors have requested that I setup a couple of VLANs on a SG30028 switch with an address range to include 64 addresses.

I have setup a VLAN however I am unable to work out how to assign the addresses to the port.

Any help with this would be greatly appreciated.

 

Kind regards

 

Steve

7 Replies 7

Aztec_
Level 1
Level 1

I think he refer to IP for vlan, not for the port, you can create a interface vlan in switch.

 

interface vlan 100

ip address x.x.x.x 255.255.255.192

 

then assign access vlan 100 on the port for camera

 

Hope it helps you

Yes I am referring to IP addresses for the VLAN. 

So I set an IP address of 10.30.26.100 255.255.248.0 to the VLAN port.

Now how do I assign 60+ IP addresses to the VLAN? 

I think they means devide /29 ip network which originally for 2048 IP Address into /26 (for 62 usable IP address). So basically, just configure 10.30.26.100 255.255.255.192 to the vlan interface.

 

Just like vasu's example:

interface vlan [vlan ID]

ip address 10.30.26.100 255.255.255.192

 

Hi

Thanks for this.  Now that I have done this how do I check that it has worked?

cheers

You might want to type

! verify the camera connected to the same vlan port

show vlan

! make sure vlan interface is up

show ip interface brief

! ping to camera's IP

ping [IP]

V K Moorthy
Level 1
Level 1

Hi,

 

Dont use VLAN 100 for Cameras .Since its default vlan for voice in SG300.Try to create different VALN XX (other than 1 and 100).

 

Configure port as below:(where cameras are connected)

conf#int vlan XX

conf-int#switchport mode access vlan xx

 

regards

Moorthy

 

Its just an example :)

But thanks for sharing, i didn't know the default vlan on SG300 is vlan 100