网络类型实验

R1:[R1]dhcp enable[R1]ip pool 1Info: It’s successful to create an IP address pool. [R1-ip-pool-1]network 192.168.1.0 mask 24[R1-ip-pool-1]dns-list 8.8.8.8[R1-ip-pool-1]gateway-list 192.168.1.254[R1-ip-pool-1]int g0/0/0[R1-GigabitEthernet0/0/0]ip ..
摘要由CSDN通过智能技术生成

在这里插入图片描述
在这里插入图片描述
R1:

[R1]dhcp enable
[R1]ip pool 1
Info: It’s successful to create an IP address pool.
[R1-ip-pool-1]network 192.168.1.0 mask 24
[R1-ip-pool-1]dns-list 8.8.8.8
[R1-ip-pool-1]gateway-list 192.168.1.254
[R1-ip-pool-1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip address 192.168.1.254 24
[R1-GigabitEthernet0/0/0]dhcp select global
[R1]int s4/0/0
[R1-Serial4/0/0]ip address 15.1.1.1 24
[R1]int s4/0/0
[R1-Serial4/0/0]ppp authentication-mode pap
[R1-Serial4/0/0]ppp pap local-user bf password cipher 123456
ping 15.1.1.2
PING 15.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 15.1.1.2: bytes=56 Sequence=1 ttl=255 time=40 ms
Reply from 15.1.1.2: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 15.1.1.2: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 15.1.1.2: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 15.1.1.2: bytes=56 Sequence=5 ttl=255 time=20 ms
[R1]interface Tunnel 0/0/0
[R1-Tunnel0/0/0]ip address 10.1.1.1 24
[R1-Tunnel0/0/0]tunnel-protocol gre p2mp
[R1-Tunnel0/0/0]source 15.1.1.1
[R1-Tunnel0/0/0]nhrp entry multicast dynamic
[R1-Tunnel0/0/0]nhrp network-id 100
[R1]ip route-static 0.0.0.0 0.0.0.0 15.1.1.2
ping 10.1.1.2
PING 10.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 10.1.1.2: bytes=56 Sequence=1 ttl=255 time=30 ms
Reply from 10.1.1.2: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 10.1.1.2: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 10.1.1.2: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 10.1.1.2: bytes=56 Sequence=5 ttl=255 time=10 ms
ping 25.1.1.1
PING 25.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 25.1.1.1: bytes=56 Sequence=1 ttl=254 time

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值