Networking Forums

Networking Forums > Computer Networking > Windows Networking > Specify Which NIC to Use

Reply
Thread Tools Display Modes

Specify Which NIC to Use

 
 
O.B.
Guest
Posts: n/a

 
      03-28-2008, 01:48 AM
I have two NIC's. One at 10.1.16.24 and one at 192.168.1.101. I'd
like to specify which NIC to use for sending data to 206.251.75.140.
Is that possible with the route command? If so, what is the syntax.
When I use the following, pings no longer work.

route add 206.251.75.140 mask 255.255.255.255 10.1.16.24
 
Reply With Quote
 
 
 
 
Robert L. \(MS-MVP\)
Guest
Posts: n/a

 
      03-28-2008, 12:40 PM
Posting the result of ipconfig /all and routing table may help.

--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com
"O.B." <(E-Mail Removed)> wrote in message
news:33c8c7eb-da5c-42cc-af90-(E-Mail Removed)...
>I have two NIC's. One at 10.1.16.24 and one at 192.168.1.101. I'd
> like to specify which NIC to use for sending data to 206.251.75.140.
> Is that possible with the route command? If so, what is the syntax.
> When I use the following, pings no longer work.
>
> route add 206.251.75.140 mask 255.255.255.255 10.1.16.24


 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      03-28-2008, 01:33 PM
"O.B." <(E-Mail Removed)> wrote in message
news:33c8c7eb-da5c-42cc-af90-(E-Mail Removed)...
>I have two NIC's. One at 10.1.16.24 and one at 192.168.1.101. I'd
> like to specify which NIC to use for sending data to 206.251.75.140.
> Is that possible with the route command? If so, what is the syntax.
> When I use the following, pings no longer work.
>
> route add 206.251.75.140 mask 255.255.255.255 10.1.16.24


What router is used to reach 206.251.75.140??? You can't build a route
without the router. Note, the IP# of the Router has to be the same subnet
as the Nic that uses it.

So:
route add -p 206.251.75.140 mask 255.255.255.255 10.1.16.???

You don't tell it the nic. It will already figure that out by the Router
IP# because the Nic must be in the same subnet that the Router is.

--
Phillip Windell
www.wandtv.com

The views expressed, are my own and not those of my employer, or Microsoft,
or anyone else associated with me, including my cats.
-----------------------------------------------------


 
Reply With Quote
 
O.B.
Guest
Posts: n/a

 
      03-28-2008, 02:27 PM
On Mar 28, 9:33 am, "Phillip Windell" <philwind...@hotmail.com> wrote:
> "O.B." <funkj...@bellsouth.net> wrote in message
>
> news:33c8c7eb-da5c-42cc-af90-(E-Mail Removed)...
>
> >I have two NIC's. One at 10.1.16.24 and one at 192.168.1.101. I'd
> > like to specify which NIC to use for sending data to 206.251.75.140.
> > Is that possible with the route command? If so, what is the syntax.
> > When I use the following, pings no longer work.

>
> > route add 206.251.75.140 mask 255.255.255.255 10.1.16.24

>
> What router is used to reach 206.251.75.140??? You can't build a route
> without the router. Note, the IP# of the Router has to be the same subnet
> as the Nic that uses it.
>
> So:
> route add -p 206.251.75.140 mask 255.255.255.255 10.1.16.???
>
> You don't tell it the nic. It will already figure that out by the Router
> IP# because the Nic must be in the same subnet that the Router is.


That works! Thank you.
 
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




1 2 3 4 5 6 7 8 9 10 11