家厨具公司网
一、网需求
①家网架构 内部数据 主要通核心交机Cisco 3560 用 PC机通接入交机Cisco 2960或Cisco AP1242AG接入 通 Cisco 1841路由器以ADSL方式接入Internet
②在Cisco 3560上划分两个vlan分 vlan1和vlan2 。其中vlan2 Cisco AP1242AG-1使用 vlan2 CiscoAP1242AG-2 、Cisco AP1242AG-3 、Cisco 2960-1 、Cisco 2960-2 、Cisco 2960-3使用
③Cisco AP 1242AG-1供外来人使用 限制vlan2 内部工使用的vlan1 不限制vlan2出网
二、网拓扑
Cisco2960-1 Cisco2960-2 Cisco2960-3
三、配置程
①Cisco 1841配置:
清空原有配置:
Router>enable
Router#erase nvram:
Erasing the nvram filesystem will remove all configuration files!Continue? [confirm][OK]
Erase of nvram: complete
Router#reload
Proceed with reload? [confirm]
Router>enable
Router#wr
管理配置:
Router#configure terminal
Router(config)#username joinu password 1qaz2wsxRouter(config)#enable password 1qaz2wsx
Router(config)#line vty 04
Router(config-line)#no login
Router(config-line)#login local
Router(config-line)#transport input telnetRouter(config-line)#exit
Router(config)#exit
Router#wr
端口配置:
Router#configure terminal
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.0.1 255.255.255.0Router(config-if)#no shutdown
Router(config-if)#end
Router#wr
ADSL配置:
Router#configure terminal
Router(config)#interface fastEthernet 0/1
Router(config-if)#no shutdown
Router(config-if)#pppoe enable #启接口的pppoe功能
Router(config-if)#pppoe-client dial-pool-number 1 #指明接口是号地址池1的成Router(config-if)#exit
Router(config)#interface dialer 100 #建一个 上的号接口 号自定Router(config-if)#ip mtu 1492
Router(config-if)#dialer pool 1#指明 接口使用1号号池 由于G0/1是 号池的成所以最将从G0/1接口号Router(config-if)#ip address negotiated #配置接口的IP地址 取
Router(config-if)#encapsulation ppp
Router(config-if)#ppp pap sent-username sz82724161@163.gd password HVGIXGMKRouter(config-if)#dialer-group 20 #配置什 的流量会引起号 里流量是号列表20号定的Router(config-if)#exit
Router(config)#dialer-list 20 protocol ip permit #定 号列表 里是所有的IP流量配置NAT与路由:
Router(config)#ip route 0.0.0.00.0.0.0 dialer 100
Router(config)#ip route 192.9.100.0 255.255.255 0 192.168.0.2
Router(config)#ip route 192.9.101.0 255.255.255 0 192.168.0.2Router(config)#interface fastEthernet 0/0
Router(config-if)#ip nat inside
Router(config-if)#exit
Router(config)#interface dialer 100
Router(config-if)#ip nat outside
Router(config-if)#exit
运作了18年的德国老牌机房contabo在继去年4月开办了第一个美国数据中心(中部城市:圣路易斯)后立马在本月全新上马两个数据中心:纽约、西雅图。当前,为庆祝美国独立日,美国三个数据中心的VPS全部免除设置费,VPS本身的配置很高,价格适中,有较高的性价比!官方网站:https://contabo.com/en/SSD VPSKVM虚拟,纯SSD阵列,不限制流量,自带一个IPv4内存CPUSSD带...
介绍:819云怎么样?819云创办于2019,由一家从2017年开始从业的idc行业商家创办,主要从事云服务器,和物理机器819云—-带来了9月最新的秋季便宜vps促销活动,一共4款便宜vps,从2~32G内存,支持Windows系统,…高速建站的美国vps位于洛杉矶cera机房,服务器接入1Gbps带宽,采用魔方管理系统,适合新手玩耍!官方网站:https://www.8...
在之前的一些文章中有提到HostYun商家的信息,这个商家源头是比较老的,这两年有更换新的品牌域名。在陆续的有新增机房,价格上还是走的低价格路线,所以平时的折扣力度已经是比较低的。在前面我也有介绍到提供九折优惠,这个品牌商家就是走的低价量大为主。中秋节即将到,商家也有推出稍微更低的88折。全场88折优惠码:moon88这里,整理部分HostYun商家的套餐。所有的价格目前都是原价,我们需要用折扣码...