hi guys, just want an insight from you guys..recently i just installed two network card in a workstation..one dhcp and one static ip..all seems to work fine..

but how to check whether the internet connection is using DHCP or using the Static connection.. is there a way to check?
or how does the thing work, will it double the speed or what? any ideas is greatly appreciated..thanks..

Dani AI

Generated

Short answer: the OS uses the routing table (default route + metrics) to pick which NIC sends Internet traffic; simply having two interfaces does not automatically double a single connection's bandwidth.

As and noted, inspecting interface settings is the first step. To know which interface actually carries egress traffic, examine the system routing table and the default route. On Windows the routing table and route priorities determine the egress adapter; on Linux use the iproute tools and policy routing to control selection. For a practical check without unplugging hardware, ask the stack which route it would use for an external address (see examples below).

Example diagnostics (do not use ipconfig /all since it was already mentioned in replies):

Windows:   route print
Linux:     ip route show
Linux:     ip route get 8.8.8.8

Why two NICs won't "double" speed: a single TCP flow uses one path and one interface. Aggregation requires explicit solutions: NIC teaming / link aggregation (LACP) at the switch and OS/driver support, or multipath-layer solutions that split flows (e.g., Multipath TCP). On Linux use kernel bonding or policy-based routing for multi-paths; on Windows use NIC Teaming on supported Server editions. See the Linux bonding docs and Windows NIC Teaming overview for configuration caveats and switch requirements:

Practical cautions: avoid two active default gateways on the same subnet (causes asymmetric routing), ensure gateway/metric settings match intended traffic flows, and remember stateful firewalls/NAT can fail if replies go out a different NIC than requests came in. For a workstation, prefer one default gateway and use bonding or proper routing when aggregation or multihoming is required.

Recommended Answers

All 6 Replies

What OS is your computer with two nics running? In Windows I don't believe you can take advantage of it. I have seen Linux setups that can. If you are running a *nix I will run down the links.

go to my network place's properties and there you see the local area connection and right click and go to status then click support there you see assigned by DHCP or ststic .

Just disconnect one the nics, if the connection to the internet fails you know what nic was connected to the internet.
But why use two nics for the internet? How much Mbps is your connection to the internet?

What OS is your computer with two nics running? In Windows I don't believe you can take advantage of it. I have seen Linux setups that can. If you are running a *nix I will run down the links.

linux 9.0 can pass the links..

Its very simple,
Run a command in command prompt called
ipconfig /all
It will give complete details.

basically you need two lan cards where u r using the proxy server. one for external network and one for internal network.. I also use this setup with linux with external network with static IP and on internal NIC card I am running the DHCP..

and to check which card is using which configuration

use the ipconfig/all

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.