* Robert Heinzmann <[email protected]> [090714 12:04]: > Hello, > > I have a question regarding ARP updates. > > Network Setup: venet with proxy arp. > > When movin a VE from one host to another (via DRBD: node1:shutdown, > switch drbd , node2:start) the IP/MAC combination needs to be > re-advertised so that the ARP caches are flushed. This can be done with > "sendarp". Otherwise the host is not reachable. > > Is this integrated into the OpenVZ command utilities ? How can I > integrate this command that it alsways is running on: > > 1) Every VE start > 2) Every IP add > > My Idea: > > Custom add_net and vps.mount hook scripts, however because this such a > general issue, I thing someone already found a elegang solution for this > ?
Default vzctl scripts already ship with exactly this feature set. See http://git.openvz.org/?p=vzctl;a=blob;f=scripts/vps-functions.in;h=bcc789380faf52a524abab3f0ec7fe55917ae8d1;hb=f18aada9e4aeff38240c543db31739d808b0e81a#l181 and http://git.openvz.org/?p=vzctl;a=blob;f=scripts/vps-net_add.in;h=31c307c1fa1102d79c3797317f104e8919db3c3f;hb=f18aada9e4aeff38240c543db31739d808b0e81a#l44 -ch -- christian hofstaedtler _______________________________________________ Users mailing list [email protected] https://openvz.org/mailman/listinfo/users
