Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vlan assignment

Status
Not open for further replies.

arvindai

Technical User
Jan 23, 2006
102
IN
I have a core switch with vlan1 IP address 10.136.16.0/ 24 and vlan55 with an IP address 172.17.16.0/24. Now I got another switch uplinked to core switch with an IP address 172.17.16.233 on vlan 55. My question is that if I need to assign a port that needs to be using 10.136.16.0 IP address range, what vlan should I put the port on this uplinked switch.
 
It should be on VLAN 1 as well, but the port that links the two switches (on both switches) needs to be set as a trunk port. This will allow all VLANs to communicate between both switches (but only hosts on the same VLAN).
 
the issue is when I put the system in vlan1 on second switch it doesn't pick up an IP from dhcp server.
 
Do you have the ports that connect the two switches, on both switches, set to be trunk ports?

Code:
switchport trunk encapsulation dot1q
switchport mode trunk

Also could you post a show vlan and show interface status?
 
uplink port configuration is -

interface GigabitEthernet1/0/49
description uplink
switchport access vlan 13
switchport mode access
end

Will the systems not able to communicate with other if the port is configured as access.
 
Correct, access only ports will transmit only on that vlan. Using a trunk port will allow all VLANs to speak to each other across that port. If you want to allow only certain vlans then you can use the "switchport trunk allow" command.
 
dgrizzard is correct , make the uplink a trunk port allowing vlans 1 and 55 across the link on both sides . On the uplink ports on each side in addition to what dgrizzard said add "switchport trunk allowed vlan1,55" , this will limit only those 2 vlans across the trunk and prevents broadcasts from any other configured vlans from riding that trunk link .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top