Score:0

keepalived(or another solutions) between 2 interfaces one server

in flag

community. Could you help me with the next question? I'll have a server Linux with 2 NIC in the same network ens33 192.168.23.2 ens34 192.168.23.3 and plugin in different switches: I want to use Virtual IP (Floating IP) for example 192.168.23.100 i.e. if ens33 down so IP should be migrate on ens34 I'll try to use keepalived and this work but not graceful solutions. i.e. I'll create 2 Instances for 1 Virtual IP. and him not floating just have secondary ip on both interfaces:

2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:0c:29:81:8d:d7 brd ff:ff:ff:ff:ff:ff
    inet 192.168.23.24/24 brd 192.168.23.255 scope global dynamic ens33
       valid_lft 21380sec preferred_lft 21380sec
    inet 192.168.23.223/24 scope global secondary ens33
       valid_lft forever preferred_lft forever
    inet6 fe80::20c:29ff:fe81:8dd7/64 scope link 
       valid_lft forever preferred_lft forever
3: ens34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:0c:29:81:8d:e1 brd ff:ff:ff:ff:ff:ff
    inet 192.168.23.34/24 brd 192.168.23.255 scope global dynamic ens34
       valid_lft 21566sec preferred_lft 21566sec
    inet 192.168.23.223/24 scope global secondary ens34
       valid_lft forever preferred_lft forever
    inet6 fe80::20c:29ff:fe81:8de1/64 scope link 
       valid_lft forever preferred_lft forever

i think have more gracefull solutions, but i cant found it. P.S Switches dosent support stacking so i cant use Bounding(LACP) for this case

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.