OK.<div><br></div><div>The next question becomes: how do we ensure that this happens for each defined IP, and that the ping is issued from a given IP address (routing/ etc.).</div><div><br>What we're hoping to accomplish is for the colo switch to get the correct ARP address for each defined IP address on the host. In some cases, we'll have multiple NICs on the same subnet, in others, IP aliases on the same NIC.<br>
<br><div class="gmail_quote">On Wed, Sep 14, 2011 at 2:14 PM, Warren Young <span dir="ltr"><<a href="mailto:warren@etr-usa.com">warren@etr-usa.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 9/14/2011 1:26 PM, Edward Morbius wrote:<br>
> I'm looking for a capability similar to Debian/Ubuntu's pre/post up/down<br>
> network commands capability.<br>
<br>
</div>If you look in /etc/sysconfig/network-scripts/ifup, you'll see that it<br>
will call /sbin/ifup-pre-local if it exists, before bringing up the<br>
network interface.<br>
<br>
That script also calls .../network-scripts/ifup-post after bringing up<br>
the network interface, which in turn will call /sbin/ifup-local, if it<br>
exists, as its last step.<br>
<br>
Neither is interface-specific, but they get the interface name passed to<br>
them, so if you needed to do something different for different<br>
interfaces, you could.<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Dr. Ed Morbius<br>Chief Scientist / Philologist / Robot Wrangler / Powerplant Operator<br>Krell Power Systems Unlimited<br><br>
</div>