LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-18-2004, 12:58 PM   #1
pgb204
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Rep: Reputation: 0
Linux behind W2K with ICS


have 2 boxes. Win2K connected to the cable modem. Linux RH9 connected to win2K. Win2K has ICS enabled on the external NIC. With RH9 I went to 'Network configuration' and tried changing options such as settign IP to 192.168.0.1 adn DNS servers to what ipconfig gave me udner windows etc. But no matter what combinations I try it doesn't work. I'de disabled ZA but still no cigar. I'm jsut looking for someone to give me exact isntructions on what settings to change on my win2K and linux boxes so that i can connect my Linux box to the internet.

tia./
 
Old 01-18-2004, 01:08 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

Make sure you set the gateway to the IP address of the windows system.
 
Old 01-18-2004, 01:14 PM   #3
pgb204
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
the internal LAN address=192.168.0.1
OR do i set it to:
the ip address provided by ISP--the external IP?

thanx for replying
 
Old 01-18-2004, 01:16 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
The internal LAN address.
 
Old 01-18-2004, 01:22 PM   #5
pgb204
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
did that. What values do i give other boxes: DNS, DHCP enables or not?
localhost value etc..
thanx
 
Old 01-18-2004, 01:27 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
DNS=Whatever your ISP uses
DHCP=Depends on your network - I would doubt you are using DHCP since you needed to specify a gateway.

By localhost I assume you mean hostname? Just leave it at localhost.
 
Old 01-18-2004, 03:46 PM   #7
pgb204
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
my dhcp is provided by my ISP so i have dynamic configuration on my windows box's external NIC.

So. The only thing I've done on my windows box is to enable ICS on my exernal NIC. So my settings on my internal NIC now look like:

IP Address: 192.168.0.1
SubNet Mask: 255.255.255.0
Gateway: [Empty] <- Do I need to enter something here manually.

On my linux box I did the following:

Network Configuration=>Devices Tab=>Select 'Eth0'=>
Statically Setup Ip Address: 192.168.0.2
SubNet Mask : 255.255.255.0
Default Gateway Address: 192.168.0.1

Network Configuration=>DNS Tab=>
HostName: LocalHost.LocalDomain
Primary DNS: 234.234.2.234
Secondary DNS: 234.234.2.235
Tertiary DNS: 234.234.2.236
DNS Search Path: localdomain

DNS servers ip addresses above i got by doing 'ipconfig -all' in windows.

Again, Zone Alarm is not running.
I can ping the windows machine from linux box without problems but still can't use browser.

Thanks a bunch for helping me out.
pgb204
 
Old 01-18-2004, 03:50 PM   #8
pgb204
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Also tried pinging the Gateway on my external NIC and the DNS servers given on 'ipconfig-all' without any response.
 
Old 01-18-2004, 05:08 PM   #9
kalikoder
LQ Newbie
 
Registered: Jul 2003
Posts: 10

Rep: Reputation: 0
This might sound a bit weird, and probably you already know this. But, how are you connecting your linux box to the w2k box ? Is it via a hub in between ? or are you connecting via a cable to the internal card in w2k box ? If so, what kind of cable is it ? Is it a straight through or a cross over cable ?

Also, ICS provides the ability to provide DHCP with the settings needed. On your linux box, set it to get the ip via DHCP and it should get all the right settings. If you get a failure, that means linux box is not talking to the W2K box. Give that a try, and then try going to the internet from the linux box, and when you do get the ip, ping the gateway that you see when you do ipconfig /all

Kali
 
Old 01-18-2004, 05:14 PM   #10
pgb204
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
what kind of cable do i need and how do i know which kind i haev. Yes I did connect 2 computers directly no hub or switch.
 
Old 01-18-2004, 05:25 PM   #11
kalikoder
LQ Newbie
 
Registered: Jul 2003
Posts: 10

Rep: Reputation: 0
Usually you need whats called a "crossover" cable to connect the two NICs in the two computer, a crossover cable looks exactly the same like a CAT5 straight through cable but its ends are reversed.

When you look at both ends of the crossover cable placing them side by side, the colored wires inside the end should be exactly opposite in order, if they are the same sequence, then you have a straight through cable not a crossover cable.

Here is a url that shows you how the crossover cable look like at its ends

http://www.information-integrity.net/2mr/crossover.htm
 
Old 01-19-2004, 12:54 PM   #12
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
If you can ping between the 2 then it is probably ok.

It may be a DNS issue - do you get a reply from either of:
ping www.linuxquestions.org
ping 64.179.4.146
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ICS with linux help biojayc Linux - Networking 1 06-25-2005 03:42 AM
SAMBA bet RH 9 & W2K with Netgear Router - can't see W2K share cevjr Linux - Software 0 07-30-2003 11:44 AM
W2K ICS Sharing to Linux wakeupbomb Linux - Networking 1 07-23-2003 08:28 PM
XP ICS and Linux Sakayume Linux - Networking 1 09-23-2002 05:00 PM
ICS - XP box has ICS enabled, Linux box to connect, how? Thymox Linux - Networking 16 12-11-2001 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration