Networking Forums

Networking Forums > Computer Networking > Linux Networking > sharing internet with Win XP

Reply
Thread Tools Display Modes

sharing internet with Win XP

 
 
Stephen
Guest
Posts: n/a

 
      03-20-2005, 04:47 PM
I am trying to share an internet connection with a win xp computer. I
am using suse 9.1. Here is an example of my config:

Linux box:
nic 1 (internal interface) ip: 192.168.0.1

nic 2 (external interface, isp assigned) ip: 000.000.000.000

Yast Router config default gateway (isp assigned): 000.000.000.000

isp dns: 000.000.000.000 (isp assigned)

IP masquerading is on

ip forwarding is on

samba is installed although I cannot see the workgroup (this might be
it)

in the router table I tried all kinds of combinations, but maybe I
should have someone explain Yast's "destination", "gateway"
and "netmask" I am assuming I set the destination to 192.168.0.1
(my internal interface nic) and the gateway to the isp gateway, and
the netmask to the internal network 255.255.255.0.

Win XP box:
nic ip: 192.168.0.2
gateway: 192.168.0.1 (internal interface nic on linux box)

I can ping both linux nic ip's and the isp gateway from the XP box just
fine, but nothing on the Internet. You would think if I could ping the
isp gateway I could reach the net but no go. Anyway, I am fairly new
to Linux and any help would be apprecited.

PS Any good recommendations for hardware based routers that support
Linux and windows?

 
Reply With Quote
 
 
 
 
Mihai Osian
Guest
Posts: n/a

 
      03-20-2005, 07:02 PM
Stephen wrote:
> I am trying to share an internet connection with a win xp computer. I
> am using suse 9.1. Here is an example of my config:
>
> Linux box:
> nic 1 (internal interface) ip: 192.168.0.1
>
> nic 2 (external interface, isp assigned) ip: 000.000.000.000
>
> Yast Router config default gateway (isp assigned): 000.000.000.000
>
> isp dns: 000.000.000.000 (isp assigned)
>
> IP masquerading is on
>
> ip forwarding is on
>
> samba is installed although I cannot see the workgroup (this might be
> it)
>
> in the router table I tried all kinds of combinations, but maybe I
> should have someone explain Yast's "destination", "gateway"
> and "netmask" I am assuming I set the destination to 192.168.0.1
> (my internal interface nic) and the gateway to the isp gateway, and
> the netmask to the internal network 255.255.255.0.
>
> Win XP box:
> nic ip: 192.168.0.2
> gateway: 192.168.0.1 (internal interface nic on linux box)
>
> I can ping both linux nic ip's and the isp gateway from the XP box just
> fine, but nothing on the Internet. You would think if I could ping the
> isp gateway I could reach the net but no go. Anyway, I am fairly new
> to Linux and any help would be apprecited.
>
> PS Any good recommendations for hardware based routers that support
> Linux and windows?
>


A few hints:
- Samba has nothing to do with your internet connection. Don't bother
about it right now.
- Did you set the DNS on the XP box ? How exactly did you test your
internet connection - you pinged another internet IP address or you just
tried with a webbrowser ?
- Make sure your firewall on the Linux box is completely disabled, at
least until you have everything up and running
- Hardware routers - I can tell you what *not* to buy. I had a US
Robotics crap with a Windows-only http configuration interface. It used
some stupid javascripts which didn't work in Linux. Now I have a D-Link
624 (wireless) router, which can be configured from Linux. But I
wouldn't really recommend it either - from time to time it refuses any
wireless access until I reset it.

Mihai



 
Reply With Quote
 
Stephen
Guest
Posts: n/a

 
      03-20-2005, 07:21 PM
The dns on the win xp box is not set. By the way, I use a wireless
internet (radio) and have no modem. I didn't have the dns set before
when both boxes were on xp. As for the pingin, I was pinging the isp
gateway ip and both nics on the linux box from the cmd prompt in
windows.

I just tried disabling the firewall and adding a dns on the xp box but
still no luck. Does the xp user have to have rights on the linux box?

Mihai Osian wrote:
> Stephen wrote:
> > I am trying to share an internet connection with a win xp computer.

I
> > am using suse 9.1. Here is an example of my config:
> >
> > Linux box:
> > nic 1 (internal interface) ip: 192.168.0.1
> >
> > nic 2 (external interface, isp assigned) ip: 000.000.000.000
> >
> > Yast Router config default gateway (isp assigned):

