Jump to content

Recommended Posts

Posted (edited)

As I understand it untagged is simply the default vlan and tagging is adding extra vlans to a given port.

 

In a 3Com Baseline Switch 2948 Plus switch the default vlan is 1. I have a port untagged to vlan 5 (x)

 

when a test port (y) is also untagged to vlan 5. the laptop on (y) can ping a device on (x)

 

when i make (y) untagged vlan 1, tagged vlan 5. I cannot ping.

 

 

I thought that would work...?

Edited by browolf
Posted (edited)

Endpoint devices can only handle an untagged VLAN, therefore only one VLAN. Tagging is only for allowing upstream/downstream connections (i.e. to other switches) to carry the VLAN packets, but you can only deliver a packet on an untagged port.

 

For a device on port Y, untagged on 1, to ping a device on X, untagged on 5, the switch would need to route the packet through the default interface for VLAN 1. In the case of VLAN 1 this is likely to be your core switch, in which case your connection upstream would need to be tagged with VLAN5 to allow it to carry the packet; if you were using VLANs 4 and 5 on a single L3 switch, the routing would be done on the local switch if that's where the default gateway for the VLAN was set up.

 

Note that "endpoint devices" also includes switches - so any port where a switch connects to a switch is likely to be untagged VLAN1 and tagged with any other relevant VLANs to carry the traffic, keeping all your switches on the management VLAN where they're easy to access.

 

EDIT: in short, to cross VLANs, you need routing. You don't need to tag endpoint ports with anything, only untag them with the relevant VLAN. In order to ping from VLAN 1 to VLAN 5 you don't need any tagging if it's all happening on one switch, you just need the VLAN interface setting up. I can give you the command line guff if you need.

Edited by sonofsanta
  • Thanks 1
Posted
Endpoint devices can only handle an untagged VLAN, therefore only one VLAN. Tagging is only for allowing upstream/downstream connections (i.e. to other switches) to carry the VLAN packets, but you can only deliver a packet on an untagged port.

 

 

ok that explanation helps ty. however port 48 of the 2948 switch (untagged 1 tagged 5) and connects to port 8 (untagged 1 tagged 5) of the core 3com 4950 switch.

 

 

does that mean there's something up with the vlan 5 on the core switch? (even though other vlans 2 and 4 seem to be operating fine).

Posted (edited)

If the above scenario works with VLANs 2 and 4 but not with 5, then it must be something with the set up of it... compare and contrast the settings for it on both switches, easier to do that on the CLI if you know how. It may be that you're missing settings for default gateway, or you've mistyped an IP, or any of a dozen things.

 

Assuming the VLAN is all routed at your core, this is what you should be seeing (based on COMWARE 5)

On your edge switch, not routing:

vlan 5
description [any description you've added]
interface Vlan-interface5
interface GigabitEthernet1/0/48
port link-type hybrid
port hybrid vlan 2 4 5 tagged
port hybrid vlan 1 untagged

 

On your core switch, routing:

vlan 5
description [any description you've added]
interface Vlan-interface5
description [any description you've added]
ip address 192.168.5.1 255.255.255.0    # insert relevant IP and mask, ofc
dhcp select relay
dhcp relay server-select 1     # these two lines if you are doing DHCP on these VLANs
interface GigabitEthernet1/0/8
port link-type hybrid
port hybrid vlan 2 4 5 tagged
port hybrid vlan 1 untagged

 

If you do need DHCP, you need

 dhcp relay server-group 1 ip 192.168.0.1
dhcp relay server-group 1 ip 192.168.0.2

with relevant IPs, repeated for as many DHCP servers as you have

 

How are you routing? If you're routing statically (and you may well be, as not all 3COM switches support the relevant routing protocols) it might be that you've not added/made a mistake when adding the route for VLAN5 to the edge switch.

 

EDIT: saying that, routing's only important when you're doing layer 3 routing at the edge switch... when it's all at the core, the switch should already shunt packets it doesn't recognise up to the core, and the core would add the relevant entries to the routing table itself.

Edited by sonofsanta
  • Thanks 1
Posted
something occurs to me. Around the time vlan 5 stopped working, I had changed the default gateway on the dhcp on vlan 1. I'm not sure how that would affect vlan 5 as the switches have static addresses and dont use dhcp... is that possible?
Posted

How do you mean changed the default gateway on the DHCP on VLAN1? Changed it on the DHCP server? Or changed the default gateway of VLAN1?

 

When you're testing, are you using static addresses on the devices or dynamic?

  • Thanks 1
Posted
ah it doesn't matter now. I've figured out there's nothing wrong with the vlan , something to do with the wireless controller on vlan 5 makes it so secure, nothing appears to work. doh. I only figured that out by wire-sharking the wireless on a laptop. I very much appreciate the opportunity to have bounced ideas off you. I feel I might not have got where I did without you.
Posted

Ah, the eventual root of all our problems: a computer, somewhere, trying to be helpful of its own accord.

 

Glad you got it sorted and that some of my waffle finally proved useful to someone somewhere. 'tis all just the circle of tech support.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...