家厨具公司网
一、网需求
①家网架构 内部数据 主要通核心交机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
VirMach,成立于2014年的美国IDC商家,知名的低价便宜VPS销售商,支持支付宝、微信、PayPal等方式付款购买,主打美国、欧洲暑假中心产品,拥有包括洛杉矶、西雅图、圣何塞、凤凰城在内的11个数据中心可以选择,可以自由搭配1Gbps、2Gbps、10Gbps带宽端口,有Voxility DDoS高防IP可以选择(500Gbps以上的防御能力),并且支持在控制面板付费切换机房和更换IP(带...
PIGYun是成立于2019年的国人商家,提供香港、韩国和美西CUVIP-9929等机房线路基于KVM架构的VPS主机,本月商家针对韩国首尔、美国洛杉矶CUVIP-AS29、GIA回程带防御等多条线路VPS提供6-8.5折优惠码,优惠后韩国首尔CN2混合BGP特惠型/美国洛杉矶GIA回程带10Gbps攻击防御VPS主机最低每月14.4元起。下面列出几款不同机房VPS主机配置信息,请留意不同优惠码。...
欧路云新上了美国洛杉矶cera机房的云服务器,具备弹性云特征(可自定义需要的资源配置:E5-2660 V3、内存、硬盘、流量、带宽),直连网络(联通CUVIP线路),KVM虚拟,自带一个IP,支持购买多个IP,10G的DDoS防御。付款方式:PayPal、支付宝、微信、数字货币(BTC USDT LTC ETH)测试IP:23.224.49.126云服务器 全场8折 优惠码:zhujiceping...