traffic has to go through the virtual interface ip address
i am using fedora 7 in two different box's and have two interfaces each respectivly
eth1 between two box's have been connected by cross cable to enable the heartbeat ipfail functionality
eth0 has been connected to lan and each eth0 carries ip address's 192.168.0.10 and 192.168.0.20 apart from this the heartbeat uses eth0:1 - 192.168.0.30 as virtual ip in one of the box's and i have NAT'd my external ip address to this virtual ip, so any time the connectivity will be up and my web server will be available all the time.
now my requirement is if i do ping 192.168.0.1 gateway address using
ping 192.168.0.1 -I eth0:1
it shows the physical ip of that interface.
i did the following in the box
route add default gw 192.168.0.1 dev eth0:1
route del default gw 192.168.0.1 dev eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
is there any ways that i can send all the traffic through eth0:1 only
pls help me
is it possible to do so?
the long silence here scares me that it may not be possible....
|All times are GMT -5. The time now is 05:52 AM.|