微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 移动通信 > 数据通信 > 怎么配烽火R2600路由器

怎么配烽火R2600路由器

时间:05-23 整理:3721RD 点击:
怎么配烽火R2600路由器

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
断电重启路由器

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top