思科如何设置PPPOE.doc
思科路由器初始化如何设置

思科路由器初始化如何设置1.首先,确保正确连接好路由器和计算机之间的物理连接,如正确插入网线或无线连接。
2.打开计算机上的浏览器,并输入路由器的管理界面的默认IP地址。
大多数思科路由器的默认IP地址是192.168.1.1,也可以在路由器的文档中找到。
在浏览器的地址栏输入该IP地址后,按下回车键。
3. 这将打开思科路由器的登录界面。
输入默认的用户名和密码。
根据不同的型号和固件版本,用户名和密码可能会有所不同。
一些常见的默认用户名是“admin”,默认密码可以为空或为“admin”或“password”。
如果不确定,请参考路由器文档或厂商的网站。
4.登录成功后,将会看到思科路由器的管理界面。
在这里,可以进行各种设置和配置。
5.首先,更改默认的管理员用户名和密码,以增强路由器的安全性。
在“设置”或“管理”选项卡中,找到“管理员凭据”或“管理账户”等选项。
输入新的用户名和密码,并确保记住它们以供将来使用。
6.接下来,配置网络连接。
在“网络设置”或“WAN设置”选项卡中,选择合适的连接类型,如动态IP、静态IP或PPPoE等。
根据网络提供商的要求,输入适当的IP地址、子网掩码、网关和DNS服务器信息。
7.此外,还可以在“局域网设置”或“LAN设置”选项卡中配置路由器的内部局域网。
设置路由器的IP地址、子网掩码和DHCP服务器等。
8.如果路由器支持无线网络,还可以在“无线设置”或“Wi-Fi设置”选项卡中配置无线网络。
设置SSID(无线网络名称)、安全加密方式(如WPA2)、密码和频段等。
9.进行其他高级设置,如端口转发、DDNS、防火墙、访问控制、质量服务(QoS)等。
这些设置可根据需要进行配置,具体步骤和选项会因设备型号和固件版本而有所不同。
10.最后,保存并应用所有更改,以使配置生效。
PPPOE拨号系列之一:Cisco-路由器-防火墙-PPPOE拨号配置

PPPOE拨号系列之一:Cisco-路由器-防火墙-PPPOE拨号配置一、拓扑一二、Cisco 路由器 PPPOE client 拨号配置1、接口下调用 PPPOE-clientpppoe_client(config)#interface e0/0pppoe_client(config-if)#pppoe-client dial-pool-number 1pppoe_client(config-if)#no shutdown2、PPPOE-client 接口的配置pppoe_client(config)#interface dialer 1pppoe_client(config-if)#encapsulation ppp 【在思科上面默认为 HDLC】pppoe_client(config-if)#ip address negotiated 【地址通过协商获取】如果运营商那边认证方式为 PAP 则配置如下pppoe_client(config-if)#ppp authentication pap calin 【开启 PAP 认证,注意这里是单向的】pppoe_client(config-if)#ppp pap sent-username username password xxx如果运营商那边认证方式为 CHAP 则配置如下PPPOE_client(config-if)#ppp authentication chap callinPPPOE_client(config-if)#ppp chap hostname usernamePPPOE_client(config-if)#ppp chap password xxx如果不确定运营商那边是什么方式的话,还有一种办法PPPOE_client(config-if)#ppp authentication chap pap callin然后输入 pap 跟 chap 两种方式,这样无论运营商是哪种都可以成功。
思科、华为、神州数码PPPOE拨号实验

方法一:PPPoE配置命令dcr路由器实现了pppoe client功能,pppoe配置命令:1 pppoe-client dialer2 show pppoe3 debug pppoe3.2.2.1 pppoe-client dialer命令:pppoe-client dialer [dialer-number]no pppoe-client dialer功能:启动以太网接口的pppoe client功能,同时指定对应的拨号口;本命令的no操作为关闭pppoe client功能。
参数:[dialer-number]为pppoe client建立session时使用的拨号口,取值范围为0~255。
缺省情况:以太网不打开pppoe client功能。
命令模式:以太网接口配置模式使用指南:本命令在打开以太网接口的pppoe client功能的同时,还指定了对应的拨号口,其中拨号口的号码为命令interface dialer [number]中设置的号码之一。
举例:配置以太网接口0为pppoe client,并且对应拨号口1。
router(config)#interface dialer 1router(config-dialer1)#en ppprouter(config-dialer1)#exitrouter(config)#interface ethernet 0router(config-ethernet0)#pppoe-client dialer 1相关命令:interface dialer3.2.2.2 show pppoe命令:show pppoe功能:显示pppoe两端的mac地址、session id、连接建立时间、持续时间等。
命令模式:特权用户配置模式举例:router#show pppoeethernet0 pppoe information:sid locmac remmac intf status oinft0x0061 0003.0f00.8012 0050.baf2.8b46 ethernet0 4 dialer1create session time : 0:03:31 duration : 00:56:173.2.2.3 debug pppoe命令:debug pppoe { event| packet }no debug pppoe { event| packet }功能:打开pppoe的调试开关。
思科路由器配置教程

