A MAC masquerade address is a unique, floating Media Access Control (MAC) address
that you create and control. You can assign one MAC masquerade address to each traffic group on a
BIG-IP® device. By assigning a MAC masquerade address to a traffic group,
you indirectly associate that address with any floating IP addresses (services) associated with
that traffic group. With a MAC masquerade address per traffic group, a single VLAN can
potentially carry traffic and services for multiple traffic groups, with each service having its
own MAC masquerade address.
A primary purpose of a MAC masquerade address is to minimize ARP communications or dropped
packets as a result of a failover event. A MAC masquerade address ensures that any traffic
destined for the relevant traffic group reaches an available device after failover has occurred,
because the MAC masquerade address floats to the available device along with the traffic group.
Without a MAC masquerade address, on failover the sending host must relearn the MAC address for
the newly-active device, either by sending an ARP request for the IP address for the traffic or
by relying on the gratuitous ARP from the newly-active device to refresh its stale ARP entry.
The assignment of a MAC masquerade address to a traffic group is
optional. Also, there is no requirement for a MAC masquerade address to
reside in the same MAC address space as that of the BIG-IP device.
If there is a VIP or a server ip
configured on a port with ssl certifcates attached to it, telnet cannot be used
to test content on it (for checking ECV monitors) like normal http VIPs/server
IPs. In these cases openssl can be used, thus:
openssl
s_client –connect <ip>:<port>
This will open an SSL connection to
the client reading the certificate in it. At the prompt we can input the GET
string, HOST string etc., to test the content on the VIP/server ip.
Frequently used Command in day to day operation : V 9.X and 10.X
top - To check CPU states , Memory , Swap
df - to check disk utilization
du –sH * - to check the size of files in particular directory. E.g. give cd /var > then give du –sH * It will show the disk size of all the files inside var.
b interface show – to get all interface up/down status
b vlan show – to check vlan member , related trunk , interface and also more important traffic on particular interface in (pkts,bits,errs) format.
b fo show – to check failover active time
ifconfig – to check interface configuration. Like Ethernet port , IP, subnet mask.
b mgmt route – to get the gateway of the device
b mgmt show – management IP and netmask.
route – to check routing details
netstat –nr – similar like route with some more details.
tar zcvf /shared/tmp/logs_C1424418.tgz /var/log/* -- To tar the logs and send it to f5
It takes a high load on the CPU if you do changes via command like directly , rather than using transaction.
As per F5 recommendation , we should be using Transaction which gives less load on CPU.
VLANs (short for virtual LANs) are used to divide networks into smaller, more manageable chunks. This helps to reduce the size of the broadcast domain and helps with security through isolation. Essentially, there are two types of VLAN specifications for Ethernet:
· Port-based VLAN. A defined VLAN based on the port number of the switch. This is easy to configure but often limited to one single switch.
· 802.1q Tag VLAN. In 802.1q, the VLAN information is written into the Ethernet packet itself. Each packet carries a VLAN ID, called a tag. This allows VLANs to be configured across multiple switches. Note that it’s possible for VLAN tags to be stripped by H/W and/or S/W.
When using 802.1q, four bytes are added to the Ethernet frame, of which 12 bits are used for the VLAN ID. Theoretically, there can be up to 4096 VLANs per network.
An Ethernet packet that contains a VLAN ID is called a tagged packet. Conversely, an Ethernet packet with no VLAN ID is called an untagged packet. Typically all packets leave untagged, unless tagged by the adapter prior to arriving at the switch port.
Egress and Ingress Rules
Egress rules determine which frames can be transmitted out of a port, based on the Egress List of the VLAN associated with it. Each VLAN has an Egress List that specifies the ports out of which frames can be forwarded, and specifies whether the frames will be transmitted as tagged or untagged frames.
Ingress rules are a means of filtering out undesired traffic on a port. When Ingress Filtering is enabled, a port determines if a frame can be processed based on whether the port is on the Egress List of the VLAN associated with the frame.
When an untagged packet arrives at the switch port, the switch will write a VLAN ID into the header of the frame according to the PVID (port VLAN) port definition. Typically, most switches today have all ports are set to a default PVID of 1. . When a tagged frame arrives at a switch port the tag is respected.
A VID defines the member of a port group. A packet can only travel inside a member port when the member port is part of a VID port group.
It's possible that you may see high CPU while checking with top command , but it the memory may be occupied by TMM and mostly will be in idle state , which is normal.
1. Turn on debug logs using the following bigpipe commands:
b db GTM.DebugProbeLogging enable b db GTM.QueryLogging enable b db Log.Big3d.Level debug
2. Copy/Paste the following tcpdump command:
tcpdump -ni 0.0 -s0 port 53 -w /var/tmp/capture_dns_query.dmp
3. While the tcpdump is running, query the WideIP from a different device than the GTM making sure you are using the listener address of the GTM. For example:
Source : 1.1.1.1 port 1111 VIP: 2.2.2.2 Pool Members: 3.3.3.3 and 4.4.4.4 port 12345
Then ============================= tcpdump -nni 0.0:nnn -s0 -C 10 -W 100 --w /var/tmp/tcpdump.pcap '( host 1.1.1.1 or host 2.2.2.2 and port 1111) or ((host 3.3.3.3 or host 4.4.4.4 ) and port 12345)' -vvv