家厨具公司网
一、网需求
①家网架构 内部数据 主要通核心交机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
轻云互联成立于2018年的国人商家,广州轻云互联网络科技有限公司旗下品牌,主要从事VPS、虚拟主机等云计算产品业务,适合建站、新手上车的值得选择,香港三网直连(电信CN2GIA联通移动CN2直连);美国圣何塞(回程三网CN2GIA)线路,所有产品均采用KVM虚拟技术架构,高效售后保障,稳定多年,高性能可用,网络优质,为您的业务保驾护航。活动规则:用户购买任意全区域云服务器月付以上享受免费更换IP服...
SugarHosts 糖果主机商也算是比较老牌的主机商,从2009年开始推出虚拟主机以来,目前当然还是以虚拟主机为主,也有新增云服务器和独立服务器。早年很多网友也比较争议他们家是不是国人商家,其实这些不是特别重要,我们很多国人商家或者国外商家主要还是看重的是品质和服务。一晃十二年过去,有看到SugarHosts糖果主机商12周年的促销活动。如果我们有需要香港、美国、德国虚拟主机的可以选择,他们家的...
官方网站:点击访问王小玉网络官网活动方案:买美国云服务器就选MF.0220.CN 实力 强 强 强!!!杭州王小玉网络 旗下 魔方资源池 “我亏本你引流活动 ” mf.0220.CNCPU型号内存硬盘美国CERA机房 E5 2696v2 2核心8G30G总硬盘1个独立IP19.9元/月 续费同价mf.0220.CN 购买湖北100G防御 E5 2690v2 4核心4G...