cisco模拟器配置静态路由
② 配置路由器:重命名为CISCO、设置端口地址、设置password、secret密码。
③按照图示所给地址段,在思科模拟器中完成PC0到PC1、DNS的互通访问,并在终结性表格中给出详细设置 展开
1、DNS是用来把网址解析到公网IP地址的,如果你有一个网站的话,首先要去申请一个网站域名比如www.xx.com,然后解析到您网站服务器所在网络的公网地址,然后你把网站服务器挂在公网上或者nat映射到公网上就可以了
2、所有配置如下
拓扑图如下
Router0
cisco0(config)#do sh run
Building configuration...
Current configuration : 797 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname cisco0
!
!
!
enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
!
!
!
!
!
!
username cisco password 0 cisco
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.254 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 172.16.3.1 255.255.255.0
!
interface Serial0/0/1
no ip address
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 10.0.0.0
network 172.16.0.0
network 192.168.1.0
no auto-summary
!
ip classless
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
Router1
cisco1(config)#do sh run
Building configuration...
Current configuration : 797 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname cisco1
!
!
!
enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
!
!
!
!
!
!
username cisco password 0 cisco
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
ip address 192.168.3.254 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 172.16.3.2 255.255.255.0
clock rate 64000
!
interface Serial0/0/1
no ip address
shutdown
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 172.16.0.0
network 192.168.3.0
no auto-summary
!
ip classless
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
Router2
cisco2(config)#do sh run
Building configuration...
Current configuration : 677 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname cisco2
!
!
!
enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
!
!
!
!
!
!
username cisco password 0 cisco
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
ip address 10.0.0.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.2.254 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 10.0.0.0
network 192.168.2.0
no auto-summary
!
ip classless
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
PC0配置
DNS配置
PC0到PC1测试
PC0-DNS
能发一下路由器的截图吗
3个路由器的配置后在上面了,整个网络的图片也在上面了,网络拓扑截图上有对应的接口,你这边还需要截路由器的什么方面的图啊?
2024-10-28 广告
2、路由器命名:(config)#hostname CISCO
端口设地址:(config)#int f0/0 (config-if)#ip address 192.168.1.1 255.255.255.0
password:(config)#enable password <xxx>
secret: (config)#enable secret <xxx>
3、配置好所有的接口地址,配置好所有的PC和服务器的IP,PC和服务器上设置相应的网关
3台路由器配置好相应的路由建议使用动态路由,既能实现全网的互联
2019-01-15
提供换ip功能,包含静态线路和动态线路选择
覆盖全国70多个省500多个城市千万ip地址随意选择
静态ip.动态ip地址可长期使用
有pptp、L2tp,支持模拟器多窗口模式