Link to home
Start Free TrialLog in
Avatar of jhattingh
jhattingh

asked on

W2K Networking question

I have 2 network cards (NICs):

NIC1: Cable modem plugged into this one (DHCP allocated address)

NIC2: Plugged into hub (Static IP address: 192.168.0.1)


My problem is this: Internet explorer defaults to using NIC2 and therefore is not connecting to the internet. If I DISABLE NIC2, IE works ok, and then I can enable NIC2 again.

What do I do to remedy this situation?




Windows 2000 IP Configuration

        Host Name . . . . . . . . . . . . : gateway500
        Primary DNS Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Hybrid
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Cable Modem:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : 3Com EtherLink XL PCI TPC NIC (3C900
B-TPC)
        Physical Address. . . . . . . . . : 00-10-5A-3C-21-53
        DHCP Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 62.31.227.115
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 62.31.227.1
        DHCP Server . . . . . . . . . . . : 195.188.52.62
        DNS Servers . . . . . . . . . . . : 195.188.52.62
                                            195.188.52.61
        Lease Obtained. . . . . . . . . . : 13 September 2001 12:08:22
        Lease Expires . . . . . . . . . . : 14 September 2001 12:08:22




Thanks for your help...
Avatar of stevenlewis
stevenlewis

In IE go to tools, internet options, connections, lan settings, and check auto detect settings. Do you have ICS running on this box? if so go to tools, internet options, connections, shring and make sure the correct adapters are chosen to connect to the internet and the LAN
Avatar of SysExpert
In addition, IF ICS is running, you may need to clean out the DNS IP of the internal NIC.

Routing should then take place properly.

I hope this helps !

Avatar of jhattingh

ASKER

What is ICS ?
inernet connection sharing
Yeah I can type LOL
ICS = internet connection sharing
Thanks ;)

I haven't got ICS enabled, but I *am* using WinGate to do the same job...
The thing is, it all works fine (including Wingate's ICS mechanism), just gets off to a bad *start*... :(
try unistalling/disableing wingate, and use ICS (it's built in to w2k)
I have tried it before, and found it difficult to set up.

Would my 2nd card become redundant if I used Win2K ICS?
NO, the one card connected to the cable modem should have it's ip info set to auto
the one connected to the LAN should be set to
ip 192.168.0.1
mask 255.255.255.0
gateway blank and disable dns and wins
the client NIC (the other machine(s))
ip 192.168.0.(2-254)
maks 255.255.255.0
gateway 192.168.0.1
enable dns and use 192.168.0.1
disable wins
on the host (the one connected to the cable modem)
go to Inernet explorer, tools, internet options, connections, sharing and s
make sure the correct NIC's are chosen as connect to internet and connect to LAN
Thanks for all the input, Steven,

One question before I start attempting that: I don't see sharing anywhere in the IE options - does this only appear when ICS is enabled?
Yes it does, you have to enable ICS before the button shows
see here
http://www.microsoft.com/windows2000/en/server/help/howto_share_conn.htm
Have you tried chaning the binding order for the NICS ?
-Click on Advanced-> advanced settings in properties of network places & reverse the binding order.
Please could you open a DOS window and type ROUTE PRINT. This will print out your routing table. It sounds like that your machine is pushing all traffic to NIC 2 so it needs to be told that all traffic for Internet addresses should go to NIC 1.

You can change this using the ROUTE ADD command. If you post the results of the ROUTE PRINT then we can work out the correct routing you need for Internet access.
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x1000003 ...00 04 5a 49 ef f4 ...... Linksys LNE100TX Fast Ethernet Adapter(LNE
100TX v4) NDIS5 Driver
0x1000004 ...00 10 5a 3c 21 53 ...... 3Com EtherLink PCI
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      62.31.227.1   62.31.227.115       1
          0.0.0.0          0.0.0.0      192.168.0.1     192.168.0.1       1
      62.31.227.0    255.255.255.0    62.31.227.115   62.31.227.115       1
    62.31.227.115  255.255.255.255        127.0.0.1       127.0.0.1       1
   62.255.255.255  255.255.255.255    62.31.227.115   62.31.227.115       1
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.0.0    255.255.255.0      192.168.0.1     192.168.0.1       1
      192.168.0.1  255.255.255.255        127.0.0.1       127.0.0.1       1
    192.168.0.255  255.255.255.255      192.168.0.1     192.168.0.1       1
        224.0.0.0        224.0.0.0    62.31.227.115   62.31.227.115       1
        224.0.0.0        224.0.0.0      192.168.0.1     192.168.0.1       1
  255.255.255.255  255.255.255.255      192.168.0.1     192.168.0.1       1
Default Gateway:       192.168.0.1
===========================================================================
Persistent Routes:
  None



I hope it is legible... ;)
Try the following

route delete 0.0.0.0

then

route add 0.0.0.0 mask 0.0.0.0 62.31.227.1 62.31.227.115

then try and access the internet.
Thanks for the help:


I got:

D:\>route add 0.0.0.0 mask 0.0.0.0 62.31.227.1 62.31.227.115
route: bad argument 62.31.227.115
Could you explain what this means...? It would be great if I could understand it! I am not totally PC illiterate - being a C++ programmer, so don't be too daunted by the task!
The solution is simple: remove the default route from the LAN adapter (in the properties of the atapter). The default route specifies where "unknown" traffic is to be routed, and therefore it must only be routed to the internat but not your LAN (the LAN are all known addresses).
That makes sense - thanks for explaining it.

Could you tell me if this is how it should look?



===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      62.31.227.1   62.31.227.115       1
      62.31.227.0    255.255.255.0    62.31.227.115   62.31.227.115       1
    62.31.227.115  255.255.255.255        127.0.0.1       127.0.0.1       1
   62.255.255.255  255.255.255.255    62.31.227.115   62.31.227.115       1
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
        224.0.0.0        224.0.0.0    62.31.227.115   62.31.227.115       1
  255.255.255.255  255.255.255.255    62.31.227.115   62.31.227.115       1
Default Gateway:       62.31.227.1
===========================================================================
ASKER CERTIFIED SOLUTION
Avatar of AvonWyss
AvonWyss
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
jhattingh  :
FYI : I mentioed the DNS problem way at the beginning.

From: SysExpert
                                                            Date: 09/13/2001 08:59AM PST
               In addition, IF ICS is running, you may need to clean out the DNS IP of the internal NIC.

               Routing should then take place properly.

               I hope this helps !

 
SysExpert, it was not about DNS but about default routes?
That's what I said :

In addition, IF ICS is running, you may need to clean out the DNS IP of the internal  NIC.

<<<   Routing should then take place properly.  >>>>
;-)
I think what AvonWyss meant was that simply cleaning out the DNS IP wasn't the solution, even to the routing, since the solution has been to manually delete a route and then add a better one in it's place...

Maybe I'm misreading you folks.


I sure am grateful for all the time put into the question.

Thanks all, it's working great...