cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4839
Views
25
Helpful
23
Replies

Need help with Vlan tagging

Rokas Daunoras
Level 1
Level 1

Hello Cisco community,

Need help with Vlan tagging on switch Catalyst 3750 series PoE - 24 

Vlan ID 1 Ports 1- 8 untagged 50,70 tagged

Vlan ID 50 Ports 9 - 16 untagged 1,70 tagged

Vlan ID 70 Ports 17-24 untagged 1,50 tagged

9 - 16 have access to vlan 50

17 - 24 have access  to vlan 70

How can i tag them?

Regards.

23 Replies 23

Hey rburts  

Changing switch vlan ip addresses worked.

Now i should be creating vlans on adapter right? Check the picture.

But i'm having a problem i can't create them when i try to create vlan the computer crash i tried on the latest drivers and on old and it one day it actually worked i was able to put vlans but other day when i try to add them again pc was crashing again. Still the problem is the same i'm getting the same issue can't find a way to get around it.

Regards.

Rokas

Now I am a bit confused. The discussion up to this point has been about a 3750 switch and a router and how to configured vlans and tagging. Now I believe that we have these working. Now you are asking about creating vlans on a PC. I am not sure why you need to do this. Usually the vlans are configured on the switch and the PC is connected to an access port of the switch. In this situation the PC needs only a standard Ethernet configuration. Why do you need to configure a vlan on the PC?

HTH

Rick

HTH

Rick

Hey @Richard Burts

I was ask'd to make vlans on every PC using network adapter, i wasn't able to create vlans because everytime i would PC will crash. Anyway i fix it by removing display drivers.

Also what i was thinking the way it would work is tagging on switch and configuring vlans on network adapter I'm quite confused i guess because i was ask'd to create vlans through network adapter when vlans were already on switch configured i don't know what else to say it's me to blame.

Anyway about PC standard Ethernet configuration ill just have to change default gateway? but it's running on dhcp.

Regards.

Rokas

Thanks for explaining that you were asked to set up vlan on the PC. I still do not understand why they would request that, but apparently they did ask. So that is what we must deal with in responding to your question.

I am not clear when you set up a vlan on the PC interface whether that would transmit Ethernet frames that included a vlan tag or whether it would continue to transmit standard Ethernet frames. If it did transmit Ethernet frames that include a vlan tag then the switch port to which the PC connects would need to be configured as a trunk port.

I am not clear what you are saying about the default gateway. If the PC is configured to learn its IP address using DHCP then you just need to be sure that the scope configured on the DHCP server has the correct gateway specified.

HTH

Rick

HTH

Rick

Hey rburts  

Sorry for not replying was quite busy week for me.

About Ethernet adapter vlan I've created trunk port on one of the switch ports but I had no connection and all vlans were getting up and down every 1 minute it's probably cause of how I set it up.

interface FastEthernet2/0/8
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 50,70
 speed 100
 duplex full

It's probably cause of this line switchport trunk encapsulation dot1q because I have it on interface GigabitEthernet2/0/1.

interface GigabitEthernet2/0/1
 description CONNECTION TO ROUTER
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 1,50,70,1002-1005
 switchport mode trunk

So is there other way to set it up?

Also I have no clue how this works all I know is in the pictures I can create vlan on network adapter and set ip address.

Regards.

I notice one thing about the configuration for trunking of interface Fast2/0/8. You do specify the trunk encapsulation and specify trunk allowed but you have not configured switchport mode trunk. I suggest that you add this to the configuration and see if the behavior changes.

HTH

Rick

HTH

Rick

Hey rburts  

I corrected the answer but I forgot about pinging computers from different vlans.

And i have an issue, i can't ping between computers if firewall is not disabled. Is there any solution to make it work without disabling firewall?

Anyway you helped me a lot I appreciate yours effort explaining it's pleasure working with you.

Kind Regards.

Rokas

Sorry for the delayed response. I have been on travel and not able to respond. Unfortunately if the firewall is preventing incoming ping (as seems to be the case here) there is not much that you can do. You might be able to modify the firewall policy to permit ping from certain source addresses and deny from all others. But if the firewall is denying ping then your alternatives seem to be either modify the firewall policy or to disable the firewall when you want to ping.

HTH

Rick

HTH

Rick

Yes so you have gigabit port 2/0/1 tagged for all three vlans. Is that what you need?

Review Cisco Networking for a $25 gift card