实验要求
实验步骤
1、R6为isp,接口IP地址均为公有地址,该设备只能配置IP地址,之后不能再对其他进行任何配置,R6配置地址12.0.0.0/24后不进行其他任何配置
[r6]int g0/0/0
[r6-GigabitEthernet0/0/0]ip add 12.1.1.2 24
[r6-GigabitEthernet0/0/0]int loopback0
[r6-LoopBack0]ip add 6.6.6.6 24
2、R1-R5为局域网,私有IP地址192.168.1.0/24,请合理分配
R1:
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ip add 192.168.1.1 30
[r1-GigabitEthernet0/0/0]int g0/0/1
[r1-GigabitEthernet0/0/1]ip add 192.168.1.22 30
R2:
[r2]INT G0/0/0
[r2-GigabitEthernet0/0/0]ip add 192.168.1.1 30
[r2-GigabitEthernet0/0/0]int g0/0/1
[r2-GigabitEthernet0/0/1]ip add 192.168.1.5 30
R3:
[r3]int g0/0/1
[r3-GigabitEthernet0/0/1]ip add 192.168.1.18 30
[r3-GigabitEthernet0/0/1]int g0/0/0
[r3-GigabitEthernet0/0/0]ip add 192.168.1.21 30
R4:
[r4]int g0/0/0
[r4-GigabitEthernet0/0/0]ip add 192.168.1.6 30
[r4-GigabitEthernet0/0/0]int g0/0/2
[r4-GigabitEthernet0/0/2]ip add 192.168.1.9 30
[r4-GigabitEthernet0/0/2]int g0/0/3
[r4-GigabitEthernet0/0/3]ip add 192.168.1.14 30
[r4-GigabitEthernet0/0/3]int g0/0/1
[r4-GigabitEthernet0/0/1]ip add 192.168.1.17 30
R5:
[r5]int g0/0/0
[r5-GigabitEthernet0/0/0]ip add 192.168.1.10 30
[r5-GigabitEthernet0/0/0]int g0/0/2
[r5-GigabitEthernet0/0/2]ip add 192.168.1.13 30
[r5-GigabitEthern