Hello,
 Any idea on how to get two computers to share the same ip if the linux box
only has one interface? the basic sheme would be:
ISP (1.2.3.4)      ----       eth0 (1.2.3.5)        Linux
                         ---- eth0:0 (192.168.1.1)   box
                         |
                         ----(192.168.1.2) box #2
i have tried 
iptables -t nat -A POSTROUTING -s 192.168.1.0/255 -j SNAT --to-source 
1.2.3.5
ping from 192.168.1.2 to 1.2.3.5 :works
ping from 192.168.1.2 to 1.2.3.4 :timeout :(

ping www.somwhere.com -I 192.168.1.1 :works
/proc/sys/net/ipv4/ip_forward:1
all necessary modules loaded

still..?

_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to