我已经搜索了有关执行此操作的详细信息,但未成功-我想知道是否有人可以提供一些建议。
因此,假设我有2个网卡(在我的实例中为LAN和3G),都分配了动态IP地址。LAN接口是我的公司LAN,我想将3G接口用于所有其他访问(即t'internet!)。
我几乎没有网络经验,但是我的感觉是我应该能够将3G卡设置为默认网关,然后通过LAN接口强制一组已知子网的所有流量。
这是路线图
===========================================================================
Interface List
40...........................Vodafone Mobile Connect
12...00 16 cf 87 71 22 ......Dell Wireless 1500 Draft 802.11n WLAN Mini-Card
11...00 15 c5 58 47 24 ......Broadcom NetXtreme 57xx Gigabit Controller
24...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1
25...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8
1...........................Software Loopback Interface 1
26...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
13...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
21...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
23...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4
28...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #6
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Netork Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.183.148.5 10.183.148.157 4235
0.0.0.0 0.0.0.0 10.183.148.6 10.183.148.157 4235
0.0.0.0 0.0.0.0 10.183.148.7 10.183.148.157 4235
0.0.0.0 0.0.0.0 On-link 10.57.175.79 31
10.57.175.79 255.255.255.255 On-link 10.57.175.79 286
10.183.148.0 255.255.255.0 On-link 10.183.148.157 4491
10.183.148.157 255.255.255.255 On-link 10.183.148.157 4491
10.183.148.255 255.255.255.255 On-link 10.183.148.157 4491
127.0.0.0 255.0.0.0 On-link 127.0.0.1 4531
127.0.0.1 255.255.255.255 On-link 127.0.0.1 4531
127.255.255.255 255.255.255.255 On-link 127.0.0.1 4531
169.254.0.0 255.255.0.0 On-link 10.183.148.157 4511
169.254.255.255 255.255.255.255 On-link 10.183.148.157 4491
192.168.6.0 255.255.255.0 On-link 192.168.6.1 4501
192.168.6.1 255.255.255.255 On-link 192.168.6.1 4501
192.168.6.255 255.255.255.255 On-link 192.168.6.1 4501
192.168.73.0 255.255.255.0 On-link 192.168.73.1 4501
192.168.73.1 255.255.255.255 On-link 192.168.73.1 4501
192.168.73.255 255.255.255.255 On-link 192.168.73.1 4501
224.0.0.0 240.0.0.0 On-link 127.0.0.1 4531
224.0.0.0 240.0.0.0 On-link 10.183.148.157 4492
224.0.0.0 240.0.0.0 On-link 192.168.6.1 4502
224.0.0.0 240.0.0.0 On-link 192.168.73.1 4502
224.0.0.0 240.0.0.0 On-link 10.57.175.79 31
255.255.255.255 255.255.255.255 On-link 127.0.0.1 4531
255.255.255.255 255.255.255.255 On-link 10.183.148.157 4491
255.255.255.255 255.255.255.255 On-link 192.168.6.1 4501
255.255.255.255 255.255.255.255 On-link 192.168.73.1 4501
255.255.255.255 255.255.255.255 On-link 10.57.175.79 286
===========================================================================
Persistent Routes:
None
因此,接口40是我的3G卡,接口11是我的LAN卡。您可以看到(我认为)我目前有两条默认路由,但由于指标较低,因此3G胜出了吗?我需要强制全部10.183。。LAN接口上的流量。
欢迎任何建议!
问候,杰森