ifconfig eth0 down
Hi
I'm trying to simulate a network failure and view how it affects Oracle TimesTen replication. I'm using 2.6.18-128.1.10.0.1.el5 on x86_64. I have two network cards, eth0 and eth1. I define and verify that replication is using the IP address associated with the eth0 interface.
I use the IP address on eth1 to ssh into the box to run the commands. I issue "ifconfig eth0 down". However I don't see any interruption to the replication and nor do I see any error messages. Furthermore I find that I can still ping <eth0 IP address> successfully and ssh to it and login to the box.
I'd like to know if I've misunderstood what ifconfig down can do, and if it is unsuitable for simulating a network outage on an interface. If it is, I'd be grateful if someone could suggest an alternative means to do this, other than disconnecting the network cable. The boxes I'm using are remote so this is not easily achievable.
Thanks.