Networking Forums

Networking Forums > Computer Networking > Windows Networking > two NIC, how to configure the wanted route

Reply
Thread Tools Display Modes

two NIC, how to configure the wanted route

 
 
STDFrank
Guest
Posts: n/a

 
      12-23-2004, 08:37 AM
Hi,

I have 2 network cards on the PC configured as below, one is connect to ADSL
internet using dhcp, the other is to corporate network which also has access
to the Internet through proxy server. The problem is that I can only use one
NIC at any one time, I need to disable one to use another.

Now I want to configure the route intelligent enought as that all Internet
traffice go through the ADSL line instead of going through corporate
network, and all other traffic goes to the corporate network.

Thanks
Frank

Windows 2000 IP Configuration
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : sg.hsbc
Ethernet adapter ADSL:
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.0.0.147
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.2
DHCP Server . . . . . . . . . . . : 10.0.0.2
DNS Servers . . . . . . . . . . . : 10.0.0.2
Lease Obtained. . . . . . . . . . : December 23, 2004 3:06:41 PM
Lease Expires . . . . . . . . . . : December 24, 2004 3:06:41 PM

Ethernet adapter Local Area Connection:
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 136.121.7.29
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 136.121.7.200
DNS Servers . . . . . . . . . . . : 136.121.18.20
136.121.24.20
Primary WINS Server . . . . . . . : 136.121.18.9
Secondary WINS Server . . . . . . : 136.121.24.5



Here is the route print:
T:\>route print
================================================== =========================
Interface List
0x1 ........................... MS TCP Loopback interface
0x1000005 ...00 06 5b 7d 3f 28 ...... 3Com EtherLink PCI
0x1000006 ...00 10 5a 82 a4 74 ...... 3Com EtherLink PCI
================================================== =========================
================================================== =========================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.0.0.2 10.0.0.147 1
0.0.0.0 0.0.0.0 136.121.7.200 136.121.7.29 1
10.0.0.0 255.255.255.0 10.0.0.147 10.0.0.147 1
10.0.0.147 255.255.255.255 127.0.0.1 127.0.0.1 1
10.255.255.255 255.255.255.255 10.0.0.147 10.0.0.147 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
136.121.7.0 255.255.255.0 136.121.7.29 136.121.7.29 1
136.121.7.29 255.255.255.255 127.0.0.1 127.0.0.1 1
136.121.255.255 255.255.255.255 136.121.7.29 136.121.7.29 1
224.0.0.0 224.0.0.0 10.0.0.147 10.0.0.147 1
224.0.0.0 224.0.0.0 136.121.7.29 136.121.7.29 1
255.255.255.255 255.255.255.255 136.121.7.29 136.121.7.29 1
Default Gateway: 136.121.7.200
================================================== =========================
Persistent Routes:
None


 
Reply With Quote
 
 
 
 
Robert L [MS-MVP]
Guest
Posts: n/a

 
      12-23-2004, 03:09 PM
We just had the same case last month. quoted from http://www.ChicagoTech.net
One router goes to the corporation email server and another one goes to the
Internet

Symptoms: you have one router connecting to the corporation for email and
the Internet access. However, the corporation Proxy server filters web
sites and watches you access. Then, you add another router for the Internet
access and want to use the corporation router for the email only, but the
traffic always go to the corporation router.

Resolution: You need to modify the routing table. Make all traffic go to the
Internet and point the email server to the corporation ip range.

For consultants, refer to the case 110104TC.


--
For more and other information, go to http://www.ChicagoTech.net

