待解决问题
烽火R2600路由器配置?
离问题结束还有0天0小时  |  提问者:马虎人生   |  提问时间:2013-11-11 23:04
烽火路由器r2600怎么配置呢?公网IP。
问题答案 ( 2 条 )
PC客户端不多交换机不需要做数据,路由器配置脚本如下,以后需更改的只是公网的IP地址、路由器的网关和过载的地址池地址。
enable
config
int gi0/0
ip address 120.201.175.188 255.255.255.240  
ip nat outside
q
int gi0/1
ip address 192.168.10.1 255.255.255.0         
ip nat inside
q
aaa authentication login default local enable
aaa authentication enable default enable
enable password 0 12345
username admin password 0 12345               
ip dhcpd pool p1
network 192.168.10.0 255.255.255.0
range 192.168.10.4 192.168.10.250
default-router 192.168.10.1
dns-server 211.137.191.26 218.201.96.130                    
q
ip dhcpd enable
ip route defau 218.201.178.177                     
ip nat pool yyy 120.201.175.188 120.201.175.188 255.255.255.255
ip access-list standard a1
permit 192.168.10.0 255.255.255.0
q
ip nat inside source list a1 pool yyy overload
exit
write

常用配置更改脚本
1、 接口IP地址更改
config
int gi 0/0
no ip add
ip add 111.120.100.8 255.255.255.240
ip nat outside
exit
exit
write
此处过载地址池还需更改
config
no ip nat inside source list a1 pool yyy overload
ip nat pool yyy 111.120.100.8 111.120.100.8 255.255.255.255
ip nat inside source list a1 pool yyy overload
exit
write
2、 路由器网关更改即默认路由更改
config
no ip route default
ip route default 111.120.100.1
exit
write
3、 清除路由器配置
Router# delete
   回车后按Y
断电重启路由器
回应该答案 (0)  |  回答者:bigspider   |  2013-11-12 20:12
请问如果双wan口,该怎么配置
回应该答案 (0)  |  回答者:宣狼特供   |  2015-8-19 08:28
 
我要回答:  回答字数在10000字以内

 

热点问题