Link to home
Start Free TrialLog in
Avatar of dipsdalls
dipsdalls

asked on

net sharing in linux +windows

i have windows xp in my computer with modem connected and i have redhat 8.0 on next.
i am able to connect internet on windows xp now i want to share internet connection of xp on linux
how can i do so???
anybody willing to help me??
Avatar of xSequor
xSequor

You should be able to.  A cheap router would be a nice solution and better security.

But to answere the question the best I can:

You should just have to tell the Linux box the default gateway IP and supnet on the XP ICS machine.  That should be it..
I assume you can do this because you set up ICS.

If not just ask.  Sorry if this is not enough info..

Thx

X
I think xSequor is right to buy a router or a share hub.

but if you only have 2 computers and wanted to connect them up and share the internet connection, you need to have 2 network card (one for each computer) and use the twisted/cross cable to connect them up.

after connected, as xSequor said set up the linux box default gateway and subnet of the XP and try.
ASKER CERTIFIED SOLUTION
Avatar of sdguy
sdguy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dipsdalls

ASKER

thanks sdguy for your nice suggestion...
Glad I was able to help :)

-sdguy
OK, here's how I did it :

Set up your XP machine with Dial-Up modem and configure the Dial Up connection for sharing (right click, properties, advanced, share this connection)

This will automatically configure your network card on the XP machine with IP 192.168.0.1

Now go to your Linux machine and configure it's network settings to 192.168.0.x - subnet 255.255.255.0 - gateway 192.168.0.1

The Gateway is VERY important as this tells linux how to find the route through to the internet.

However you still won't be able to type an address into your browser and have it find the internet - so you need to go to your ISP's home page and find their DNS settings, if not a quick google search will usually yeild the answer.

Go to your Linux machines network settings and tap in these two numbers.

Now your linux machine can a) find the route to the internet and b) resolve names to IP addresses in order to search the net.

That's it - works for me!