Don't send e-mail or reply to me except you need consulting services.
Posting on MS newsgroup will benefit all readers and you may get more help.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN, Anti-Virus, Tips & Troubleshooting on
http://www.ChicagoTech.net
Networking Solutions, http://www.chicagotech.net/networksolutions.htm
VPN Solutions, http://www.chicagotech.net/vpnsolutions.htm
VPN Process and Error Analysis, http://www.chicagotech.net/VPN%20process.htm
VPN Troubleshooting, http://www.chicagotech.net/vpn.htm
This posting is provided "AS IS" with no warranties.
"STDFrank" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I have 2 network cards on the PC configured as below, one is connect to
> ADSL
> internet using dhcp, the other is to corporate network which also has
> access
> to the Internet through proxy server. The problem is that I can only use
> one
> NIC at any one time, I need to disable one to use another.
>
> Now I want to configure the route intelligent enought as that all Internet
> traffice go through the ADSL line instead of going through corporate
> network, and all other traffic goes to the corporate network.
>
> Thanks
> Frank
>
> Windows 2000 IP Configuration
> Node Type . . . . . . . . . . . . : Hybrid
> IP Routing Enabled. . . . . . . . : No
> WINS Proxy Enabled. . . . . . . . : No
> DNS Suffix Search List. . . . . . : sg.hsbc
> Ethernet adapter ADSL:
> Autoconfiguration Enabled . . . . : Yes
> IP Address. . . . . . . . . . . . : 10.0.0.147
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . : 10.0.0.2
> DHCP Server . . . . . . . . . . . : 10.0.0.2
> DNS Servers . . . . . . . . . . . : 10.0.0.2
> Lease Obtained. . . . . . . . . . : December 23, 2004 3:06:41 PM
> Lease Expires . . . . . . . . . . : December 24, 2004 3:06:41 PM
>
> Ethernet adapter Local Area Connection:
> DHCP Enabled. . . . . . . . . . . : No
> IP Address. . . . . . . . . . . . : 136.121.7.29
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . : 136.121.7.200
> DNS Servers . . . . . . . . . . . : 136.121.18.20
> 136.121.24.20
> Primary WINS Server . . . . . . . : 136.121.18.9
> Secondary WINS Server . . . . . . : 136.121.24.5
>
>
>
> Here is the route print:
> T:\>route print
> ================================================== =========================
> Interface List
> 0x1 ........................... MS TCP Loopback interface
> 0x1000005 ...00 06 5b 7d 3f 28 ...... 3Com EtherLink PCI
> 0x1000006 ...00 10 5a 82 a4 74 ...... 3Com EtherLink PCI
> ================================================== =========================
> ================================================== =========================
> Active Routes:
> Network Destination Netmask Gateway Interface
> Metric
> 0.0.0.0 0.0.0.0 10.0.0.2 10.0.0.147 1
> 0.0.0.0 0.0.0.0 136.121.7.200 136.121.7.29 1
> 10.0.0.0 255.255.255.0 10.0.0.147 10.0.0.147 1
> 10.0.0.147 255.255.255.255 127.0.0.1 127.0.0.1 1
> 10.255.255.255 255.255.255.255 10.0.0.147 10.0.0.147 1
> 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
> 136.121.7.0 255.255.255.0 136.121.7.29 136.121.7.29 1
> 136.121.7.29 255.255.255.255 127.0.0.1 127.0.0.1 1
> 136.121.255.255 255.255.255.255 136.121.7.29 136.121.7.29 1
> 224.0.0.0 224.0.0.0 10.0.0.147 10.0.0.147 1
> 224.0.0.0 224.0.0.0 136.121.7.29 136.121.7.29 1
> 255.255.255.255 255.255.255.255 136.121.7.29 136.121.7.29 1
> Default Gateway: 136.121.7.200
> ================================================== =========================
> Persistent Routes:
> None
>
>



 
Reply With Quote
 
Doug Sherman [MVP]
Guest
Posts: n/a

 
      12-23-2004, 03:21 PM
Try:

1. In My Network Places/Properties/Advanced/Advanced Settings - make sure
the LAN NIC is at the top of the binding order.

2. Remove the default gateway setting (136.121.7.200) from the LAN NIC.

