Re: Note on using VRRP with Virtual MAC address

Alexandre Cassen <[email protected]> Thu, 12 Jan 2017 14:38:19 +0100
Newsgroups gmane.linux.keepalived.devel
Message-ID <CAONz4a3HJML9HH_cwYe_R5+Opy2A=7k+ubGhXhYAW+saKJ33-g@mail.gmail.com>
Barak,

Please try to investigate a little your side before, since you are working
for a constructor and will make money around then you can focus your time
on your specifics needs. You can find bunch of help by googling around this
topic.

This mailing list is not a ticketing tracking system.

regs,
Alexandre

On Thu, Jan 12, 2017 at 2:17 PM, barak adam <[email protected]> wrote:

> Hi,
>
> https://github.com/acassen/keepalived/blob/master/doc/NOTE_vrrp_vmac.txt
>
> Following this note instructions, I still don't have master router send
> its Virtual MAC on ARP replies. (Virtual MAC is now sent only while
> broadcasting a gratuitous ARP).
>
> I did the following:
> ==============
> 1) set "use_vmac" in the conf file
> 2) build the linux kernel with the macvlan driver
> 3) trying to use or not use "vmac_xmit_base"
> 4) make sure linux patch is adapted
> http://git.kernel.org/?p=linux/kernel/git/torvalds/
> linux.git;a=commitdiff;h=729e72a10930ef765c11a5a35031ba47f18221c4
> 5) tweak the interfaces as follows:
>
> # *cd /proc/sys/net/ipv4/conf/all* # for f in ./arp_*; do echo -n "$f ";
> cat $f; done ./arp_accept 0 ./arp_announce 1 ./arp_filter 0 ./arp_ignore 1
> ./arp_notify 0
>
> # pwd
> */proc/sys/net/ipv4/conf/vif10*
> # for f in ./*rp_*; do echo -n "$f "; cat $f; done
>
>
> ./arp_accept 0
> ./arp_announce 0
> ./arp_filter 1
> ./arp_ignore 1
> ./arp_notify 0
> ./proxy_arp_pvlan 0
> ./rp_filter 0
>
>
> # cd ../vrrp.1/
> #pwd
> */proc/sys/net/ipv4/conf/vrrp.1* # for f in ./arp_*; do echo -n "$f ";
> cat $f; done ./arp_accept 0 ./arp_announce 0 ./arp_filter 0 ./arp_ignore 1
> ./arp_notify 0
>
>
> conf file:
> ======
> vrrp_instance VI_1 {
>  state MASTER
>  interface vif10
>  virtual_router_id 1
>  priority 200
>  use_vmac
>   vmac_xmit_base
>  authentication {
>   auth_type PASS
>   auth_pass password
>  }
>  virtual_ipaddress {
>   10.1.1.5/24 brd 10.1.1.255 dev vif10
>  }
>   #track_script {
>    #chk_Kim_script
>  #}
> }
>
> Any help will be appreciated.
>
> Thanks
> Barak
>
>
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Keepalived-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
>
>

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel