jkll 发表于 2014-9-20 11:13

更新:思科1812w配置pppoe+nat+dhcp+无线,使其变身家用宽带无线路由啊啊

本帖最后由 jkll 于 2014-9-21 20:09 编辑

前几天单位的思科1841路由惨招雷击,不幸身亡。于是又买了新的1900系列据说报价4k,好贵啊,可是买来没人会配置。
等了3周终于有工程师来配置。工程师来配置路由时说自己是某大城市专程被请来的,因为本地电脑公司无人会配置思科路由:'(
一听之下顿生好奇,有这么难吗?在旁观看了一下,发现也和openwrt命令行配置差不多吗,

出于玩惯各种路由但没用过思科企业级路由的想法,我决定自己也购买一台思科路由
新的贵。我肯定买不起,也没必要。于是本钓丝就从本论坛购买二手玩玩,貌似还带无线,功能看上去比单位新买的还多,可能性能稍低,无妨

并自学两天ccna,貌似已经初步会用 发贴庆贺啊啊


继续努力配置无线
更新:无线已经可用,

目前实现的功能为f1口pppoe拨号上网,f2-9设为lan口,查网线即可自动获取ip上网,无线连接上也可上网
虽说企业级路由拿来这样用一者浪费二者性能可能还不比家用路由,不过反正也是玩玩而已

==============================
无图无真相?加图来

==============================
附配置:
jkll#sh run
Building configuration...

Current configuration : 2907 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname jkll
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$PUsB$xVfWhDqGcqbk26A4OUORg/
enable password 12345
!
no aaa new-model
!
!
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.11.1
!         
ip dhcp pool Local
   network 192.168.1.0 255.255.255.0
   default-router 192.168.1.1
   dns-server 192.168.1.1
!
ip dhcp pool pool_wireless
   network 192.168.11.0 255.255.255.0
   default-router 192.168.11.1
   dns-server 192.168.11.1
!
!
!
multilink bundle-name authenticated
vpdn enable
!
!
!
!
!
!
!
!
!         
!
!
interface FastEthernet0
no ip address
ip nat inside
ip virtual-reassembly
shutdown
duplex auto
speed auto
no cdp enable
!
interface FastEthernet1
description ConToCNC
no ip address
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
no cdp enable
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
no cdp enable
!
interface FastEthernet2
switchport access vlan 5
no cdp enable
!
interface FastEthernet3
switchport access vlan 5
no cdp enable
!
interface FastEthernet4
switchport access vlan 5
no cdp enable
!
interface FastEthernet5
switchport access vlan 5
no cdp enable
!
interface FastEthernet6
switchport access vlan 5
no cdp enable
!         
interface FastEthernet7
switchport access vlan 5
no cdp enable
!
interface FastEthernet8
switchport access vlan 5
no cdp enable
!
interface FastEthernet9
switchport access vlan 5
no cdp enable
!
interface Dot11Radio0
ip address 192.168.11.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
ssid jkll-wireless
    authentication open
    guest-mode
!
speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0
channel 2462
station-role root
no cdp enable
!
interface Dot11Radio1
no ip address
shutdown
speed basic-6.0 9.0 basic-12.0 18.0 basic-24.0 36.0 48.0 54.0
station-role root
no cdp enable
!
interface Vlan1
no ip address
shutdown
!
interface Vlan5
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Dialer1
description pppoe-CMCC
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
ppp chap hostname 用户名
ppp chap password 0 密码
ppp ipcp dns request
!
ip route 0.0.0.0 0.0.0.0 Dialer1
!
!
no ip http server
no ip http secure-server
ip dns server
ip nat inside source list 10 interface Dialer1 overload
!
access-list 10 permit 192.168.1.0 0.0.0.255
access-list 10 permit 192.168.11.0 0.0.0.255
dialer-list 1 protocol ip permit
snmp-server community public RO
!
!
!         
!
!
!
control-plane
!
!
line con 0
exec-timeout 30 0
line aux 0
line vty 0 4
password 12345678
login
!
no process cpu extended
no process cpu autoprofile hog
end

巴陵蜀 发表于 2014-9-20 12:15

没什么南的,百度教程一大堆吧

一钱 发表于 2014-9-20 12:43

我会呀,找我呀。

jkll 发表于 2014-9-20 12:47

一钱 发表于 2014-9-20 12:43
我会呀,找我呀。

论坛朋友 能否给个无线配置的教程啊 多谢

jkll 发表于 2014-9-20 12:51

一钱 发表于 2014-9-20 12:43
我会呀,找我呀。

论坛朋友 能否给个无线配置的教程啊 多谢

一钱 发表于 2014-9-20 17:05

jkll 发表于 2014-9-20 12:51
论坛朋友 能否给个无线配置的教程啊 多谢

无线我也不会,我只会有线的。

jkll 发表于 2014-9-20 20:15

一钱 发表于 2014-9-20 17:05
无线我也不会,我只会有线的。

我这里拨号用了fe1 , fe0连接电脑上网,能否告诉我如何配置使用lan口连接电脑上网,不然wan口浪费 还有8个lan口不知如何用

一钱 发表于 2014-9-20 20:40

jkll 发表于 2014-9-20 20:15
我这里拨号用了fe1 , fe0连接电脑上网,能否告诉我如何配置使用lan口连接电脑上网,不然wan口浪费 还 ...

插上网线就可以上网了,这么多网口?那你赚大发了。现在思科一个网口都要1500多

jkll 发表于 2014-9-21 11:51

一钱 发表于 2014-9-20 20:40
插上网线就可以上网了,这么多网口?那你赚大发了。现在思科一个网口都要1500多

1500元那是wan口 我这个是lan口交换机吧

知鱼之乐 发表于 2014-9-21 12:02

一钱 发表于 2014-9-20 12:43
我会呀,找我呀。

cisco 的无线AP会整不?胖变瘦。重置

jkll 发表于 2014-9-21 20:11

一钱 发表于 2014-9-20 17:05
无线我也不会,我只会有线的。

已经搞定 求看看有啥要改进 貌似能用是能用了
页: [1]
查看完整版本: 更新:思科1812w配置pppoe+nat+dhcp+无线,使其变身家用宽带无线路由啊啊