- 论坛徽章:
- 0
|
路由器 设置 如下 :f0 是互联网出口,f1 是互联网网关。我已经知道内网所有能上互联网电脑的MAC地址和IP地址。我想将MAC地址和IP地址绑定。阻止非法IP访问外网。如何设置,请帮忙看看。谢谢!!
Building Configuration...done
rent configuration : 2361 bytes
!
! Last configuration change at UTC FRI JAN 02 03:05:08 1970
! Flash config last updated at UTC FRI JAN 02 03:05:13 1970
! Configuration version 0.65
!
!software version 6.1.25(REL)(integrity)
!software image file flash0: /flash/rp5-c-6.1.25(REL).bin
!compiled on Nov 14 2008, 18:51:15
hostname 互联网
no service password-encrypt
no service new-encrypt
service login-secure
enable password TZXYZZXYXY\YWZ encrypt
no ip mef
ip load-sharing per-destination
ip access-list standard 1
10 permit host 192.168.0.95
20 permit host 192.168.0.115
30 permit host 192.168.0.199
40 permit host 192.168.0.128
50 permit host 192.168.0.125
60 permit host 192.168.0.126
exit
interface fastethernet0
ip address 124.179.153.219 255.255.255.252
ip nat outside
exit
interface fastethernet1
ip address 192.168.0.1 255.255.255.0
ip access-group 1 in
ip nat inside
exit
interface serial0/0
physical-layer sync
encapsulation hdlc
exit
interface serial1/0
physical-layer sync
encapsulation hdlc
exit
interface null0
exit
ip nat inside source list 1 interface fastethernet0 overload
ip route 0.0.0.0 0.0.0.0 124.179.153.218
!end
[ 本帖最后由 lenovo666 于 2009-6-16 16:51 编辑 ] |
|