Click to See Complete Forum and Search --> : Adding Linux to a Win2000 Network
jkjkk
04-22-2001, 09:30 PM
I have 3 windows computers networked. One has windows 2000 and is the one that connects to the internet so that the other two can share the internet connection. Now I have another computer that I installed Redhat 7 on and want to get it on the network and share the connection to the internet thru the win2000 computer. I have searched on how to do this but can't find anything. I read the LNO that is simular to what I want to do but it didn't work. If anyone can point me in the right direction I would be very thankful. I should also add that I am a linux dummy so be nice and don't confuse me. :D
Thanks,
Pam
Talyon
04-25-2001, 10:59 PM
I am having the almost the same problem. I have a Windows 2K Server acting as an Internet Gateway with 3 Networked Win ME Pc's. I am dual booting one of them to Mandrake Linux 8.0. All the IP stuff appears to be correct as I can ping the server and other computers, but nothing on the internet. I can't seem to find a way to login to the 2K Domain or access its shares either. :confused:
If anyone can help us, it would be apreciated.
Thanks
OldandDeaf
04-26-2001, 12:35 PM
Woops! Posted as New Message, Sorry about that. Here is the original Reply.
I too have the same problem with a Win2k server as Internet Gateway and the Linux (Mandrake 8.0) box will see the gateway if I enter a static IP address, not DHCP, but it still cannot connect through the gateway to the internet.
Any Ideas?
skweegie
04-26-2001, 12:52 PM
hiyas,
defining your gateway is only half the battle.
as is typical, you have a number of options:
1) flip your infrastructure to what most people do in this scenario by using your linux box as your gateway/NAT box and configure your Win clients to use the linux box as its door to the net.
2) if you stick with your present setup, you can sub-option here also
a) in your linux box, add an entry for your ISP's DNS address to the file -> /etc/resolv.conf
OR
b) config your linux box as a DHCP client and setup up W2K DHCP server to forward IP, Mask, gateway, DNS (or DDNS if you're using Active Directory) etc... to your linux box. (there are a few quirks on the setup for support of downlevel clients if you choose this route but it's still pretty simple)
as for Talyon's ? on logging in to a W2K domain, you must either:
1) set up a computer account (and a few other things) locally in a backward PDC situation
OR
2) if you are using Active Directory, set up a computer account through AD Users and Computers and make DANG sure you click the option for
"Allow pre-windows 2000 computers to use this computer"
Note: to set up samba in a W2k Domain (either AD or PDC), the above is a pre-requisite to even getting samba to even work in this scenario...
hope this helps and i'll check on this thread when i get in l8r tonight...
cheers
[ 26 April 2001: Message edited by: skweegie ]
compunuts
04-27-2001, 04:19 AM
I have exactly set up as the way you guys are wanted.
My Win2K box is my gateway.
The box has two NICs. The eth0 is pointed to my IP that is given by my ISP. The Local area connection has ICS option checked.
My eth1 NIC in Win2K box has the default IP of 192.168.0.1 as it's default of Win2K networking.
My other box (Wife's) run Win 98. The IP is 192.168.0.2, Netmask is 255.255.255.0, Gateway is 192.168.0.1, Primary DNS is given by my ISP and secondary is also given by my ISP.
My workstation is RH 6.2. It has the IP of 192.168.0.3, Netmask of 255.255.255.0, Gateway of 192.168.0.1, nameservers of the two mentioned above. It worked great for me.
What you guys need is name servers addresses. Depending on your distro, I used my RH box "linuxconf" program, it can greatly vary. For example, in Debian, the host IP is in "/etc/network/interfaces" and name server is defined in "etc/resolv.conf".
HTH