博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
解决过滤王不刷卡上机网络配置问题(总结篇)
阅读量:2430 次
发布时间:2019-05-10

本文共 6507 字,大约阅读时间需要 21 分钟。

解决过滤王不刷卡上机网络配置问题(总结篇)

若有任何问题可以直接跟贴,或更快些可以发邮件给我

主机:ip(192.168.0.224,192.168.0.228)224访问外网,228收集上网访问记录(过滤王)
路由器 ip(对内网的192.168.0.1相当于内网的网关),isp分配的ip(61.53.2.54)
网络连接:参考《路由器简单配置》文章

 

网络结构图

:

网卡禁啦():
D:/>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
===========================================================================
===========================================================================
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
===========================================================================
Persistent Routes:
  None
++启用外网(本地连接2  ip:192.168.0.224,网关192.168.0.1)+++++++++++++++++++++++++++++++++++++++++++++++++
D:/>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x90003 ...00 90 27 ee c1 1d ...... Intel(R) PRO/100+ Management Adapter
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.0.1   192.168.0.228       20
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.0.0    255.255.255.0    192.168.0.228   192.168.0.228       20
    192.168.0.228  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.0.255  255.255.255.255    192.168.0.228   192.168.0.228       20
        224.0.0.0        240.0.0.0    192.168.0.228   192.168.0.228       20
  255.255.255.255  255.255.255.255    192.168.0.228   192.168.0.228       1
Default Gateway:       192.168.0.1
===========================================================================
Persistent Routes:
  None
++启用内网(本地连接ip:192.168.0.228,网关空)+++++++++++++++++++++++++++++++++++++++++++
D:/>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x90003 ...00 90 27 ee c1 1d ...... Intel(R) PRO/100+ Management Adapter
0x90004 ...00 e0 4c 6c 21 67 ...... Realtek RTL8139/810x Family Fast Ethernet NI
C
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.0.1   192.168.0.228       20
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.0.0    255.255.255.0    192.168.0.224   192.168.0.224       20
      192.168.0.0    255.255.255.0    192.168.0.228   192.168.0.228       20
    192.168.0.224  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.0.228  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.0.255  255.255.255.255    192.168.0.224   192.168.0.224       20
    192.168.0.255  255.255.255.255    192.168.0.228   192.168.0.228       20
        224.0.0.0        240.0.0.0    192.168.0.224   192.168.0.224       20
        224.0.0.0        240.0.0.0    192.168.0.228   192.168.0.228       20
  255.255.255.255  255.255.255.255    192.168.0.224   192.168.0.224       1
  255.255.255.255  255.255.255.255    192.168.0.228   192.168.0.228       1
Default Gateway:       192.168.0.1
===========================================================================
Persistent Routes:
  None
++运行A.BAT后+++++++++++++++++++++++++++++++++++++
D:/>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x90003 ...00 90 27 ee c1 1d ...... Intel(R) PRO/100+ Management Adapter
0xa0004 ...00 e0 4c 6c 21 67 ...... Realtek RTL8139/810x Family Fast Ethernet NI
C
===========================================================================
===========================================================================
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.168.0.0    255.255.255.0    192.168.0.224   192.168.0.224       20
      192.168.0.0    255.255.255.0    192.168.0.228   192.168.0.228       20
    192.168.0.224  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.0.228  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.0.255  255.255.255.255    192.168.0.224   192.168.0.224       20
    192.168.0.255  255.255.255.255    192.168.0.228   192.168.0.228       20
        224.0.0.0        240.0.0.0    192.168.0.224   192.168.0.224       20
        224.0.0.0        240.0.0.0    192.168.0.228   192.168.0.228       20
  255.255.255.255  255.255.255.255    192.168.0.224   192.168.0.224       1
  255.255.255.255  255.255.255.255    192.168.0.228   192.168.0.228       1
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
      192.168.0.0    255.255.255.0    192.168.0.228       1
++主机不能上网(224.228)解决++++++++++++++++++++++++++++++++++++++
D:/>route add 0.0.0.0 mask 0.0.0.0 192.168.0.1
D:/>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x90003 ...00 90 27 ee c1 1d ...... Intel(R) PRO/100+ Management Adapter
0xa0004 ...00 e0 4c 6c 21 67 ...... Realtek RTL8139/810x Family Fast Ethernet NI
C
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.0.1   192.168.0.224       1
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.0.0    255.255.255.0    192.168.0.224   192.168.0.224       20
      192.168.0.0    255.255.255.0    192.168.0.228   192.168.0.228       20
    192.168.0.224  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.0.228  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.0.255  255.255.255.255    192.168.0.224   192.168.0.224       20
    192.168.0.255  255.255.255.255    192.168.0.228   192.168.0.228       20
        224.0.0.0        240.0.0.0    192.168.0.224   192.168.0.224       20
        224.0.0.0        240.0.0.0    192.168.0.228   192.168.0.228       20
  255.255.255.255  255.255.255.255    192.168.0.224   192.168.0.224       1
  255.255.255.255  255.255.255.255    192.168.0.228   192.168.0.228       1
Default Gateway:       192.168.0.1
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
      192.168.0.0    255.255.255.0    192.168.0.228       1
附a.bat
route -f
route delete 192.168.0.0
route delete 0.0.0.0
echo "route add -p 0.0.0.0 mask 0.0.0.0 192.168.0.228"
route add -p 192.168.0.0 mask 255.255.255.0 192.168.0.228
route delete 0.0.0.0
修改后的a.bat
route -f
route delete 192.168.0.0
route delete 0.0.0.0
echo "route add -p 0.0.0.0 mask 0.0.0.0 192.168.0.228"
route add -p 192.168.0.0 mask 255.255.255.0 192.168.0.228
route delete 0.0.0.0
route add 0.0.0.0 mask 0.0.0.0 192.168.0.1 

你可能感兴趣的文章
第一个JSP程序(JSP入门)
查看>>
JSP语法简介
查看>>
JavaBean入门与简介
查看>>
JSP中EL表达式入门与简介
查看>>
Spring入门实例
查看>>
Spring的几种注入方式
查看>>
Spring自动装配
查看>>
Hibernate入门与实例
查看>>
Jython入门学习
查看>>
Hiberate基础用法实例
查看>>
Maven编译时指定JDK版本
查看>>
Hibernate单向关联N-1
查看>>
Hibernate单向关联1-1
查看>>
jQuery自定义动画
查看>>
Spring-data-redis在shiro中的实例
查看>>
GUN C中__attribute__作用
查看>>
3、系统调用之SYSCALL_DEFINE分析
查看>>
linux的signal_pending及signal
查看>>
OBJDUMP用法
查看>>
c/cplusplus通用makefile
查看>>