000.000.000.000
> >
> > isp dns: 000.000.000.000 (isp assigned)
> >
> > IP masquerading is on
> >
> > ip forwarding is on
> >
> > samba is installed although I cannot see the workgroup (this might

be
> > it)
> >
> > in the router table I tried all kinds of combinations, but maybe

I
> > should have someone explain Yast's "destination", "gateway"
> > and "netmask" I am assuming I set the destination to 192.168.0.1
> > (my internal interface nic) and the gateway to the isp gateway,

and
> > the netmask to the internal network 255.255.255.0.
> >
> > Win XP box:
> > nic ip: 192.168.0.2
> > gateway: 192.168.0.1 (internal interface nic on linux box)
> >
> > I can ping both linux nic ip's and the isp gateway from the XP box

just
> > fine, but nothing on the Internet. You would think if I could ping

the
> > isp gateway I could reach the net but no go. Anyway, I am fairly

new
> > to Linux and any help would be apprecited.
> >
> > PS Any good recommendations for hardware based routers that

support
> > Linux and windows?
> >

>
> A few hints:
> - Samba has nothing to do with your internet connection. Don't bother


> about it right now.
> - Did you set the DNS on the XP box ? How exactly did you test your
> internet connection - you pinged another internet IP address or you

just
> tried with a webbrowser ?
> - Make sure your firewall on the Linux box is completely disabled, at


> least until you have everything up and running
> - Hardware routers - I can tell you what *not* to buy. I had a US
> Robotics crap with a Windows-only http configuration interface. It

used
> some stupid javascripts which didn't work in Linux. Now I have a

D-Link
> 624 (wireless) router, which can be configured from Linux. But I
> wouldn't really recommend it either - from time to time it refuses

any
> wireless access until I reset it.
>
> Mihai


 
Reply With Quote
 
Stephen
Guest
Posts: n/a

 
      03-21-2005, 03:46 PM
Got it. My routing had the wrong ip in the gateway. Duh.

Thanks.

Mihai Osian wrote:
> Stephen wrote:
> > I am trying to share an internet connection with a win xp computer.

I
> > am using suse 9.1. Here is an example of my config:
> >
> > Linux box:
> > nic 1 (internal interface) ip: 192.168.0.1
> >
> > nic 2 (external interface, isp assigned) ip: 000.000.000.000
> >
> > Yast Router config default gateway (isp assigned):

000.000.000.000
> >
> > isp dns: 000.000.000.000 (isp assigned)
> >
> > IP masquerading is on
> >
> > ip forwarding is on
> >
> > samba is installed although I cannot see the workgroup (this might

be
> > it)
> >
> > in the router table I tried all kinds of combinations, but maybe

I
> > should have someone explain Yast's "destination", "gateway"
> > and "netmask" I am assuming I set the destination to 192.168.0.1
> > (my internal interface nic) and the gateway to the isp gateway,

and
> > the netmask to the internal network 255.255.255.0.
> >
> > Win XP box:
> > nic ip: 192.168.0.2
> > gateway: 192.168.0.1 (internal interface nic on linux box)
> >
> > I can ping both linux nic ip's and the isp gateway from the XP box

just
> > fine, but nothing on the Internet. You would think if I could ping

the
> > isp gateway I could reach the net but no go. Anyway, I am fairly

new
> > to Linux and any help would be apprecited.
> >
> > PS Any good recommendations for hardware based routers that

support
> > Linux and windows?
> >

>
> A few hints:
> - Samba has nothing to do with your internet connection. Don't bother


> about it right now.
> - Did you set the DNS on the XP box ? How exactly did you test your
> internet connection - you pinged another internet IP address or you

just
> tried with a webbrowser ?
> - Make sure your firewall on the Linux box is completely disabled, at


> least until you have everything up and running
> - Hardware routers - I can tell you what *not* to buy. I had a US
> Robotics crap with a Windows-only http configuration interface. It

used
> some stupid javascripts which didn't work in Linux. Now I have a

D-Link
> 624 (wireless) router, which can be configured from Linux. But I
> wouldn't really recommend it either - from time to time it refuses

any
> wireless access until I reset it.
>
> Mihai


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Gateway device created in Network Connections when I removed Internet Connection Sharing Martin Underwood Home Networking 2 04-07-2005 12:56 PM
INTERNET SHARING W98 C HURTON Windows Networking 1 12-29-2003 03:38 AM
Internet Sharing Marco Pais Windows Networking 2 11-26-2003 11:37 AM
Internet sharing Ronald Windows Networking 4 11-17-2003 02:28 PM
Internet Sharing Fabian W. Windows Networking 0 08-13-2003 09:05 AM



1 2 3 4 5 6 7 8 9 10 11