小型公司网络组建及WEB服务配置及DNS解析
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了小型公司网络组建及WEB服务配置及DNS解析相关的知识,希望对你有一定的参考价值。
实验名称:小型公司网络组建及WEB服务配置及DNS解析
实验拓扑:
所需设备:
1、5台三层交换机(路由器也OK)
2、 1台DNS服务器
3、 1台WEB服务器
4、 5台PC机
5、 一台客户端 client 1
地址规划:
设备 IP地址及子网掩码 所属vlan 网关 DNS
PC1 |192.168.1.1|/24 |VLAN10 |192.168.1.254| 192.168.3.1|
PC2 |192.168.2.2|/24 |VLAN20 |192.168.2.254| 192.168.3.1|
PC3 |192.168.1.3|/24 |VLAN10 |192.168.1.254| 192.168.3.1|
PC4 |192.168.4.4|/24 |VLAN40 |192.168.4.254| 192.168.3.1|
PC5 |192.168.4.5|/24 |VLAN40 |192.168.4.254| 192.168.3.1|
client1| 192.168.4.6|/24 |VLAN40 |192.168.4.254| 192.168.3.1|
DNS服务器 192.168.3.1/24 Vlan30 192.168.3.254 192.168.3.1|
WEB服务器 192.168.3.88/24 Vlan30 192.168.3.254 192.168.3.1|
设备 端口 链路模式
SW1 Ge0/0/1 Access
Sw1 Ge0/0/2 Trunk
Sw1 Ge0/0/3 Trunk
Sw1 Ge0/0/4 Access
Sw1 Ge0/0/5 Access
Sw2 Ge0/0/1 Trunk
Sw2 Ge0/0/2 Trunk
Sw3 Ge0/0/1 Access
Sw3 Ge0/0/2 Access
Sw3 Ge0/0/3 Trunk
Sw3 Ge0/0/4 Trunk
Sw4 Ge0/0/1 Access
Sw4 Ge0/0/2 Trunk
Sw4 Ge0/0/3 Trunk
Sw5 Ge0/0/1 Trunk
Sw5 Ge0/0/2 Access
Sw5 Ge0/0/3 Access
Sw5 Ge0/0/4 Access
实验目的:实现全网互通,客户端可以通过网址访问
实验步骤:
1、给PC配置地址
2、配置三层交换机 划分VLAN及配置网关
LSW3
<Huawei>
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]vlan 10
[Huawei-vlan10]vlan 20
[Huawei-vlan20]q
[Huawei]
Jan 17 2018 19:30:30-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 5, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]p
[Huawei-GigabitEthernet0/0/1]port l
[Huawei-GigabitEthernet0/0/1]port link-t
[Huawei-GigabitEthernet0/0/1]port link-type a
[Huawei-GigabitEthernet0/0/1]port link-type access
[Huawei-GigabitEthernet0/0/1]p
[Huawei-GigabitEthernet0/0/1]port de
[Huawei-GigabitEthernet0/0/1]port default vlan 10
[Huawei-GigabitEthernet0/0/1]q
[Huawei]int g0/0
Jan 17 2018 19:30:50-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 7, th
e change loop count is 0, and the maximum number of records is 4095./2
[Huawei-GigabitEthernet0/0/2]p
[Huawei-GigabitEthernet0/0/2]port l
[Huawei-GigabitEthernet0/0/2]port link-t
[Huawei-GigabitEthernet0/0/2]port link-type a
[Huawei-GigabitEthernet0/0/2]port link-type access
[Huawei-GigabitEthernet0/0/2]p
[Huawei-GigabitEthernet0/0/2]port de
[Huawei-GigabitEthernet0/0/2]port default vlan 20
[Huawei-GigabitEthernet0/0/2]q
[Huawei]
Jan 17 2018 19:31:00-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 9, th
e change loop count is 0, and the maximum number of records is 4095.int g0/0/3
[Huawei-GigabitEthernet0/0/3]p
[Huawei-GigabitEthernet0/0/3]port l
[Huawei-GigabitEthernet0/0/3]port link-t
[Huawei-GigabitEthernet0/0/3]port link-type t
[Huawei-GigabitEthernet0/0/3]port link-type trunk
[Huawei-GigabitEthernet0/0/3]p
[Huawei-GigabitEthernet0/0/3]port
Jan 17 2018 19:31:10-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 10, t
he change loop count is 0, and the maximum number of records is 4095.
[Huawei-GigabitEthernet0/0/3]port t
[Huawei-GigabitEthernet0/0/3]port trunk a
[Huawei-GigabitEthernet0/0/3]port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/3]q
[Huawei]int g
Jan 17 2018 19:31:20-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 11, t
he change loop count is 0, and the maximum number of records is 4095.
[Huawei]int GigabitEthernet 0/0/4
[Huawei-GigabitEthernet0/0/4]p
[Huawei-GigabitEthernet0/0/4]port l
[Huawei-GigabitEthernet0/0/4]port link-t
[Huawei-GigabitEthernet0/0/4]port link-type
Jan 17 2018 19:31:28-08:00 Huawei %%01PHY/1/PHY(l)[0]: GigabitEthernet0/0/1:
change status to down
Jan 17 2018 19:31:29-08:00 Huawei %%01PHY/1/PHY(l)[1]: GigabitEthernet0/0/1:
change status to up
[Huawei-GigabitEthernet0/0/4]port link-type t
[Huawei-GigabitEthernet0/0/4]port link-type trunk
[Huawei-GigabitEthernet0/0/4]p
[Huawei-GigabitEthernet0/0/4]port t
[Huawei-GigabitEthernet0/0/4]port trunk a
[Huawei-GigabitEthernet0/0/4]port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/4]
LSW4
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]vlan 10
[Huawei-vlan10]q
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]
Jan 17 2018 19:32:10-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 4, th
e change loop count is 0, and the maximum number of records is 4095.p
[Huawei-GigabitEthernet0/0/1]port l
[Huawei-GigabitEthernet0/0/1]port link-t
[Huawei-GigabitEthernet0/0/1]port link-type a
[Huawei-GigabitEthernet0/0/1]port link-type access
[Huawei-GigabitEthernet0/0/1]p
[Huawei-GigabitEthernet0/0/1]port de
[Huawei-GigabitEthernet0/0/1]port default vlan 10
[Huawei-GigabitEthernet0/0/1]q
[Huawei]int g0/0/2
Jan 17 2018 19:32:20-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 6, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei-GigabitEthernet0/0/2]p
[Huawei-GigabitEthernet0/0/2]port
[Huawei-GigabitEthernet0/0/2]port l
[Huawei-GigabitEthernet0/0/2]port link-t
[Huawei-GigabitEthernet0/0/2]port link-type t
[Huawei-GigabitEthernet0/0/2]port link-type trunk
[Huawei-GigabitEthernet0/0/2]p
[Huawei-GigabitEthernet0/0/2]port t
[Huawei-GigabitEthernet0/0/2]port trunk a
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass
Jan 17 2018 19:32:30-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 7, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/2]q
[Huawei]int g0/0/3
[Huawei-GigabitEthernet0/0/3]
Jan 17 2018 19:32:40-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 8, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei-GigabitEthernet0/0/3]p
[Huawei-GigabitEthernet0/0/3]port l
[Huawei-GigabitEthernet0/0/3]port link-t
[Huawei-GigabitEthernet0/0/3]port link-type t
[Huawei-GigabitEthernet0/0/3]port link-type trunk
[Huawei-GigabitEthernet0/0/3]p
[Huawei-GigabitEthernet0/0/3]port t
[Huawei-GigabitEthernet0/0/3]port trunk
Jan 17 2018 19:32:50-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 9, th
e change loop count is 0, and the maximum number of records is 4095.a
[Huawei-GigabitEthernet0/0/3]port trunk allow-pass vlan all
Jan 17 2018 19:32:55-08:00 Huawei %%01PHY/1/PHY(l)[0]: GigabitEthernet0/0/1:
change status to up
[Huawei-GigabitEthernet0/0/3]
Jan 17 2018 19:33:00-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 10, t
he change loop count is 0, and the maximum number of records is 4095.
[Huawei-GigabitEthernet0/0/3]q
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]vlan 40
[Huawei-vlan40]q
[Huawei]int g0/0/2
[Huawei-GigabitEthernet0/0/2]p
[Huawei-GigabitEthernet0/0/2]port l
[Huawei-GigabitEthernet0/0/2]port link-
Jan 17 2018 19:33:30-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 4, th
e change loop count is 0, and the maximum number of records is 4095.t
[Huawei-GigabitEthernet0/0/2]port link-type a
[Huawei-GigabitEthernet0/0/2]port link-type access
[Huawei-GigabitEthernet0/0/2]p
[Huawei-GigabitEthernet0/0/2]port de
[Huawei-GigabitEthernet0/0/2]port default vlan 40
[Huawei-GigabitEthernet0/0/2]q
[Huawei]int g0
Jan 17 2018 19:33:40-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 6, th
e change loop count is 0, and the maximum number of records is 4095./0/3
[Huawei-GigabitEthernet0/0/3]p
[Huawei-GigabitEthernet0/0/3]port l
[Huawei-GigabitEthernet0/0/3]port link-t
[Huawei-GigabitEthernet0/0/3]port link-type a
[Huawei-GigabitEthernet0/0/3]port link-type access
[Huawei-GigabitEthernet0/0/3]p
[Huawei-GigabitEthernet0/0/3]port l
[Huawei-GigabitEthernet0/0/3]port de
[Huawei-GigabitEthernet0/0/3]port default vlan 4
Jan 17 2018 19:33:50-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 7, th
e change loop count is 0, and the maximum number of records is 4095.0
[Huawei-GigabitEthernet0/0/3]q
[Huawei]int g0/0/
Jan 17 2018 19:33:57-08:00 Huawei %%01PHY/1/PHY(l)[0]: GigabitEthernet0/0/4:
change status to down
[Huawei]int g0/0/
Jan 17 2018 19:33:58-08:00 Huawei %%01PHY/1/PHY(l)[1]: GigabitEthernet0/0/4:
change status to up
[Huawei]int g0/0/
Jan 17 2018 19:34:00-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 8, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei]int g0/0/4
[Huawei-GigabitEthernet0/0/4]p
[Huawei-GigabitEthernet0/0/4]port
[Huawei-GigabitEthernet0/0/4]port l
[Huawei-GigabitEthernet0/0/4]port link-t
[Huawei-GigabitEthernet0/0/4]port link-type a
[Huawei-GigabitEthernet0/0/4]port link-type access
[Huawei-GigabitEthernet0/0/4]p
[Huawei-GigabitEthernet0/0/4]port de
[Huawei-GigabitEthernet0/0/4]port default vlan 40
[Huawei-GigabitEthernet0/0/4]q
[Huawei]int g0/0
Jan 17 2018 19:34:20-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 10, t
he change loop count is 0, and the maximum number of records is 4095./1
[Huawei-GigabitEthernet0/0/1]p
[Huawei-GigabitEthernet0/0/1]port
[Huawei-GigabitEthernet0/0/1]port l
[Huawei-GigabitEthernet0/0/1]port link-t
[Huawei-GigabitEthernet0/0/1]port link-type t
[Huawei-GigabitEthernet0/0/1]port link-type trunk
[Huawei-GigabitEthernet0/0/1]
Jan 17 2018 19:34:30-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 11, t
he change loop count is 0, and the maximum number of records is 4095.
[Huawei-GigabitEthernet0/0/1]p
[Huawei-GigabitEthernet0/0/1]port t
[Huawei-GigabitEthernet0/0/1]port trunk a
[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/1]
Jan 17 2018 19:34:40-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 12, t
he change loop count is 0, and the maximum number of records is 4095.
<Huawei>
LSW2
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]vlan 30
[Huawei-vlan30]vkan 40
^
Error: Unrecognized command found at ‘^‘ position.
[Huawei-vlan30]q
[Huawei]
Jan 17 2018 19:39:10-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 4, th
e change loop count is 0, and the maximum number of records is 4095.q
[Huawei]vlan 40
[Huawei-vlan40]
[Huawei-vlan40]q
[Huawei]int vlan
Jan 17 2018 19:39:20-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 5, th
e change loop count is 0, and the maximum number of records is 4095.30
[Huawei-Vlanif30]undo shutdown
Info: Interface Vlanif30 is not shutdown.
[Huawei-Vlanif30]ip add 192.168.3.254 255.255.255.0
[Huawei-Vlanif30]q
[Huawei]int vlan 40
[Huawei-Vlanif40]ip add 19
Jan 17 2018 19:39:40-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 6, th
e change loop count is 0, and the maximum number of records is 4095.2.168.
[Huawei-Vlanif40]ip add 192.168.
[Huawei-Vlanif40]ip add 192.168.4.254 255.255.255.0
[Huawei-Vlanif40]q
[Huawei]int g0/
Jan 17 2018 19:40:00-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 7, th
e change loop count is 0, and the maximum number of records is 4095.0/2
[Huawei-GigabitEthernet0/0/2]p
[Huawei-GigabitEthernet0/0/2]port l
[Huawei-GigabitEthernet0/0/2]port link-t
[Huawei-GigabitEthernet0/0/2]port link-type t
[Huawei-GigabitEthernet0/0/2]port link-type trunk
[Huawei-GigabitEthernet0/0/2]p
[Huawei-GigabitEthernet0/0/2]port t
[Huawei-GigabitEthernet0/0/2]port trunk a
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/2]
Jan 17 2018 19:40:09-08:00 Huawei %%01IFNET/4/IF_STATE(l)[0]:Interface Vlanif30
has turned into UP state.
Jan 17 2018 19:40:09-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
IP on the interface Vlanif30 has entered the UP state.
Jan 17 2018 19:40:09-08:00 Huawei %%01IFNET/4/IF_STATE(l)[2]:Interface Vlanif40
has turned into UP state.
Jan 17 2018 19:40:09-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[3]:The line protocol
IP on the interface Vlanif40 has entered the UP state.
Jan 17 2018 19:40:10-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 9, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei-GigabitEthernet0/0/2]q
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]p
[Huawei-GigabitEthernet0/0/1]port l
[Huawei-GigabitEthernet0/0/1]port link-t
[Huawei-GigabitEthernet0/0/1]port link-type t
[Huawei-GigabitEthernet0/0/1]port link-type trunk
[Huawei-GigabitEthernet0/0/1]p
[Huawei-GigabitEthernet0/0/1]port t
[Huawei-GigabitEthernet0/0/1]port trunk
Jan 17 2018 19:42:10-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 10, t
he change loop count is 0, and the maximum number of records is 4095.a
[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/1]
Jan 17 2018 19:42:20-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 11, t
he change loop count is 0, and the maximum number of records is 4095.
Jan 17 2018 19:43:57-08:00 Huawei %%01PHY/1/PHY(l)[4]: GigabitEthernet0/0/2:
change status to up
Jan 17 2018 19:44:44-08:00 Huawei %%01PHY/1/PHY(l)[5]: GigabitEthernet0/0/1:
change status to down
[Huawei-GigabitEthernet0/0/1]clear configuration interface GigabitEthernet 0/0/1
Warning: All configurations of the interface will be cleared, and its state will
be shutdown. Continue? [Y/N] :y
Info: Total execute 2 command(s), 2 successful, 0 failed.
[Huawei]
Jan 17 2018 19:45:10-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 14, t
he change loop count is 0, and the maximum number of records is 4095.
[Huawei]rip
[Huawei-rip-1]net
[Huawei-rip-1]network 192.168.3.0
[Huawei-rip-1]network 192.168.4.0
Jan 17 2018 19:46:00-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 16, t
he change loop count is 0, and the maximum number of records is 4095.
[Huawei-rip-1]
[Huawei-rip-1]q
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]undo shutdown
[Huawei-GigabitEthernet0/0/1]
[Huawei-GigabitEthernet0/0/1]p
[Huawei-GigabitEthernet0/0/1]port l
[Huawei-GigabitEthernet0/0/1]port link- t
[Huawei-GigabitEthernet0/0/1]port link- t
[Huawei-GigabitEthernet0/0/1]port link-t
[Huawei-GigabitEthernet0/0/1]port link-type a
[Huawei-GigabitEthernet0/0/1]port link-type access
[Huawei-GigabitEthernet0/0/1]port de
[Huawei-GigabitEthernet0/0/1]port default vlan
Jan 17 2018 19:49:10-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 19, t
he change loop count is 0, and the maximum number of records is 4095.
[Huawei-GigabitEthernet0/0/1]port default vlan
[Huawei-GigabitEthernet0/0/1]port default vlan 30
[Huawei-GigabitEthernet0/0/1]
[Huawei-GigabitEthernet0/0/1]
<Huawei>
LSW1
<Huawei>SYS
Enter system view, return user view with Ctrl+Z.
[Huawei]vlan 10
[Huawei-vlan10]vlan 20
[Huawei-vlan20]vl
Jan 17 2018 20:42:49-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 5, th
e change loop count is 0, and the maximum number of records is 409
[Huawei-vlan20]vlan 30
Jan 17 2018 20:42:57-08:00 Huawei %%01PHY/1/PHY(l)[1]: GigabitEthernet0/0/1:
change status to up
[Huawei-vlan30]q
[Huawei]
Jan 17 2018 20:43:00-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 6, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]p
[Huawei-GigabitEthernet0/0/1]port l
[Huawei-GigabitEthernet0/0/1]port link-t
[Huawei-GigabitEthernet0/0/1]port link-type t
[Huawei-GigabitEthernet0/0/1]port link-type trunk
[Huawei-GigabitEthernet0/0/1]p
[Huawei-GigabitEthernet0/0/1]port t
[Huawei-GigabitEthernet0/0/1]port trunk a
[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/1]q
[Huawei]int g0
Jan 17 2018 20:43:20-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 8, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei]int g0/0/2
[Huawei-GigabitEthernet0/0/2]p
[Huawei-GigabitEthernet0/0/2]port
[Huawei-GigabitEthernet0/0/2]port l
[Huawei-GigabitEthernet0/0/2]port link-t
[Huawei-GigabitEthernet0/0/2]port link-type t
[Huawei-GigabitEthernet0/0/2]port link-type trunk
[Huawei-GigabitEthernet0/0/2]p
[Huawei-GigabitEthernet0/0/2]port t
[Huawei-GigabitEthernet0/0/2]port trunk a
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/2]q
[Huawei]int g0/0/
Jan 17 2018 20:43:40-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 10, t
he change loop count is 0, and the maximum number of records is 4095.
[Huawei]int g0/0/5
[Huawei-GigabitEthernet0/0/5]p
[Huawei-GigabitEthernet0/0/5]port
[Huawei-GigabitEthernet0/0/5]port l
[Huawei-GigabitEthernet0/0/5]port link-t
[Huawei-GigabitEthernet0/0/5]port link-type a
[Huawei-GigabitEthernet0/0/5]port link-type access
[Huawei-GigabitEthernet0/0/5]p
[Huawei-GigabitEthernet0/0/5]port de
[Huawei-GigabitEthernet0/0/5]port default vla
Jan 17 2018 20:43:56-08:00 Huawei %%01PHY/1/PHY(l)[2]: GigabitEthernet0/0/4:
change status to upn
[Huawei-GigabitEthernet0/0/5]port default vlan 30
[Huawei-GigabitEthernet0/0/5]q
[Huawei]in
Jan 17 2018 20:44:00-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 12, t
he change loop count is 0, and the maximum number of records is 4095.t g
[Huawei]int GigabitEthernet 0/0/4
[Huawei-GigabitEthernet0/0/4]p
[Huawei-GigabitEthernet0/0/4]port l
[Huawei-GigabitEthernet0/0/4]port link-t
[Huawei-GigabitEthernet0/0/4]port link-type a
[Huawei-GigabitEthernet0/0/4]port link-type access
[Huawei-GigabitEthernet0/0/4]p
[Huawei-GigabitEthernet0/0/4]port
Jan 17 2018 20:44:10-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 13, t
he change loop count is 0, and the maximum number of records is 4095.du
[Huawei-GigabitEthernet0/0/4]port de
[Huawei-GigabitEthernet0/0/4]port default vlan 30
[Huawei-GigabitEthernet0/0/4]q
[Huawei]
Jan 17 2018 20:44:20-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 14, t
he change loop count is 0, and the maximum number of records is 4095.
[Huawei]int g0/0/3
[Huawei-GigabitEthernet0/0/3]p
[Huawei-GigabitEthernet0/0/3]port l
[Huawei-GigabitEthernet0/0/3]port link-t
[Huawei-GigabitEthernet0/0/3]port link-type a
[Huawei-GigabitEthernet0/0/3]port link-type access
[Huawei-GigabitEthernet0/0/3]
Jan 17 2018 20:44:30-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 15, t
he change loop count is 0, and the maximum number of records is 4095.p
[Huawei-GigabitEthernet0/0/3]port a
Jan 17 2018 20:44:31-08:00 Huawei %%01PHY/1/PHY(l)[3]: GigabitEthernet0/0/4:
change status to dow
[Huawei-GigabitEthernet0/0/3]portswitch
Jan 17 2018 20:44:32-08:00 Huawei %%01PHY/1/PHY(l)[4]: GigabitEthernet0/0/4:
change status to up
[Huawei-GigabitEthernet0/0/3]port de
[Huawei-GigabitEthernet0/0/3]port default vlan 30
[Huawei-GigabitEthernet0/0/3]q
[Huawei]
Jan 17 2018 20:44:40-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 16, t
he change loop count is 0, and the maximum number of records is 4095.int
[Huawei]interface vlan 10
[Huawei-Vlanif10]
Jan 17 2018 20:44:44-08:00 Huawei %%01IFNET/4/IF_STATE(l)[5]:Interface Vlanif10
has turned into UP state.
Jan 17 2018 20:44:45-08:00 Huawei %%01PHY/1/PHY(l)[6]: GigabitEthernet0/0/4:
change status to up
[Huawei-Vlanif10]undo shutd
Jan 17 2018 20:44:49-08:00 Huawei %%01PHY/1/PHY(l)[7]: GigabitEthernet0/0/4:
change status to up
[Huawei-Vlanif10]undo shutdown
Info: Interface Vlanif10 is not shutdown.
[Huawei-Vlanif10]ip add 192.168.1.254 255.255.255.0
[Huawei-Vlanif10]
Jan 17 2018 20:44:58-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[8]:The line protocol
IP on the interface Vlanif10 has entered the UP state.q
[Huawei]i
Jan 17 2018 20:45:00-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 17, t
he change loop count is 0, and the maximum number of records is 4095.nt
[Huawei]interface vlan 20
[Huawei-Vlanif20]
Jan 17 2018 20:45:03-08:00 Huawei %%01IFNET/4/IF_STATE(l)[9]:Interface Vlanif20
has turned into UP state.
[Huawei-Vlanif20]undo shutdown
Info: Interface Vlanif20 is not shutdown.
[Huawei-Vlanif20]ip add 192.168.2.254 255.255.255.0
[Huawei-Vlanif20]
Jan 17 2018 20:45:16-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[10]:The line protoco
l IP on the interface Vlanif20 has entered the UP state.q
[Huawei]int vlan
Jan 17 2018 20:45:20-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 18, t
he change loop count is 0, and the maximum number of records is 4095.
[Huawei]int Vlanif 30
[Huawei-Vlanif30]
Jan 17 2018 20:45:22-08:00 Huawei %%01IFNET/4/IF_STATE(l)[11]:Interface Vlanif30
has turned into UP state.
Jan 17 2018 20:45:22-08:00 Huawei %%01PHY/1/PHY(l)[12]: GigabitEthernet0/0/1:
change status to down
Jan 17 2018 20:45:23-08:00 Huawei %%01PHY/1/PHY(l)[13]: GigabitEthernet0/0/1:
change status to up
[Huawei-Vlanif30]undo shutdown
Info: Interface Vlanif30 is not shutdown.
[Huawei-Vlanif30]ip add 192.168.3.5 255.255.255.0
[Huawei-Vlanif30]
Jan 17 2018 20:45:34-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[14]:The line protoco
l IP on the interface Vlanif30 has entered the UP state.q
[Huawei]
Jan 17 2018 20:45:40-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 19, t
he change loop count is 0, and the maximum number of records is 4095.
Jan 17 2018 20:45:44-08:00 Huawei %%01PHY/1/PHY(l)[15]: GigabitEthernet0/0/1:
change status to down
Jan 17 2018 20:45:45-08:00 Huawei %%01PHY/1/PHY(l)[16]: GigabitEthernet0/0/1:
change status to up
[Huawei]
[Huawei]
[Huawei]rip
[Huawei-rip-1]net
[Huawei-rip-1]network 1
Jan 17 2018 20:46:20-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 20, t
he change loop count is 0, and the maximum number of records is 4095.92
[Huawei-rip-1]network 192.168.1.0
[Huawei-rip-1]network 192.168.2.0
[Huawei-rip-1]network 192.168.3.0
[Huawei-rip-1]
Jan 17 2018 20:46:30-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 23, t
he change loop count is 0, and the maximum number of records is 4095.
配置WEB服务器
验证测试:
pc1 ping pc5
使用客户端输入网址验证
以上是关于小型公司网络组建及WEB服务配置及DNS解析的主要内容,如果未能解决你的问题,请参考以下文章