家厨具公司网
一、网需求
①家网架构 内部数据 主要通核心交机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
tmthosting怎么样?tmthosting家本站也分享过多次,之前也是不温不火的商家,加上商家的价格略贵,之到斯巴达商家出现,这个商家才被中国用户熟知,原因就是斯巴达家的机器是三网回程AS4837线路,而且也没有多余的加价,斯巴达家断货后,有朋友发现TMTHosting竟然也在同一机房,所以大家就都入手了TMTHosting家的机器。目前,TMTHosting商家放出了夏季优惠,针对VPS推...
易探云怎么样?易探云最早是主攻香港云服务器的品牌商家,由于之前香港云服务器性价比高、稳定性不错获得了不少用户的支持。易探云推出大量香港云服务器,采用BGP、CN2线路,机房有香港九龙、香港新界、香港沙田、香港葵湾等,香港1核1G低至18元/月,183.60元/年,老站长建站推荐香港2核4G5M+10G数据盘仅799元/年,性价比超强,关键是延迟全球为50ms左右,适合国内境外外贸行业网站等,如果需...
ParkInHost主机商是首次介绍到的主机商,这个商家是2013年的印度主机商,隶属于印度DiggDigital公司,主营业务有俄罗斯、荷兰、德国等机房的抗投诉虚拟主机、VPS主机和独立服务器。也看到商家的数据中心还有中国香港和美国、法国等,不过香港机房肯定不是直连的。根据曾经对于抗投诉外贸主机的了解,虽然ParkInHost以无视DMCA的抗投诉VPS和抗投诉服务器,但是,我们还是要做好数据备...