问题已开启
(普通问题)
• 路由器的端口是什么 2020-06-13
• 路由器放在墙角会不会影响信号 2020-06-06
• 路由器如何设置 2020-03-13
• 在一公网中添加内网,通过路由器策略路由,现影响部分电脑,部分公网无法访问 2019-07-12
• 关于WiFi路由器 2019-06-10
• ZXR10低端路由器如何调试 2018-12-15
• 什么是路由器 2017-06-06
• 不同vlan之间为什么用路由器连接通信 2017-04-13
• 路由器放在墙角会不会影响信号 2020-06-06
• 路由器如何设置 2020-03-13
• 在一公网中添加内网,通过路由器策略路由,现影响部分电脑,部分公网无法访问 2019-07-12
• 关于WiFi路由器 2019-06-10
• ZXR10低端路由器如何调试 2018-12-15
• 什么是路由器 2017-06-06
• 不同vlan之间为什么用路由器连接通信 2017-04-13
问题答案
( 1 )
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
这是烽火R2600配置案例参考一下;
你要有原来的配置脚本,把其直接拷入新路由器就可以了。
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
这是烽火R2600配置案例参考一下;
你要有原来的配置脚本,把其直接拷入新路由器就可以了。
回答者:
xhy1331
回答时间:2013-08-04 18:27
15 13
联系我们 - 问通信专家 | Powered by MSCBSC 移动通信网 © 2006 - |