Hi, my question here is : How to share Internet Access through ethernet cable
I have connect 2 machines trhough en ETH cable by success (ping each other, up/down load files, ssh ).
So, now, i want to share my wirelless internet connection.
Here is my setup :
Code:
// >> INTERNET
//
((*)) << //
------ wlan0 | --------
| | | | |
| pc-1 | +---------->>| pc-2 |
| | | |
------ --------
|| PCI eth onBoard ETH ||
|| <<<=================================>>> ||
|| eth0 eth-X cable eth0 ||
----------- -----------
| | | |
----------- -----------
eth0 eth0
ip: 10.10.10.11/24 ip: 10.10.10.10/24
bc: 10.10.10.255 bc: 10.10.10.255
wlan0
ip: 192.168.1.64/24
bc: 192.168.1.255
gw: 192.168.1.254
( pc-2 ) - Kernel IP routing table
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 wlan0
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
Some test pings :
Code:
ping -I wlan0 -c 1 10.10.10.10 : error !
ping -I wlan0 -c 1 google.com : ok.
ping -I eth0 -c 1 192.168.1.254 : error !
ping -I eth0 -c 1 google.com : error !
Can somebody give me some help here ?
PS: i would like to do it, not through the NetworkManager
thanks