LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-17-2003, 05:44 PM   #1
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Rep: Reputation: 30
Win2K ICS host and Linux client


Enabling ICS on the NIC connected to the
internet on a Win2K host always brings up
a warning that the card will be assigned the
address 192.168.0.1. If I have a LAN connected
to the host through a second NIC which has
been assigned the static IP gateway address
of 192.168.0.1, will this interfere with the proper
functioning of ICS?

Would I have to set the LAN connected NIC IP
address to say 192.168.0.2 to avoid this interference?

What if the internet connected NIC is assigned its
IP address through a DHCP server? How can a card
be assigned two separate addresses. Is this like
IP-Alias in Linux?

TIA
 
Old 03-17-2003, 07:26 PM   #2
@lex
LQ Newbie
 
Registered: Feb 2003
Posts: 15

Rep: Reputation: 0
A card can only be assigned one address. If you get an IP address assigned through DHCP that is connected to the Internet that ends up being 192.168.0.1, there's something whrong somewhere. 192.168.x.x is a hobbyist address, and no router in the universe will believe that those packets are destined for the Internet.

Make sure your Win2k is set up right. I'd say if you're still in the setup stage of this server, install Linux and see if you can set up both NICs, so that one speaks to the Internet and one to your internal network. If you can get that to happen, the problem lies within Win2k. I have a NIC that won't work in Win98, but I'm running it and another NIC under Linux as a gateway to my LAN.
 
Old 03-18-2003, 03:39 AM   #3
dem_slh
LQ Newbie
 
Registered: Mar 2003
Location: Derby, UK
Distribution: Debian
Posts: 1

Rep: Reputation: 0
Okay, this is how ICS on Win2k works:

You enable sharing on the card connected to the internet, and this then sets your OTHER card to 192.168.0.1

It starts a DHCP server on your 2K box, and you have to set everything on the LAN to pick up a dynamic IP address. then all should be right with the world. except its not, cos your using M$ (i did exactly this for about 3 months cos i was too lazy to set up a linux firewall)

i assume that you are using a cable modem or other broadband connection? if you are, then i suggest getting some sort of firewall installed on your windows machine. eg zonealarm.

hope this helps

Slh
 
Old 03-18-2003, 12:58 PM   #4
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Original Poster
Rep: Reputation: 30
Yes I finally figured out that I would have to remove
the static IP settings from the card that interfaces
the LAN and enable it with DHCP so that ICS could
assign it the adress of 192.168.0.1.

Fortunately I did not have to set the Linux NIC to
DHCP to accept an assigned address from ICS.
I could leave the static assignment as is.

It works fine now.

It is terribly unclear that the LAN card on the host
machine is the one to set up for ICS DHCP.

BTW, Samba still works just fine and ZoneAlarm
doesn't seem to be a problem either.

It is Sooooo much easier to use a Linux server with
netfilter and SNAT/Masquerade. Maybe I should switch
things around and use the Linux box as the server.
Well, a guy's gotta experiment.


Thanks for the help.
 
  


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
Windows XP as ICS host & Linux as client connection problem ! hemanfan Linux - Networking 3 06-08-2005 04:29 PM
Home lan Mandrake (host) Win2k (client) help plz.. :( solopro Linux - Software 0 02-08-2005 10:38 AM
running slackware as a client through a WinXP ICS host. FLOODS Linux - Networking 119 08-17-2004 05:11 PM
ICS linux host with w98se clients. Mr Marmmalade Linux - Networking 7 04-25-2004 10:23 PM
Linux client with Win2K ICS nkaza Linux - Networking 2 09-29-2002 09:00 PM

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

All times are GMT -5. The time now is 10:58 AM.

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