全球旧事资料 分类
路由器模拟防火墙
一、实验原理:利用路由器本身对分组的解析,以访问控制表方式实现对分组的过滤。二、实验目的:(1)用路由器实现包过滤防火墙功能;(2)了解和熟悉防火墙的包过滤功能;(3)体会包过滤功能在网络安全中的重要性;(4)了解防火墙在网络安全中的重要性。三、实验内容:本次实验有三台PC机和两台路由器,网络拓扑图如下所示。PC1不能pi
g通router1,但PC0能pi
g通router1。通过密码远程登录Router1。
四、代码及截图:Router0的基本配置命令:Routere
able进入特权模式Routerco
figt进入全局配置模式E
terco
figuratio
comma
dso
eperli
eE
dwithCNTLZRouterco
figi
terfacefa10进入端口配置模式Routerco
figifipaddress192168112552552550配置fa10的ipRouterco
figif
oshutdow
启用LINK5CHANGEDI
terfaceFastEther
et10cha
gedstatetoupLINEPROTO5UPDOWNLi
eprotocolo
I
terfaceFastEther
et10cha
gedstatetoupRouterco
figifexit退出端口配置模式Routerco
figi
tfa00进入端口配置模式Routerco
figifipaddress192168212552552550配置fa00的ipRouterco
figif
oshutdow
启用LINK5CHANGEDI
terfaceFastEther
et00cha
gedstatetoupLINEPROTO5UPDOWNLi
eprotocolo
I
terfaceFastEther
et00cha
gedstatetoup
fRouterco
figifexit退出端口配置模式Routerco
figi
ts20进入端口配置模式Routerco
figifipaddress19216831I
completecomma
dRouterco
figifipaddress192168312552552550Routerco
figif
oshutdow
启用
配置ser20的ip
LINK5CHANGEDI
terfaceSerial20cha
gedstatetoupRouterco
figifexit退出端口配置模式Routerco
figrouterrip配置动态路由Routerco
figrouterverRouterco
figrouterversio
2版本号Routerco
figrouter
etwork19216810相连网段Routerco
figrouter
etwork19216820相连网段Routerco
figrouter
etwork19216830相连网段Routerco
figrouterexit退出路由配置模式Routerco
figi
ts20进入端口配置模式Routerco
figifclockrate64000时钟Routerco
figifexitRouterco
figLINEPROTO5UPDOWNLi
eprotocolo
I
terfaceSerial20cha
gedstatetoupRouterco
figSYS5CONFIG_ICo
figuredfromco
solebyco
soleRouterRouter1的基本配置命令:Routere
able进入特权模式Routerco
figt进入全局配置模式E
terco
figuratio
comma
dso
eperli
eE
dwithCNTLZRouterco
figi
tfa00进入端口配置模式Routerco
figifipaddress192168412552552550配置fa00的ipRouterco
figif
oshutdow
启用LINK5CHANGEDI
terfaceFastEther
et00cha
gedstatetoupLINEPROTO5UPDOWNLi
eprotocolo
I
terfaceFastEther
et00cha
gedstatetoupRouterco
figifexit退出端口配置模式Routerco
figi
tsr
好听全球资料 返回顶部