引言概述:在现代网络中,路由器是连接计算机网络的关键设备之一。
其中思科路由器是业界认可的品牌,并且广泛应用于企业和家庭网络中。
本文将详细介绍如何配置思科路由器,帮助读者了解和掌握路由器配置的基本知识和技巧。
正文内容:一、连接路由器1.检查硬件连接:确保所有线缆正确插入路由器和计算机的相应端口。
2.配置本地网络:通过计算机的网络设置,将本地IP地质和子网掩码设置为与路由器相同的网段。
二、路由器基本设置1.登录路由器:通过输入默认的IP地质(一般为192.168.1.1或192.168.0.1)在浏览器中访问路由器的登录页面,输入管理员用户名和密码。
2.修改管理员密码:为了增加路由器的安全性,第一次登录时应该修改管理员密码。
3.更新路由器固件:使用最新的路由器固件可以提供更好的性能和安全性。
4.配置时间和日期:确保路由器的时间和日期正确,这对于日志记录和网络安全非常重要。
三、WAN设置1.配置接入类型:根据网络服务提供商的要求,选择正确的接入类型,例如DHCP、静态IP等。
2.配置PPPoE连接:如果使用PPPoE方式拨号上网,需要输入提供商提供的用户名和密码进行配置。
3.配置动态DNS:如果需要使用动态DNS功能,可以在此处输入相应的信息。
四、LAN设置1.设置局域网IP地质:为路由器设置一个唯一的IP地质,在同一网段内没有重复的IP。
2.配置DHCP服务器:启用DHCP服务器功能,为连接到路由器的设备动态分配IP地质。
3.设置无线网络:为无线网络设置SSID和安全密码,并配置其他相关选项,如频段、通道等。
五、高级设置1.配置端口转发:如果需要将外部访问域名映射到内部服务器,可以在此处进行端口转发配置。
2.配置虚拟专用网络(VPN):为用户提供远程访问网络的安全通道。
3.设置防火墙规则:根据网络需求设置适当的防火墙规则来保护网络安全。
4.配置质量服务(QoS):可以通过设置QoS规则提高特定应用程序或设备的网络性能。
Cisco 2821 路由器PPPoE接入配置手册

Router(config)#dialerlist 1 protocol ip permit
Router(config)#end
Router#*Oct 13 11:29:20.199: %SYS5CONFIG_I: Configured from console by console
ppp authentication pap callin
ppp pap sentusername
ADSL用户名password 0 ADSL密码
! ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1 permanent
!!
no ip http server
no ip http secureserver
*Oct 13 11:17:03.527: %LINEPROTO5UPDOWN:Line protocol on Interface
GigabitEthernet0/0, changed state to up
Router(configif)#exit
Router(config)#interface GigabitEthernet0/1
ip nat inside
ip virtual-reassembly
peer default ip address pool adsl
keepalive 5
ppp authentication chap callin
ppp chap hostname test
ppp chap password 0 test1234
Building configuration...
双线路Cisco路由器配置pppoe拨号上网

公司原有的20M城域网光纤不能满足现在的需求了,公司决定购买中国电信的ADSL 100M光纤线路,所以路由器变成了,双线连接互联,有某些业务需要使用20M线路固定公网IP,公司内部员工默认使用100M光纤上网。
此配置适合两条ADSL线路上网,只需要把固定IP的换成ADSL配置
ip nat inside
exit
#固定IP地址
interface GigabitEthernet0/1
ip address 113.106.x.x 255.255.255.240 secondary
ip address 113.106.x.y 255.255.255.240 secondary
match interface g0/1
exit
#NAT上网(PAT配置)
ip nat inside source route-map LANTo100Nat int dia 1 overload
ip nat inside source route-map LANTo20Nat int g0/1 overload
route-map lantointernetacl permit 10
match ip address lanto100adsl-acl
set ip next-hop verify-availability #因为不是固定IP,所以用这个参数
exit
route-map lantointernetacl permit 20
match ip add adsl100-nat-acl
match interface dia 1
exit
no route-map LANTo20Nat permit 20
思科linksys无线路由器设置详解

1 、登录路由器。
地址:在IE地址栏内输入192.168.1.1 用户名/密码:admin
2、设置PPPOE拨号模式。
红框处下拉,选择PPPOE模式
USERNAME:宽带用户名。
PASSWORD:宽带密码。
3、设置完后,点击保存设置
4、无线的基本设置页面
SSID处可以更改为你想要的名称。
其他地方可以不改。
5、无线的安全设置
大家可以根据自己的需要选择加密的方式,上图选的是WPA模式。
(选的时候注意了,有些加密模式网卡并不支持)6、端口映射
start-end port:起始端口(填入你需要开启的端口号,可以选择一个范围内的端口) protocol:协议(你开启端口的协议类型,根据软件选择TCP或UDP) to ip address:目标IP地址(需要端口映射的主机的IP) 7、DMZ
实在不会端口映射,就使用DMZ吧。
(虽然不太安全) 8、查看路由的状态
设置好后,在上面红框内能显示出路由器当前状态。
(由于是测试,上图状态是空的,正常连接的情况下,ip address、subnet mask等栏内都是有数字类的显
示的)基本设置就以上方法了。
cisco+pppoe拨号配置教程

