linux to linux connection sharing
Hi!
I have my PC (FC4/WinXP) and my laptop (FC4/WinXP). Now I'm about to configure my laptop FC4 to use the PC as gateway to internet, and have read tons of howto's doing the same I had done, but something's still wrong, however FC4-WinXp and WinXp-WinXp net sharing works fine.
The PC internet ethernet card (eth0) is 192.168.1.0
The PC local ethernet card (eth1) is 192.168.0.1
The laptop local ethernet card (eth0) is 192.168.0.2
I've done
route add -net 192.168.0.0 netmask 255.255.255.0 dev eth0
route add default gw 192.168.0.1 dev eth0
but still nothing happens. I tried to ping 192.168.0.1 but only Host unreachable I got back. All interface settings are identical to the ones mentioned in the numerous howto's.
Do you have any idea what I might be missing here?
|