我的机器上有两块网卡,
一块网卡 A 100M Lan ip 10.35.40.*
一块网卡 B 54M wireless ip 10.33.13.*
想要所有访问10.35.40.*的数据都通过 网卡 A
其他的都通过网卡B
请教如何实现?谢谢
下面是附加信息
C:\Documents and Settings\test\Desktop>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x3 ...00 0d 60 74 88 cd ...... Intel(R) PRO/1000 MT Mobile Connection - Packet
Scheduler Miniport
0x4 ...08 00 27 00 c0 17 ...... VirtualBox Host-Only Ethernet Adapter - Packet S
cheduler Miniport
0x20002 ...00 0e 35 10 3b 8f ...... Intel(R) PRO/Wireless 2200BG Network Connect
ion - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.35.13.1 10.35.13.114 40
0.0.0.0 0.0.0.0 10.35.40.1 10.35.40.101 20
10.35.13.0 255.255.255.0 10.35.13.114 10.35.13.114 40
10.35.13.114 255.255.255.255 127.0.0.1 127.0.0.1 40
10.35.40.0 255.255.255.0 10.35.40.101 10.35.40.101 20
10.35.40.101 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.35.13.114 10.35.13.114 40
10.255.255.255 255.255.255.255 10.35.40.101 10.35.40.101 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.56.0 255.255.255.0 192.168.56.1 192.168.56.1 20
192.168.56.1 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.56.255 255.255.255.255 192.168.56.1 192.168.56.1 20
224.0.0.0 240.0.0.0 10.35.13.114 10.35.13.114 40
224.0.0.0 240.0.0.0 10.35.40.101 10.35.40.101 20
224.0.0.0 240.0.0.0 192.168.56.1 192.168.56.1 20
255.255.255.255 255.255.255.255 10.35.13.114 10.35.13.114 1
255.255.255.255 255.255.255.255 10.35.40.101 10.35.40.101 1
255.255.255.255 255.255.255.255 192.168.56.1 192.168.56.1 1
Default Gateway: 10.35.40.1
===========================================================================
Persistent Routes:
None
C:\Documents and Settings\test\Desktop>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : test
Primary Dns Suffix . . . . . . . : mytest.com
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : mytest.com
mytest.com
mytest.com
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : mytest.com
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Mobile Connecti
on
Physical Address. . . . . . . . . : 00-0D-60-74-88-CD
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.35.40.101
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.35.40.1
DHCP Server . . . . . . . . . . . : 10.35.16.10
DNS Servers . . . . . . . . . . . : 10.35.16.14
10.35.16.10
Primary WINS Server . . . . . . . : 10.35.16.14
Lease Obtained. . . . . . . . . . : Thursday, August 06, 2009 9:16:23 AM
Lease Expires . . . . . . . . . . : Saturday, August 08, 2009 9:16:23 AM
Ethernet adapter Local Area Connection 7:
Connection-specific DNS Suffix . : mytest.com
Description . . . . . . . . . . . : Intel(R) PRO/Wireless 2200BG Network
Connection
Physical Address. . . . . . . . . : 00-0E-35-10-3B-8F
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.35.13.114
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.35.13.1
DHCP Server . . . . . . . . . . . : 10.35.16.10
DNS Servers . . . . . . . . . . . : 10.35.16.10
10.35.16.14
Primary WINS Server . . . . . . . : 10.35.16.10
Lease Obtained. . . . . . . . . . : Thursday, August 06, 2009 8:30:25 AM
Lease Expires . . . . . . . . . . : Friday, August 07, 2009 8:30:25 AM
请教一个双网卡的问题
- forsearch
- 帖子: 105
- 注册时间: 2008-05-17 18:36
请教一个双网卡的问题
人必自辱,然后人辱之
- forsearch
- 帖子: 105
- 注册时间: 2008-05-17 18:36
- forsearch
- 帖子: 105
- 注册时间: 2008-05-17 18:36
- forsearch
- 帖子: 105
- 注册时间: 2008-05-17 18:36
- hcym
- 帖子: 15634
- 注册时间: 2007-05-06 2:46
Re: 请教一个双网卡的问题
iptables吧
以前看过,没弄过
一个网卡头就够大了
以前看过,没弄过
一个网卡头就够大了
- forsearch
- 帖子: 105
- 注册时间: 2008-05-17 18:36