CISCO上配置 PPPOE拨号r1(config)#vpdn enable 开启虚拟拨号VPDNr1(config)#vpdn-group pppoe 定义组名(pppoe)r1(config-vpdn)#request-dialin 这里是请求拨入r1(config-vpdn-req-in)#protocol pppoe 设置拨号协议为PPPOEr1(config)#in ethernet 0 进入E0端口r1(config-if)#half-duplex 半双工r1(config-if)#pppoe enable 使用PPPOEr1(config-if)#pppoe-client dial-pool-number 1 把该物理端口加入到拨号池1中r1(config-if)#bandwidth 640 宽带640r1(config-if)#no cdp enable 关闭CDP协议r1(config-if)#no shr1(config)#interface dialer 1 建立一个虚拟拨号端口r1(config-if)#bandwidth 640 宽带640r1(config-if)#ip address negotiated 由于局端提供动态地址r1(config-if)#ip mtu 1492 修改MTU值适用于ADSL网络,默认为1500,我们要修改为1452 r1(config-if)#ip tcp adjust-mss 1452 IP 的TCP调整r1(config-if)#ip nat outside 启用NAT转换,设置外网端口为外部网r1(config-if)#dialer pool 1 使用拨号池,因为ETH0加入到拨号池,实际使用ETH0 r1(config-if)#dialer idle-timeout 0 拨号闲置-超时0(保持连接)r1(config-if)#dialer hold-queue 100 断线了可以保持100个封包r1(config-if)#dialer persistent 拨号持久(上不了网就连线)r1(config-if)#dialer-group 1r1(config-if)#encapsulation PPp 使用PPP的帧格式r1(config-if)#PPp authentication pap chap callin 设置拨号的验证方式为PAP 和CHAPr1(config-if)#ppp pap sent-username sz123@163gd password 123 用户帐号和密码r1(config-if)#no cdp enable 不走CDPr1(config-if)#no ip mroute-cache 是关闭快速交换。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
思科如何设置PPPOE
cisco公司制造的路由器、交换机和其他设备承载了全球80%的互联网通信,成为硅谷中新经济的传奇,那么你知道思科如何设置PPPOE吗?下面是整理的一些关于思科如何设置PPPOE的相关资料,供你参考。
思科设置PPPOE的方法
XXX#show run
Building configuration
Current configuration : 6200 bytes
!
! Last configuration change at 15:13:00 UTC Tue Jan 21 2014 by anchnet
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname XXXX
!
boot-start-marker
boot-end-marker
!
!
logging buffered 51200 warnings
!
no aaa new-model
!
crypto pki trustpoint TP-self-signed-1543760446 enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1543760446 revocation-check none
rsakeypair TP-self-signed-1543760446
!
ip cef
!
!
!
!
!
ip dhcp excluded-address 192.168.20.1
!
ip dhcp pool ccp-pool
import all
network 192.168.20.0 255.255.255.0
default-router 192.168.20.1
dns-server 8.8.8.8 4.4.4.4
lease 0 2
!
!
!
no ip domain lookup
ip domain name
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
license udi pid CISCO891-K9 sn FGL172624VJ !
username XXX privilege 15 secret 4 XXX username XXX privilege 15 secret 4 XXX
!
redundancy
!
!
!
!
!
!
!
!
crypto ipsec transform-set ccie esp-3des esp-sha-hmac mode tunnel
!
!
!
crypto map 121 1 ipsec-isakmp
! Incomplete
!
!
!
!
interface FastEthernet0 no ip address
!
interface FastEthernet1 no ip address
!
interface FastEthernet2 no ip address
!
interface FastEthernet3 no ip address
!
interface FastEthernet4 no ip address
!
interface FastEthernet5 no ip address
!
interface FastEthernet6
no ip address
!
interface FastEthernet7
no ip address
!
interface FastEthernet8
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0 description To_Link
no ip address
ip nat outside
ip virtual-reassembly in duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1 crypto map 121
!
interface Vlan1
description $ETH_LAN$
ip address 192.168.20.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1452
!
interface Async1
no ip address
encapsulation slip
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
ppp pap sent-username XXX password 0 XXX no cdp enable
crypto map 121
!
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
!
ip nat inside source list 101 interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 Dialer1
!
ip sla auto discovery
access-list 100 permit ip 192.168.20.0 0.0.0.255 10.8.8.0 0.0.0.255
access-list 101 deny ip 192.168.20.0 0.0.0.255 10.8.8.0 0.0.0.255
access-list 101 permit ip 192.168.20.0 0.0.0.255 any
no cdp run
!
!
!
control-plane
!
!
!
!
mgcp profile default
!
!
!
!
!
!
line con 0
login local
line 1
modem InOut
speed 115200 flowcontrol hardware line aux 0
line vty 0 4
privilege level 15
login local
transport input telnet ssh line vty 5 15
privilege level 15
login local
transport input telnet ssh !
!
end。