I'm trying to set up my PCs so they use a crossover cable for file transfers and wifi for the internet. I found a guide saying
I understand what to do, but can't find the number of the interface.
I've typed 'route print' into the cmd and the output is
but I don't understand it.
Thanks in advance,
Mike
Quote:
The configuration way to do this is to add a static route on each PC to force traffic destined for the other to use the wired network. You'd need to use the "route" command of the following form:
route -p add 192.168.0.10 192.168.0.10 IF 1
Where:
-p makes the route "permanent" (otherwise, rebooting Windows clears it)
192.168.0.10 is the address of the computer you are trying to send to
IF 1 is the number of the interface you are forcing it to use (check Windows Networking to get the number of the interface)
If you are on Windows 7 (and probably Vista), you'll need to execute the command from a command prompt "run as" Administrator. You'd also need to do the matching command on the other machine. If you mess up the parameters, you can use "route delete 192.168.0.10" to remove it (highly recommended, since you've made it permanent).
route -p add 192.168.0.10 192.168.0.10 IF 1
Where:
-p makes the route "permanent" (otherwise, rebooting Windows clears it)
192.168.0.10 is the address of the computer you are trying to send to
IF 1 is the number of the interface you are forcing it to use (check Windows Networking to get the number of the interface)
If you are on Windows 7 (and probably Vista), you'll need to execute the command from a command prompt "run as" Administrator. You'd also need to do the matching command on the other machine. If you mess up the parameters, you can use "route delete 192.168.0.10" to remove it (highly recommended, since you've made it permanent).
I understand what to do, but can't find the number of the interface.
I've typed 'route print' into the cmd and the output is
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Mike>route print
===========================================================================
Interface List
13...4c e6 76 07 b9 9c ......BUFFALO WLI-UC-GNHP Wireless LAN Adapter
10...00 26 18 92 d8 02 ......Realtek PCIe GBE Family Controller
1...........................Software Loopback Interface 1
16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
11...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
18...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.100 25
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
169.254.0.0 255.255.0.0 On-link 169.254.246.27 276
169.254.246.27 255.255.255.255 On-link 169.254.246.27 276
169.254.255.255 255.255.255.255 On-link 169.254.246.27 276
192.168.1.0 255.255.255.0 On-link 192.168.1.100 281
192.168.1.100 255.255.255.255 On-link 192.168.1.100 281
192.168.1.255 255.255.255.255 On-link 192.168.1.100 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 169.254.246.27 276
224.0.0.0 240.0.0.0 On-link 192.168.1.100 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 169.254.246.27 276
255.255.255.255 255.255.255.255 On-link 192.168.1.100 281
===========================================================================
Persistent Routes:
None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
10 276 fe80::/64 On-link
13 281 fe80::/64 On-link
10 276 fe80::3d2c:9f3c:e658:f61b/128
On-link
13 281 fe80::dc3e:cd:3bca:756c/128
On-link
1 306 ff00::/8 On-link
10 276 ff00::/8 On-link
13 281 ff00::/8 On-link
===========================================================================
but I don't understand it.
Thanks in advance,
Mike









