Problem with building local network with ADSL

ben ben at cvrse.com
Wed Jun 28 13:33:07 UTC 2006


On Wed, 28 Jun 2006 21:06:41 +0800
"Wang Lei" <atosdps at gmail.com> wrote:
> i wanna make my two computers connect to the internet, but I got a
> problem with my network built within my home:
> 
> --the desktop uses the Ubuntu, with 2 network cards, one was
> connected to the internet via ADSL, and the other was connected to a
> hub --the laptop runs the Windows XP, with 1 network card, which was
> connected to the hub mentioned above
> 
> the configuration i made was as follow:
> desktop(network card connected to the hub):
> ip:       192.168.1.1
> mask: 255.255.255.0
> gate:  192.168.1.1
> laptop:
> ip:      192.168.1.2
> mask: 255.255.255.0
> gate:  192.168.1.1
> DNS:  192.168.1.1
> 
> the problem is the these two can ping each other, but the laptop
> cannot connect to the internet. what can i do with this?
> 

from what i remember you have to set /proc/sys/net/ipv4/ip_forward to
'1' where the default is '0' set it in a boot script as it will reset
every restart.


-- 
ben <ben at cvrse.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060628/bbb16014/attachment.sig>


More information about the ubuntu-users mailing list