Sending packets to localhost through another computer
Hey all. Suppose I have computer A with ip address on eth0 of 192.168.0.1 and ip address on eth1 of 192.168.1.1. If I send packets to 192.168.1.1 from computer A, it automatically uses the loopback interface. Is it possible to modify the routing table some how to send these packets out on eth0 instead and have them route around the network and come back on eth1. I've tried 'route add -host 192.168.1.1 dev eth0' but it seems to completely ignore this entry.