Setting up shared Internet connection with a Linux client with a Windows 2000 server (gateway)

Setting up shared Internet connection with a Linux client with a Windows 2000 server (gateway)

Post by Dave ThuanL » Sat, 04 Aug 2001 03:06:32



Hi, i am trying to make my Linux box connect to the  internet . In my LAN, I
have a Windows 2000 Server acting as the gateway to the internet. Other
Windows clients are able to connect to the internet through this gateway.
Only the Linux box is not. Can any one out there help me to make this Linux
box connect to the internet through the Windows 2000 server gateway? (P.S:
all systems are connected to a HUB)

Thanks

 
 
 

Setting up shared Internet connection with a Linux client with a Windows 2000 server (gateway)

Post by Frank de Bo » Sat, 04 Aug 2001 02:12:12


try: route add default gw <ipof-stupidwindblows-system>

or configure in your browser a proxy if installed on w2k.


> Hi, i am trying to make my Linux box connect to the  internet . In my LAN,
> I have a Windows 2000 Server acting as the gateway to the internet. Other
> Windows clients are able to connect to the internet through this gateway.
> Only the Linux box is not. Can any one out there help me to make this
> Linux box connect to the internet through the Windows 2000 server gateway?
> (P.S: all systems are connected to a HUB)

> Thanks


 
 
 

Setting up shared Internet connection with a Linux client with a Windows 2000 server (gateway)

Post by Doug Holt » Sat, 04 Aug 2001 11:02:02


Dave;

Go into linuxconf and find your network card properties; look in these
settings for a Gateway.  Put the IP address of the W2K server in the Gateway
space.  Make sure your IP scheme is the same as the W2K and that you have
"rights" to this server.

Doug

Quote:> Hi, i am trying to make my Linux box connect to the  internet . In my LAN,
I
> have a Windows 2000 Server acting as the gateway to the internet. Other
> Windows clients are able to connect to the internet through this gateway.
> Only the Linux box is not. Can any one out there help me to make this
Linux
> box connect to the internet through the Windows 2000 server gateway? (P.S:
> all systems are connected to a HUB)

> Thanks

 
 
 

Setting up shared Internet connection with a Linux client with a Windows 2000 server (gateway)

Post by Dean Thompso » Sat, 04 Aug 2001 13:21:07


Hi!,

Quote:> Hi, i am trying to make my Linux box connect to the  internet . In my LAN,
> I have a Windows 2000 Server acting as the gateway to the internet. Other
> Windows clients are able to connect to the internet through this gateway.
> Only the Linux box is not. Can any one out there help me to make this Linux
> box connect to the internet through the Windows 2000 server gateway? (P.S:
> all systems are connected to a HUB)

You should only need to get your Linux machine to have its default gateway
point to the Win2000 machine as well as setting a DNS IP address (a valid DNS
IP address) in the /etc/resolv.conf file of Linux.

I presume you are using the ICS with Win2000 to do the IP
forwarding/masquerading.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

1. Windows 2000 clients can't obtain gateway from Linux server

Hi,

I have a Red Hat 6.2 server, with Windows clients.  The problem I am
having is that my Windows 2000 clients can't obtain the default
gateway from the server, as it is expecting to use DHCP to get this
information.  (MS have kindly decided to take out the option to enter
in your gateway for Dial-up connections).

My Windows 95/98 (and of course Linux) clients have manually entered
in IP addresses and gateway, and successfully connect.

My Windows 2000 clients can connect but the gateway is incorrect.
Here is a copy of my ppp files:

/etc/ppp/options
lock
nolog
debug

/etc/ppp/options.ttyS0
auth
-chap
+pap
login
proxyarp
111.222.333.11:111.222.333.12

When the Windows 2000 client connects, the IP address becomes
111.222.333.11, however, then it accepts the 111.222.333.12 as the
gateway.  And hence it won't work, because this is not the gateway!

My W2K clients are set up to obtain IP from server.

2. 10baseT or 100baseT hub?

3. Internet Connection Sharing With Redhat 9 and Windows 2000

4. XF86333 upgrade problem

5. share Internet in Linux to Windows 2000

6. insmod: ipv6.o: insmod net-pf-10 failed

7. Linux-Windows 2000 internet sharing??

8. Good books specifically on solaris 9?

9. share Internet in Linux to Windows 2000

10. Linux using Win 2000 Server as internet gateway

11. Shared Internet Connection with Windows Gateway

12. Sharing my Internet connection with windows clients.

13. Sharing an internet connection to several windows clients