Monday, January 17, 2005

vgpd aka Virtual Gateway Protocol Daemon

Found a application similar to HSRP on Linux by Marco Tizzoni and does HSRP Kinda stuff on Linux

It is called the Virtual Gateway Protocol Daemon

I have tired it out and has the same features as HSRP but remmeber it is not compatible with HSRP
The best part about this application is that it puts log entries with the default log deamon which is syslogd on most systems.

You can access this deamon via http://vgpd.freaknet.org/

A few words before you go on to have a test run at it.

1. It requires gcc version > 3.0 which i guess is on all the systems
2. You need to generate a sha key for it to start so that it can be run. I feel this is not documented properly but you can generate a key and place it in a file :

-rw-r--r-- 1 root root 47 Jan 17 01:42 /etc/vgp-key

The way to run is :

vgpd -a 192.168.0.95 -i eth0 -p 100
You can specify the group and also by default -l or --log option is on to log to default system logger deamon.

A snip from the messages file is below :

Jan 17 01:42:53 jabber vgpd[4043]: vgpd started, entering initialization phase...
Jan 17 01:42:53 my_test_sys vgpd[4043]: Interface : eth0
Jan 17 01:42:53 my_test_sys vgpd[4043]: Virtual interface : eth0
Jan 17 01:42:53 my_test_sys vgpd[4043]: vgp priority set to : 0x64
Jan 17 01:42:53 my_test_sys vgpd[4043]: vgp group set to : 0x01
Jan 17 01:42:53 my_test_sys vgpd[4043]: Hello time : 2
Jan 17 01:42:53 my_test_sys vgpd[4043]: Hold time : 6
Jan 17 01:42:53 my_test_sys vgpd[4043]: Virtual IP : 192.168.0.95
Jan 17 01:42:53 my_test_sys vgpd[4043]: Virtual MAC : 00:00:5E:00:01:01
Jan 17 01:42:56 my_test_sys vgpd[4044]: set_ipaddr(): Successfully set ip address: 192.168.0.95


I have tried it out and it works great.

Remember it is not compatible with HSRP on cisco router's / MLS switches.

Coming up how dynamic DNS can ease up your life if you use DHCP Server on the network to give IP addr's to the client machine and this one is specially for my good friend Nikhil whos alwayz got a machine for me to test new stuff on.

Nitin

3 Comments:

At 10/25/2009 09:17:00 PM, Blogger Adi said...

Thank you for sharing.
Oes Tsetnoc | Mengembalikan Jati Diri Bangsa | Kenali dan Kunjungi Objek Wisata di Pandeglang | Oes tsetnoc | Online Marketing | Electronics Gadgets | etips solution | Travel Guide

 
At 10/29/2009 02:34:00 PM, Blogger The Jack said...

Thanks ever so much, very useful article. If you do not mind, please visit my article related to pandeglang district in Banten, Indonesia at Kenali dan Kunjungi Objek Wisata di Pandeglang or Kenali dan Kunjungi Objek Wisata di Pandeglang second and also Kenali dan Kunjungi Objek Wisata di Pandeglang Objek Wisata Air Terjun Curug Gendang and Kesenian Debus, Sejarah dan Ciri Khas Wisata Banten and our hard work at Kerja Keras Adalah Energi Kita that's right Kerja Keras Adalah Energi Kita, and Kenali dan Kunjungi Objek Wisata di Pandeglang Memasuki Babak Akhir also Objek Wisata Taman Wisata Alam Carita, Kenali dan Kunjungi Objek Wisata di Pandeglang, or Kenali dan Kunjungi Objek Wisata di Pandeglang, also Kenali dan Kunjungi Objek Wisata di Pandeglang, or Kenali dan Kunjungi Objek Wisata di Pandeglang, also Kenali dan Kunjungi Objek Wisata di Pandeglang, or Kenali dan Kunjungi Objek Wisata di Pandeglang, also Kenali dan Kunjungi Objek Wisata di Pandeglang, or Kenali dan Kunjungi Objek Wisata di Pandeglang, very smart thank you!

 
At 11/15/2009 09:36:00 AM, Blogger Daniela said...

Find your great Travel News and sing the songs at Free Song Lyric or you can watch the drama at Korea Drama Online one of great korea drama is A Love to Kill if you go to travel to Indonesia learn Learn Indonesia Language first! And find your home cari rumah or make a blog Belajar membuat Blog find your home again rumah dijual and again at jual rumah then if you want buy a new laptop see the Laptop Price List or you can buy a New Blackberry and then take care your Health & Jewerly.

 

Post a Comment

<< Home