[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Internet connection sharing?



On Tue, 08 Mar 2011 12:55:02 +0330, hadi motamedi wrote:

> My debian machine is connected to my MS Windows machine on the net.The
> MS Windows machine is connected to Internet via valid IP address setting
> and on its secondary ip address setting it can see my debian machine on
> the intranet.Can you please let me know how can try for Internet
> connection sharing such that my debian machine can see internet with
> minor modifications done? Thank you in advance

As root:

route add default gw 192.168.0.1 eth0

If that works, then you can add it permanently via "/etc/network/
interfaces"

Note 1: 192.168.0.1 is the IP of the windows machine with ICS enabled.
Note 2: Debian machine has to have IP/netmask and a DNS server configured.

Greetings,

-- 
Camaleón


Reply to: