networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Mon Feb 20, 2012 11:36 am 
Offline
New Member
New Member

Joined: Mon Feb 20, 2012 11:25 am
Posts: 3
Certs: No
I've just read CCNA3 Exploration on Chapter 3 about VLAN.

The chapter told that only one VLAN can assign to an interface. but something different in the real world. A switch in my company has been configured one interface can connect to many VLANs. How do they do it?


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 11:40 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12433
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
It's called a trunk interface in Cisco world

Or a voice vlan...

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 11:57 am 
Offline
New Member
New Member

Joined: Mon Feb 20, 2012 11:25 am
Posts: 3
Certs: No
Can you give me an example command?

Port 1 to 4 are VLAN 192.168.10.0
Port 5 to 8 are VLAN 192.168.20.0
Port 9 to 12 are VLAN 192.168.30.0

Port 1 to 4 can connect to file server on Port 24 with IP address 192.168.10.1
Port 5 to 8 can connect to file server on Port 24 with IP address 192.168.20.1
Port 9 to 12 can connect to file server on Port 24 with IP address 192.168.30.1


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 1:21 pm 
Offline
Member
Member

Joined: Wed Jan 27, 2010 8:16 pm
Posts: 171
Certs: CCNA
you can assign subinterfaces and have each subinterfaces on a different VLAN.


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 1:28 pm 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12433
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
You can only configure subinterfaces on routers. You need to use SVIs with switches

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 11:21 pm 
Offline
New Member
New Member

Joined: Wed May 05, 2010 3:27 am
Posts: 20
Location: Melbourne
Certs: CCNA, VCP3&5 ,JNCIS-FWV, JNCIS-SEC CCNP
Quote:
Port 1 to 4 are VLAN 192.168.10.0
Port 5 to 8 are VLAN 192.168.20.0
Port 9 to 12 are VLAN 192.168.30.0

Port 1 to 4 can connect to file server on Port 24 with IP address 192.168.10.1
Port 5 to 8 can connect to file server on Port 24 with IP address 192.168.20.1
Port 9 to 12 can connect to file server on Port 24 with IP address 192.168.30.1


So call your first VLAN (192.168.10.0) VLAN 10
Second VLAN (192.168.20.0) VLAN 20
3rd VLAN (192.168.30.0) VLAN 30

Ports 1-4 are in VLAN 10, probably access ports (as in, only one VLAN is supported on this interface, so the device connecting to them does not need to know its own VLAN, the switch will take care of it)
Ports 4-8 are in VLAN 20, probably access ports
Ports 9-12 are in VLAN 30, probably access ports

Port 24 is a trunk port, which is AT LEAST trunking VLANs 10, 20 and 30. By default it will trunk all VLANs unless you've specified which ones you will permit on the trunk.

I hope that helps.....


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 11:24 pm 
Offline
New Member
New Member

Joined: Wed May 05, 2010 3:27 am
Posts: 20
Location: Melbourne
Certs: CCNA, VCP3&5 ,JNCIS-FWV, JNCIS-SEC CCNP
So just in this example, you're not configuring IPs on interfaces. Just VLANs. So this is a switch. So example config for access ports looks like

interface FastEthernet0/1
switchport mode access
switchport access vlan 10

and the trunk interface

interface FastEthernet0/24
switchport mode trunk
switchport trunk allowed vlan 10,20,30 <--- Note this is optional. If you don't include it, it will trunk all VLANs.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, tzmueller and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group