cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
609
Views
0
Helpful
3
Replies

VLANs in trunk not load balancing

taimoor khan
Level 1
Level 1

Hey Guys, 

 

I have VLan that is not load balancing, Users are getting IPs from vlan 10 and when they full they can can't communicate with vlan 20, which is empty

 

Config:

 

Vlan 10: 10.1.1.0/24

Vlan 20: 10.1.2.0/24

 

interface GigabitEthernet1/2/21
 description abc users 
 switchport
 switchport trunk allowed vlan 10,20
 switchport mode trunk
 switchport nonegotiate
 no cdp enable

 

User only get the IP from Vlan 10 not Vlan 20, how do I load balance ?

Thanks

 

 

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Not sure what you mean by "Users are getting IPs from vlan 10 and when they full they can can't communicate with vlan 20, which is empty"

Users ports are usually access ports and not trunk port (unless you use voip) therefore a user can only be in one vlan at a time. If vlan 10 is running out of IPs, and you have more users then IPs you can put certain number of users in vlan 20. So, if you have 300 users on a floor with 2 vlans and the mask is /24 for each, you can divide your users so some are in vlan 10 and some in vlan 20.

HTH

I gave this switch port to third party company and they have switch connected to this port thats why this is trunk port. I dont have access to switch but I do know there is no problem on the switch side, only problem is why user are getting IPs in VLan 10, which is full now.

The reason they are getting IPs in vlan 10 is because the switch ports that connects to the users are in vlan 10.  If you think you are out of IP then you need to change some of the switch ports from vlan 10 to 20 and create new DHCP scoop for the subnet that corresponds to vlan 20.

HTH