Skip to main content

How to Calculate Checkpoint Loadsharing Muliticast MAC address

This is a simple formula to calculate the mac-address for checkpoint loadsharing on multicast mode. This step is important as without configuring a static arp, most of the Cisco routers/switches that is interconnecting with the firewall cluster will not function.

Taking the following formula into consideration:
Divide the Ip address into 4 octets as follow:

x.y.z.w

If  y <=127
then the mac address will be 01:00:5e:y:z:w
Simply convert the y:z:w from decimal to Hex

example:
10.1.1.1
then the mac adress will be 01:00:5e:01:01:01

if y > 127
then the mac address will be  01:00:5e:(y-128):z:w
Use the value for y minus 128 then convert them from decimal to Hex.

Example:
10.157.1.1
then mac address will be 01:00:5e:(157-128):z:y = 01:00:5e:1d:01:01



Comments

  1. Thanks for explanation!

    I think your example 10.1.1.1 should be 0100.5e01.0101, not 0100.5e0a.0101

    ReplyDelete

Post a Comment

Popular posts from this blog

Install Google Playstore on Pendo Pad 4.0 and rooting the device.

Coles selling the Pendo 7" Android Pad running Ice Cream Sandwich 4.03, however by default it does not come with Google Play Store. Rather it has the China "store" GetJar, which only have limited Apps available. In order to get the  Google Play store install on device. Firstly you have to root the device to gain root access. 1. Download unlockroot from : www.unlockroot.com/ 2. Connect the device to a windows PC, install and run the program. Make sure window machine has the necessary driver to access android pad.  If device driver is not available. Download and install the driver from: http://developer.android.com/tools/extras/oem-usb.html Make sure set the android device to USB Debugging mode to allow the unlockroot to root the device: Enable the USB debugging mode from : Setting -> Developer Options -> USB debugging Click on Root to root the device. After that, install the google play store by downloading it and transfer it to...

CLI Ways to Transfer file Part I

 CLI options: file.io Easy to use API Try it out: $ curl -F "file=@test.txt" https://file.io {"success":true,"key":"2ojE41","link":"https://file.io/2ojE41","expiry":"14 days"} $ curl https://file.io/2ojE41 This is a test $ curl https://file.io/2ojE41 {"success":false,"error":404,"message":"Not Found"} Or set an expiration: $ curl -F "file=@test.txt" https://file.io/?expires=1w {"success":true,"key":"aQbnDJ","link":"https://file.io/aQbnDJ","expiry":"7 days"} $ sleep 604801 $ curl https://file.io/aQbnDJ {"success":false,"error":404,"message":"Not Found"} The query param  expires  must be a positive integer which, by default, represents the number of days until the file will be deleted (defaults to 14 days). If you follow it with  w , it will be the num...

How to update -grub from live-CD

 In order to update the grub configuration of the machine that you might be misconfigured and unable to boot up properly you could use live CD to boot into the machine, however, even if you are able to update the /etc/default/grub file, you will need to perform the "sudo update-grub" command to effect the change. if you are using Live CD to login, you need to perform the following steps: First mount the root directory in question for my case it is my /dev/sda so it is it will be /dev/sda2 as mostly sda1 is for the /boot/efi partition. You will mount the root partition as follow: sudo mount /dev/sda2 /mnt Then mount a few more directories that are needed: sudo mount --bind /dev /mnt/dev sudo mount --bind /sys /mnt/sys sudo mount --bind /proc /mnt/proc How can you tell if you have a boot partition? Once you have your Ubuntu partition mounted, open  /mnt/etc/fstab . If you see an entry for  /boot , note which device it is pointing to ( /dev/sda4  maybe?). This is the on...