3. Open Internet Explorer/Tools/Internet Options/Connections tab/LAN
Settings - and clear any Proxy Server settings.


Doug Sherman
MCSE Win2k/NT4.0, MCSA, MCP+I, MVP

"STDFrank" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I have 2 network cards on the PC configured as below, one is connect to

ADSL
> internet using dhcp, the other is to corporate network which also has

access
> to the Internet through proxy server. The problem is that I can only use

one
> NIC at any one time, I need to disable one to use another.
>
> Now I want to configure the route intelligent enought as that all Internet
> traffice go through the ADSL line instead of going through corporate
> network, and all other traffic goes to the corporate network.
>
> Thanks
> Frank
>
> Windows 2000 IP Configuration
> Node Type . . . . . . . . . . . . : Hybrid
> IP Routing Enabled. . . . . . . . : No
> WINS Proxy Enabled. . . . . . . . : No
> DNS Suffix Search List. . . . . . : sg.hsbc
> Ethernet adapter ADSL:
> Autoconfiguration Enabled . . . . : Yes
> IP Address. . . . . . . . . . . . : 10.0.0.147
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . : 10.0.0.2
> DHCP Server . . . . . . . . . . . : 10.0.0.2
> DNS Servers . . . . . . . . . . . : 10.0.0.2
> Lease Obtained. . . . . . . . . . : December 23, 2004 3:06:41 PM
> Lease Expires . . . . . . . . . . : December 24, 2004 3:06:41 PM
>
> Ethernet adapter Local Area Connection:
> DHCP Enabled. . . . . . . . . . . : No
> IP Address. . . . . . . . . . . . : 136.121.7.29
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . : 136.121.7.200
> DNS Servers . . . . . . . . . . . : 136.121.18.20
> 136.121.24.20
> Primary WINS Server . . . . . . . : 136.121.18.9
> Secondary WINS Server . . . . . . : 136.121.24.5
>
>
>
> Here is the route print:
> T:\>route print
>

================================================== =========================
> Interface List
> 0x1 ........................... MS TCP Loopback interface
> 0x1000005 ...00 06 5b 7d 3f 28 ...... 3Com EtherLink PCI
> 0x1000006 ...00 10 5a 82 a4 74 ...... 3Com EtherLink PCI
>

================================================== =========================
>

================================================== =========================
> Active Routes:
> Network Destination Netmask Gateway Interface

Metric
> 0.0.0.0 0.0.0.0 10.0.0.2 10.0.0.147

1
> 0.0.0.0 0.0.0.0 136.121.7.200 136.121.7.29

1
> 10.0.0.0 255.255.255.0 10.0.0.147 10.0.0.147

1
> 10.0.0.147 255.255.255.255 127.0.0.1 127.0.0.1

1
> 10.255.255.255 255.255.255.255 10.0.0.147 10.0.0.147

1
> 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1

1
> 136.121.7.0 255.255.255.0 136.121.7.29 136.121.7.29

1
> 136.121.7.29 255.255.255.255 127.0.0.1 127.0.0.1

1
> 136.121.255.255 255.255.255.255 136.121.7.29 136.121.7.29

1
> 224.0.0.0 224.0.0.0 10.0.0.147 10.0.0.147

1
> 224.0.0.0 224.0.0.0 136.121.7.29 136.121.7.29

1
> 255.255.255.255 255.255.255.255 136.121.7.29 136.121.7.29

1
> Default Gateway: 136.121.7.200
>

================================================== =========================
> Persistent Routes:
> None
>
>



 
Reply With Quote
 
Steve Riley [MSFT]
Guest
Posts: n/a

 
      12-23-2004, 06:16 PM
Is this computer a client machine or the gateway between clients and the
Internet?

If it's a client, then what you're asking for is an extremely insecure configuration.
You will be simultaneously connected to both your corporate network and the
Internet and could become a router between the two if compromised by an attacker.

Steve Riley
(E-Mail Removed)



