how to route thru virtual interfaces?
I have three linux boxes and a few Windows boxes.When i enable ip forwarding on the linux box (ip address 192.168.13.12), other machines can connect thru it and it forwards their requests to the router.They can then access internet. However, when i setup a virtual ip address on the same Network card of the linux machine(ifconfig eth0:0 192.168.0.1 netmask 255.255.255.0) and i change the gateway of the other clients to that of the virtual ip address(192.168.0.1), these clients cannot access internet. Is there a way i can forward requests from the virtual address(192.168.0.1) to the real address(192.168.13.12) such that the clients can access internet thru the virtual address(192.168.0.1)? please help.
Huseki
|