Re: vmac problem on centos 6.5

Ranjith R <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <CAFAeOTANpPLm+1qo+H5LAB9RqC0Ctc+9xSmD_SVL-38AMxda5Q@mail.gmail.com>
Hello,

Can you check whether this setting  "net.ipv4.conf.eth1.arp_filter = 1" is
actually applied on the BACKUP server ?


On Thu, Jun 26, 2014 at 10:45 AM, Dmitry Melekhov <[email protected]> wrote:

>  26.06.2014 08:56, nick tailor пишет:
>
> You have both lvs running as master and the same priority?
>
>
> Sorry!
>
> Wrong config for master :-(
>
> Here is right one:
>
> global_defs {
>   router_id u304-vpn
> }
>
> vrrp_instance VI_1 {
>    state MASTER
>    interface eth1
>    virtual_router_id 1
>    use_vmac
>    priority 249
>
>    advert_int 1
>    authentication {
>        auth_type PASS
>        auth_pass 1111
>    }
>    virtual_ipaddress {
>        192.168.26.1/24
>    }
>     notify_master "/usr/local/bin/vmac_tweak.sh"
> }
>
> Thank you!
>
>
>  Are you trying to do a master / master setup?
>
> Nicktailor.com
> Nick Tailor
> On Jun 25, 2014 9:31 PM, "Dmitry Melekhov" <[email protected]> wrote:
>
>> Hello!
>>
>> Yesterday I tried to switch my two linux routers to use vmac.
>>
>> Both of them runs centos 6.5 , master is x86-64 and backup is x86.
>>
>> I compiled and installed keepalived 1.2.13, did some preparations like
>>
>> #for vrrp mac_vlan
>> net.ipv4.conf.all.arp_ignore = 1
>> net.ipv4.conf.all.arp_announce = 1
>> net.ipv4.conf.all.arp_filter = 0
>> net.ipv4.conf.eth1.arp_filter = 1
>>
>>
>> Here is config from one master:
>>
>> global_defs {
>>    router_id u304-vpn
>> }
>>
>> vrrp_instance VI_1 {
>>     state MASTER
>>     interface eth1
>>     virtual_router_id 1
>>     use_vmac
>>     priority 240
>>     advert_int 1
>>     authentication {
>>         auth_type PASS
>>         auth_pass pass
>>     }
>>     virtual_ipaddress {
>>         192.168.26.1/24
>>     }
>>     notify_master "/usr/local/bin/vmac_tweak.sh"
>> }
>>
>>
>> and of slave
>>
>>
>> global_defs {
>>    router_id u304-vpn
>> }
>>
>> vrrp_instance VI_1 {
>>     state MASTER
>>     interface eth1
>>     virtual_router_id 1
>>     use_vmac
>>     priority 240
>>     advert_int 1
>>     authentication {
>>         auth_type PASS
>>         auth_pass pass
>>     }
>>     virtual_ipaddress {
>>         192.168.26.1/24
>>     }
>>     notify_master "/usr/local/bin/vmac_tweak.sh"
>> }
>>
>>
>> vrrp address is 192.168.26.1
>> master is 192.168.26.3
>> backup is 192.168.26.2
>>
>> And I successefully use this config without vmac.
>>
>> So, after keepalived restart I got vrrp.1 interface on both servers,
>> and mac address of 192.168.26.1 on clients ( tested another linux server
>> and cisco catalyst) is address of this vrrp.1.
>> But not for long, after several minutes it becomes mac address of backup
>> server physical interface, I tried this 3 times and always get the same
>> result.
>>
>> Could you tell me what can be wrong?
>>
>> Thank you!
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Open source business process management suite built on Java and Eclipse
>> Turn processes into business applications with Bonita BPM Community
>> Edition
>> Quickly connect people, data, and systems into organized workflows
>> Winner of BOSSIE, CODIE, OW2 and Gartner awards
>> http://p.sf.net/sfu/Bonitasoft
>> _______________________________________________
>> Keepalived-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
>>
>
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Keepalived-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
>
>

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.