> Hi,
>
> I have 2 network cards on the PC configured as below, one is connect
> to ADSL internet using dhcp, the other is to corporate network which
> also has access to the Internet through proxy server. The problem is
> that I can only use one NIC at any one time, I need to disable one to
> use another.
>
> Now I want to configure the route intelligent enought as that all
> Internet traffice go through the ADSL line instead of going through
> corporate network, and all other traffic goes to the corporate
> network.
>
> Thanks
> Frank
> Windows 2000 IP Configuration
> Node Type . . . . . . . . . . . . : Hybrid
> IP Routing Enabled. . . . . . . . : No
> WINS Proxy Enabled. . . . . . . . : No
> DNS Suffix Search List. . . . . . : sg.hsbc
> Ethernet adapter ADSL:
> Autoconfiguration Enabled . . . . : Yes
> IP Address. . . . . . . . . . . . : 10.0.0.147
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . : 10.0.0.2
> DHCP Server . . . . . . . . . . . : 10.0.0.2
> DNS Servers . . . . . . . . . . . : 10.0.0.2
> Lease Obtained. . . . . . . . . . : December 23, 2004 3:06:41
> PM
> Lease Expires . . . . . . . . . . : December 24, 2004 3:06:41
> PM
> Ethernet adapter Local Area Connection:
> DHCP Enabled. . . . . . . . . . . : No
> IP Address. . . . . . . . . . . . : 136.121.7.29
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . : 136.121.7.200
> DNS Servers . . . . . . . . . . . : 136.121.18.20
> 136.121.24.20
> Primary WINS Server . . . . . . . : 136.121.18.9
> Secondary WINS Server . . . . . . : 136.121.24.5
> Here is the route print:
> T:\>route print
> ================================================== ====================
> =====
> Interface List
> 0x1 ........................... MS TCP Loopback interface
> 0x1000005 ...00 06 5b 7d 3f 28 ...... 3Com EtherLink PCI
> 0x1000006 ...00 10 5a 82 a4 74 ...... 3Com EtherLink PCI
> ================================================== ====================
> =====
> ================================================== ====================
> =====
> Active Routes:
> Network Destination Netmask Gateway Interface
> Metric
> 0.0.0.0 0.0.0.0 10.0.0.2 10.0.0.147
> 1
> 0.0.0.0 0.0.0.0 136.121.7.200 136.121.7.29
> 1
> 10.0.0.0 255.255.255.0 10.0.0.147 10.0.0.147
> 1
> 10.0.0.147 255.255.255.255 127.0.0.1 127.0.0.1
> 1
> 10.255.255.255 255.255.255.255 10.0.0.147 10.0.0.147
> 1
> 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
> 1
> 136.121.7.0 255.255.255.0 136.121.7.29 136.121.7.29
> 1
> 136.121.7.29 255.255.255.255 127.0.0.1 127.0.0.1
> 1
> 136.121.255.255 255.255.255.255 136.121.7.29 136.121.7.29
> 1
> 224.0.0.0 224.0.0.0 10.0.0.147 10.0.0.147
> 1
> 224.0.0.0 224.0.0.0 136.121.7.29 136.121.7.29
> 1
> 255.255.255.255 255.255.255.255 136.121.7.29 136.121.7.29
> 1
> Default Gateway: 136.121.7.200
> ================================================== ====================
> =====
> Persistent Routes:
> None



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Wanted - 'aegise2.dll' Mike M Windows Networking 1 06-05-2009 01:39 PM
VPN client adds wrong route to local route table snowdog_2112 Windows Networking 7 11-01-2005 02:05 PM
connection not wanted? Frank Wireless Networks 8 07-11-2005 10:00 PM
Wanted DSL-504 Alt Beer Broadband 2 07-10-2005 07:44 AM
route and static route to a gateway Sting Linux Networking 2 02-21-2004 03:35 AM



1 2 3 4 5 6 7 8 9 10 11