PDA

View Full Version : [ubuntu] Cannot Make Home LAN


xramoj
March 29th, 2009, 06:55 AM
I've got PC(linux, Ubuntu 8.10) and Noutbook(win) at home.
PC got 2 LAN cards, first one is configured as manual, and it works properly. Noutbook configuration:
192.168.0.2
255.255.255.0
192.168.0.1
DNS 1/DNS 2, and connected to LAN2.
I tried to configure LAN2 as it was on windows:
192.168.0.1
255.255.255.0
xxx.xxx.xxx.xxx(my IP)
DNS1/DNS2, but it doesn't works. At windows there was option, that I allow other connections through LAN1.
What should I do?

Iowan
March 29th, 2009, 11:02 PM
Network Manager seems to have problems with multiple interfaces. This (https://help.ubuntu.com/community/Internet/ConnectionSharing) ICS help page may/not help.

BkkBonanza
March 30th, 2009, 12:38 AM
It looks like you're telling your notebook the gateway is 192.168.0.1 but from what you say thats not your gateway, so it cannot get to the dns server (unless you are running one yourself on that ip). If you have two LAN cards then each one has it's own subnet/network. So if you want anything on one to talk to the other then you will need a route command to bridge the two. Suggest googling "bridge route linux".

xramoj
April 1st, 2009, 04:46 AM
Thank,s it may help