倾旋的博客

倾旋的博客

现阶段在进行有效性验证/攻击模拟相关的安全研究工作,我的博客会记录一些我的学习过程和部分安全技术研究成果。

16 Mar 2018

华为RIP协议

本文记录一下华为RIP协议的简单配置

CLINET1:

IP:192.168.1.10

掩码:255.255.255.0

网关:192.168.1.1

CLINET2:

IP:192.168.2.10

掩码:255.255.255.0

网关:192.168.2.1

用到的网段有:

enter description here
0x06

配置接口IP:

[AR1]配置命令如下——————————————————————- »

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname AR1

[AR1]int

Nov? 6 2015 11:33:00-05:13 AR1 %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEthern

et0/0/1 has turned into UP state.

[AR1]int G0/0/0

[AR1-GigabitEthernet0/0/0]ip add 192.168.1.1 24

[AR1-GigabitEthernet0/0/0]

Nov? 6 2015 11:33:27-05:13 AR1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP

on the interface GigabitEthernet0/0/0 has entered the UP state.

[AR1-GigabitEthernet0/0/0]int g0/0/1

[AR1-GigabitEthernet0/0/1]ip add 192.168.5.1 24

[AR1-GigabitEthernet0/0/1]

Nov? 6 2015 11:34:19-05:13 AR1 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP

on the interface GigabitEthernet0/0/1 has entered the UP state.

[AR1-GigabitEthernet0/0/1]

[AR1-GigabitEthernet0/0/1]q

[AR1]rip

[AR1-rip-1]version 1

[AR1-rip-1]network 192.168.5.0

[AR1-rip-1]network 192.168.1.0

[AR2]配置命令如下——————————————————————- »

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname AR2

[AR2]int g0/0/0

[AR2-GigabitEthernet0/0/0]ip add 192.168.5.2 24

[AR2-GigabitEthernet0/0/0]

Nov? 6 2015 11:34:41-05:13 AR2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

on the interface GigabitEthernet0/0/0 has entered the UP state.

[AR2-GigabitEthernet0/0/0]int g0/0/1

[AR2-GigabitEthernet0/0/1]ip add 192.168.6.1 24

[AR2-GigabitEthernet0/0/1]

Nov? 6 2015 11:34:54-05:13 AR2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP

on the interface GigabitEthernet0/0/1 has entered the UP state.

[AR2-GigabitEthernet0/0/1]

[AR2-GigabitEthernet0/0/1]q

[AR2-rip-1]version 1

[AR2-rip-1]network 192.168.5.0

[AR2-rip-1]network 192.168.6.0

[AR3]配置命令如下——————————————————————- »

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname AR3

[AR3]int G0/0/0

[AR3-GigabitEthernet0/0/0]ip add 192.168.6.2 24

[AR3-GigabitEthernet0/0/0]

Nov? 6 2015 11:35:20-05:13 AR3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

on the interface GigabitEthernet0/0/0 has entered the UP state.

[AR3-GigabitEthernet0/0/0]int G0/0/1

[AR3-GigabitEthernet0/0/1]ip add 192.168.2.1 24

[AR3]rip

[AR3-rip-1]version 1

[AR3-rip-1]network 192.168.6.0

[AR3-rip-1]

[AR3-rip-1]network 192.168.2.0

配置结果:

enter description here
0x07

实验链接:http://pan.baidu.com/s/1dDhVMxj 密码:xfnv