5

The lab is configured with PVST+ on all switches. Currently I am using wireless bridges to connection different sections of a lab environment for the sake of mobility. Basically just bridging the the wireless interface and ethernet interface. All ethernet ports on the bridge are in the same VLAN.

SW1 ------ Wireless_Bridge_1 ~~~~~~~~~~~~~Wireless_Bridge_2 ------SW2

When frames go through the wireless bridge, the source MAC address is changed to MAC address of the bridge's wireless interface. Does this cause problems with layer 2 features (spanning tree, VTP etc.) At the moment STP seems to be working fine. What if I connect more STP speaking switches to the bridge? I think BPDUs should have all the information needed for STP to work, but the source address overwriting can be kinda confusing. Which layer 2 features can I expect to work over this type of wireless link (aka features that work just like it's an Ethernet link)?

  • 1
    There is no way to answer this question as it stands. Some wireless bridges will participate in spanning tree, others may pass the BPDUs. To answer the question you would need to include at least the model and software version of the wireless bridges in question. – YLearn Aug 13 '13 at 6:29
  • Two dd-wrt wireless routers in repeater bridge mode. Cisco 2950/3560/3750 switches connected to LAN ports. From what I understand that is associate one AP with the other and create a linux bridge for wireless and ethernet interfaces on each AP. As I mentioned it does path BPDUs but the source MAC is changed. Not sure what this will break... – sdaffa23fdsf Aug 13 '13 at 7:38
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide your own answer and accept it. – Ron Maupin Aug 7 '17 at 14:27
1

If your DD-WRT devices are setup as AP - WDS and STATION - WDS, then they should act as an ethernet cable... forwarding all macs they see, and not forcing traffic that passes through them to inherit the interface MAC of the wireless bridges.

WDS is not cross-vendor, keep that in mind. There was never any official standard for it.

I can imagine that STP would "break" because it's only seeing a repeating MAC (wireless bridge), but I can't confirm this.

| improve this answer | |
1

I have dealt with Ethernet-to-WiFi bridges that rewrite MAC addresses (MOXAs, in my case), and I can confirm absolutely that it will wreck your STP, and ARP/ND will get broken if you end up in a scenario where you have multiple paths (e.g., if you use the wireless as a backup to a hard-wired Ethernet connection). You can probably get away with it if you'll only ever be using the wireless connection, but it's essentially the same scenario as NAT-PT.

Check to make sure that the AP really is doing this; the ARP tables on hosts connected to the switches should be able to tell you. DD-WRT is based on Linux, and I haven't seen Linux do "MAC NATting" like this.

How this fails:

Try connecting a host to a switch that has such a wireless bridge connected to one port, and create a mirrored replica on the other side, but don't wire the switches together:

HostA---SwA         SwB---HostB
         |           |
        WiFi--------WiFi

You should be able to make connections and ping back and forth between HostA and HostB. Check the ARP tables, and observe that the MAC address is actually that of the other AP. Now connect a cable between the switches:

HostA---SwA---------SwB---HostB
         |           |
        WiFi--------WiFi

Your connections will stay up, since the network still knows how to send the frames the "long way around" through the WiFi bridge.

If that bridge goes down, however, and you're left with just the hardwired network (that's not rewriting MACs), your connections fall over until the ARP tables age out and the hosts re-request MACs.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.