单机双网卡,如何实现同时访问内外网(附路由表)
单机双网卡,A网卡为外网,B网卡为内网,想请问如何设置才能实现两内外网能同时上得了。谢谢!
下面是两张网卡的信息:
A网卡(外网):IP192.168.8.2,掩码:255.0.0.0,网关:192.168.8.1,通过ADSL连接互联网;
B网卡(内网):IP192.168.45.2,掩码:255.255.255.0,网关:192.168.45.1,访问的内网地址:19.*.*.*
下面是未拨号时的路由表:
C:\Documents and Settings\Administrator>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...c8 3a 35 d5 f8 84 ...... Tenda TEL9901G Gigabit Ethernet NIC - 数据包计划
程序微型端口
0x3 ...44 87 fc 93 b5 62 ...... Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Con
troller - 数据包计划程序微型端口
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.0.0.0 255.0.0.0 192.168.8.2 192.168.8.2 20
192.168.8.2 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.8.255 255.255.255.255 192.168.8.2 192.168.8.2 20
192.168.45.0 255.255.255.0 192.168.45.2 192.168.45.2 10
192.168.45.2 255.255.255.255 127.0.0.1 127.0.0.1 10
192.168.45.255 255.255.255.255 192.168.45.2 192.168.45.2 10
224.0.0.0 240.0.0.0 192.168.8.2 192.168.8.2 20
224.0.0.0 240.0.0.0 192.168.45.2 192.168.45.2 10
255.255.255.255 255.255.255.255 192.168.8.2 192.168.8.2 1
255.255.255.255 255.255.255.255 192.168.45.2 192.168.45.2 1
===========================================================================
Persistent Routes:
None