New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

F5 Networks F5CAB2 Exam - Topic 1 Question 3 Discussion

Actual exam question for F5 Networks's F5CAB2 exam
Question #: 3
Topic #: 1
[All F5CAB2 Questions]

The BIG-IP Administrator wants to provide quick failover between the F5 LTM devices that are configured as an HA pair with a single Self IP using the MAC Masquerade feature. The administrator configures MAC masquerade for traffic-group-1 using the following command:

`tmsh modify /cm traffic-group traffic-group-1 mac 02:12:34:56:00:00`

However, the Network Operations team identifies an issue with using the same MAC address across multiple VLANs. As a result, the administrator enables Per-VLAN MAC Masquerade to ensure a unique MAC address per VLAN by running:

`tmsh modify /sys db tm.macmasqaddr_per_vlan value true`

What would be the resulting MAC address on a tagged VLAN with ID 1501? (Choose one answer)

Show Suggested Answer Hide Answer
Suggested Answer: C

Comprehensive and Detailed Explanation From BIG-IP Administration Data Plane Concepts documents:

In BIG-IP high availability (HA) configurations, MAC Masquerade is used to speed up failover by allowing traffic-group-associated Self IPs to retain the same MAC address when moving between devices. This prevents upstream switches and routers from having to relearn ARP entries during a failover event, resulting in near-instant traffic recovery.

By default, MAC masquerade applies one MAC address per traffic group, regardless of how many VLANs the traffic group spans. This can create problems in some network designs because the same MAC address appearing on multiple VLANs may violate network policies or confuse switching infrastructure.

To address this, BIG-IP provides Per-VLAN MAC Masquerade, enabled by the database variable:

`tm.macmasqaddr_per_vlan = true`

When this feature is enabled:

BIG-IP derives a unique MAC address per VLAN

The base MAC address configured on the traffic group remains the first four octets

The last two octets are replaced with the VLAN ID expressed in hexadecimal

The VLAN ID is encoded in network byte order (high byte first, low byte second)

### VLAN ID Conversion:

VLAN ID: 1501 (decimal)

Convert to hexadecimal:

1501 = 0x05DD

High byte: 05

Low byte: DD

### Resulting MAC Address:

Base MAC: `02:12:34:56:00:00`

Per-VLAN substitution last two bytes = `05:DD`

Final MAC address:

`02:12:34:56:05:dd`

### Why the Other Options Are Incorrect:

A (01:15) -- Incorrect hexadecimal conversion of 1501

B (dd:05) -- Byte order reversed (little-endian, not used by BIG-IP)

D (15:01) -- Uses decimal values instead of hexadecimal

### Key BIG-IP HA Concept Reinforced:

Per-VLAN MAC Masquerade ensures Layer 2 uniqueness per VLAN while preserving the fast failover benefits of traffic groups, making it the recommended best practice in multi-VLAN HA deployments.


Contribute your Thoughts:

0/2000 characters
Lizette
6 days ago
I feel like the answer might involve some hexadecimal conversion, but I can't recall the exact process for generating the MAC address for VLAN 1501.
upvoted 0 times
...
Brianne
11 days ago
This question seems similar to one we practiced where we had to calculate MAC addresses based on VLAN IDs. I think we used a formula for that.
upvoted 0 times
...
Rebecka
16 days ago
I remember we discussed how the last two bytes of the MAC address are often derived from the VLAN ID, but I'm not entirely sure how that works with the masquerade settings.
upvoted 0 times
...
Daron
21 days ago
I'm pretty confident I know the answer to this one. The per-VLAN MAC masquerade feature takes the original masquerade address and appends the VLAN ID in hexadecimal format. So the final MAC address should be D.
upvoted 0 times
...
Lisbeth
26 days ago
Okay, let's think this through step-by-step. The administrator configured a MAC masquerade address for the traffic group, and then enabled per-VLAN MAC masquerade. So the final MAC address should be derived from the original masquerade address and the VLAN ID.
upvoted 0 times
...
Benedict
1 month ago
Hmm, I'm a little confused about how the per-VLAN MAC masquerade feature works. I'll need to review that part of the question carefully.
upvoted 0 times
...
Malinda
1 month ago
This looks like a pretty straightforward question about MAC masquerading on an F5 BIG-IP device. I think I can handle this one.
upvoted 0 times
...

Save Cancel