Re: Two Network cards
- From: Tomás Ó hÉilidhe <toe@xxxxxxxxxxx>
- Date: Sun, 23 Mar 2008 11:52:13 -0700 (PDT)
On Mar 22, 11:45 am, Geoff Lane <datemasde....@xxxxxxxxxxxxx> wrote:
If one has two network cards connected to a computer (eg one ethernet
and one wifi) and both are connected to the internet is there a priority
for outgoing traffic or can this cause problems.
When you want to send an IP packet, your machine will check its
routing table to see how it should send it. If your routing tables
contains multiple entries for on route (e.g. multiple entries for
0.0.0.0), then it checks the "metric" associated with each route to
decide which one it will take.
You can have as many NIC's as you want without there being any
confusion, so long as your routing table is set right.
In windows, open up a console and type "route print". Under
"Destination" check for "0.0.0.0"; this is a route to the internet. If
there's more than one entry for 0.0.0.0, then the check the metric.
The lower metric wins.
I dunno if modern OS's allow you to give two routes the same metric,
but if so then it probably choose the route simply by putting the
gateway addresses in numerical order... or something like that.
.
- Follow-Ups:
- Re: Two Network cards
- From: Geoff Lane
- Re: Two Network cards
- Prev by Date: IPV6 Networking, best practices?
- Next by Date: Re: ifconfig equivalent for Windows?
- Previous by thread: IPV6 Networking, best practices?
- Next by thread: Re: Two Network cards
- Index(es):
Relevant Pages
|