LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Difficulty connecting Ubuntu to XP via ethernet (https://www.linuxquestions.org/questions/linux-networking-3/difficulty-connecting-ubuntu-to-xp-via-ethernet-494459/)

hacker supreme 10-21-2006 05:51 PM

Difficulty connecting Ubuntu to XP via ethernet
 
I am trying to connect Ubuntu 5.10 to Windows XP SP2 so that I can use the XP PC to connect to internet. this is causeing me one huge headache.
So far I am running the Ubuntu system without any changes (as it came from the install).
Please help me, I'm at my wits end.

rednuht 10-22-2006 11:55 AM

are you saying the Ubuntu machine can connect to the internet and you want to use it as a NAT router for your XP machine so it to can connect to the internet ?

nayyares 10-22-2006 12:51 PM

Hi,

First: give an IP Address to your XP machine ethernet card e.g. 192.168.0.1 with subnet 255.255.255.0 and d'nt mention any DNS and Gateway here.

second: on linux machine $netconfig or $ifconfig and set IP Address DNs and Gateway e.g. IP Address: 192.168.0.2 Subnet: 255.255.255.0 Gateway: 192.168.0.1 (your XP Machine) DNS: (The Actual DNS that is given by ISP, most of the time it is a real public IP).

hope answer the question

hacker supreme 11-01-2006 06:37 AM

Ah. thankyou. I'll try that as soon as I get home tonight.
@rednuht: actually it's the other way round. The XP machine can connect to internet through 56Kbps modem and has a LAN port unused Bcos we've not got broadband (yet). so I'm trying to use the XP as a gateway. It was like bangin' my head against a brick wall.

michaelk 11-01-2006 07:18 AM

Google for internet connection sharing (ICS). There is lots of info on how to set it up on the internet. Windows ICS automatically configures the selected network adapter with the IP address of 192.168.0.1. This can not be changed. ICS also has a DHCP server. If the network adapter is setup and configured for DHCP you are set. If not using a hub or switch between the PCs then you will need a crossover ethernet cable.


All times are GMT -5. The time now is 11:11 PM.