LinHES Forums
http://forum.linhes.org/

Internet Sharing XP-Linux
http://forum.linhes.org/viewtopic.php?f=5&t=7964
Page 1 of 1

Author:  jimyhunt [ Thu Jan 19, 2006 3:48 pm ]
Post subject:  Internet Sharing XP-Linux

Hello, Im setting up my Myth box with a connection to the internet via a Xp machine, switch, ethernet. All is working fine with DHCP.

But i want a fixed ip for my linux box, so i can access the mythweb.

Ive done this with netcardconfig, and switching off DHCP, and setting the ip there.

I have set the IP on the XP machine, and i can ping it from the mythbox.

But i cant get the internet to work on the mythbox.

Any help on this pls would be greatful

Jim

Author:  tjc [ Thu Jan 19, 2006 8:10 pm ]
Post subject: 

You probably need to set up your routing manually. DHCP tends to takes care of this for you. Unfortunately it's one of those things that's so instinctive by now that I'd have a hard time explaining it. :? Another alternative might be to set up a "reserved" IP keyed to your NICs MAC address on your DHCP server (some routers can do this, but not the cheap Linksys appliances), no idea about XP if that's acting as your DHCP server.

Author:  Girkers [ Thu Jan 19, 2006 9:03 pm ]
Post subject: 

When you set up Internet Connection Sharing (ICS) on XP, it sets itself up as a DHCP server. I had many occassions where I tried to use static IPs in this configuration, but to know avail.

I would suggest to get a proper router, if not, good luck, your going to need it.

Author:  jimyhunt [ Fri Jan 20, 2006 11:21 am ]
Post subject: 

Woohooo done it!

Set the internet sharing on the XP machine, then set a static IP on the XP machine.
eg 192.168.0.1

Once done check you can ping the XP machine from the linux box.

ping 192.168.0.1 (ctrl +C)

if all okay, then use - netcardconfig
Select no to DHCP
Selected local(linux) eg. IP 192.168.0.151
Mask - 255.255.255.0
Broadcast - 192.168.0.255
Default Gateway - 192.168.0.1 <----The XP machine
Name Server - 192.168.0.1
------------------------------------------------------------
Now that shoudl be it. hope that helps someone.

this will see me through untill i get a router. :lol:

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/