admin管理员组

文章数量:1530069

1 利用串口线接好电脑与路由器,

2 配置超级终端:9600 8 1;

3 新路由器的话,直接就进入了

4 大于号状态下输入 enable.回车

5 config

int gi0/0

ip address (公网IP) (公网子网掩码)

ip nat outside

q

int gi0/1

ip address (私网IP,如192.168.0.1) (私网DNS,如255.255.255.0)

ip nat inside

q

aaa authentication login default local enable

aaa authentication enable default enable

enable password 0 (登陆密码,可任意修改)

username admin password 0 (登陆密码,可任意修改)

ip dhcpd pool p1

network 192.168.0.0 255.255.255.0

range 192.168.0.4 192.168.0.250

default-router 192.168.0.1

dns-server (公网首选DNS) (公网备用DNS)

q

ip dhcpd enable

ip route defau (公网网关)

ip nat pool yyy (公网IP) (公网IP) 255.255.255.255

ip access-list standard a1

permit 192.168.0.0 255.255.255.0

q

ip nat inside source list a1 pool yyy overload

ex

write

本文标签: 烽火路由器脚本步骤文件