In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Build the topology, finally ensure the interconnection of the whole network, and successfully access the "Server1" with the client "Client1".
Among them: Server1 is the WEB server, server2 is the DNS server, belongs to VLAN30, the gateway is on SW4, PC1 and 3 belong to VLAN10,PC2 belong to VLAN20,PC4,5, the client belongs to the gateway with ten network segments and twenty network segments on VLAN40,SW1, and there are gateways with thirty network segments and forty network segments on SW4.
Pc1:192.168.10.1
Pc2:192.168.20.1
Pc3:192.168.10.2
Pc4:192.168.40.1
Pc5:192.168.40.2
Client1:192.168.40.3
Server1:192.168.30.1
Server2:192.168.30.2
The above are the IP addresses of each terminal
SW2:
Sys
Enter system view, return user view with Ctrl+Z.
[Huawei]
[Huawei] vlan 10
[Huawei-vlan10]
[Huawei-vlan10] vlan 20
[Huawei-vlan20]
[Huawei-vlan20] vlan 30
[Huawei-vlan30]
[Huawei-vlan30]
[Huawei-vlan30] vlan 40
[Huawei-vlan40]
[Huawei-vlan40] q
[Huawei] int g 0/0/3
[Huawei-GigabitEthernet0/0/3] port link-type access
[Huawei-GigabitEthernet0/0/3] port default vlan 10
[Huawei-GigabitEthernet0/0/3] q
[Huawei] int g 0/0/4
[Huawei-GigabitEthernet0/0/4] port link-type access
[Huawei-GigabitEthernet0/0/4] port default vlan 20
[Huawei-GigabitEthernet0/0/4] q
[Huawei] int g 0/0/2
[Huawei-GigabitEthernet0/0/2]
[Huawei-GigabitEthernet0/0/2]
[Huawei-GigabitEthernet0/0/2] port link-type trunk
[Huawei-GigabitEthernet0/0/2] port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/2]
[Huawei-GigabitEthernet0/0/2] q
[Huawei] int g 0/0/1
[Huawei-GigabitEthernet0/0/1] port link-type trunk
[Huawei-GigabitEthernet0/0/1] port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/1] q
[Huawei]
SW3:
The device is running!
Sys
Enter system view, return user view with Ctrl+Z.
[Huawei] vlan 10
[Huawei-vlan10] vlan 20
[Huawei-vlan20] vlan 30
[Huawei-vlan30] vlan 40
[Huawei-vlan40] q
[Huawei] int g 0/0/1
[Huawei-GigabitEthernet0/0/1] port link-type access
[Huawei-GigabitEthernet0/0/1] port default vlan 10
[Huawei-GigabitEthernet0/0/1] q
[Huawei] int g 0/0/2
[Huawei-GigabitEthernet0/0/2] port link-type trunk
[Huawei-GigabitEthernet0/0/2] port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/2] display this
#
Interface GigabitEthernet0/0/2
Port link-type trunk
Port trunk allow-pass vlan 2 to 4094
#
Return
[Huawei-GigabitEthernet0/0/2] q
[Huawei] int g 0/0/3
[Huawei-GigabitEthernet0/0/3] port link-type trunk
[Huawei-GigabitEthernet0/0/3] port trunk allow-pass vlan all
SW1:
The device is running!
Sys
Enter system view, return user view with Ctrl+Z.
[Huawei] vlan 10
[Huawei-vlan10] vlan 20
[Huawei-vlan20] vlan 30
[Huawei-vlan30] vlan 40
[Huawei-vlan40] q
[Huawei]
[Huawei] int g 0/0/1
[Huawei-GigabitEthernet0/0/1]
[Huawei-GigabitEthernet0/0/1] port link-type trunk
[Huawei-GigabitEthernet0/0/1] port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/1] display this
#
Interface GigabitEthernet0/0/1
Port link-type trunk
Port trunk allow-pass vlan 2 to 4094
#
Return
[Huawei-GigabitEthernet0/0/1] q
[Huawei]
[Huawei] int GigabitEthernet 0/0/3
[Huawei-GigabitEthernet0/0/3]
[Huawei-GigabitEthernet0/0/3] port link-type trunk
[Huawei-GigabitEthernet0/0/3] port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/3]
[Huawei-GigabitEthernet0/0/3] q
[Huawei]
[Huawei] int g 0/0/4
[Huawei-GigabitEthernet0/0/4] port link-type access
[Huawei-GigabitEthernet0/0/4] port default vlan 30
[Huawei-GigabitEthernet0/0/4] q
[Huawei]
[Huawei]
[Huawei] int g 0/0/5
[Huawei-GigabitEthernet0/0/5] port link-type access
[Huawei-GigabitEthernet0/0/5] port default vlan 30
[Huawei-GigabitEthernet0/0/5]
[Huawei-GigabitEthernet0/0/5] q
[Huawei]
[Huawei]
[Huawei] int g 0/0/2
[Huawei-GigabitEthernet0/0/2] port link-type trunk
[Huawei-GigabitEthernet0/0/2]
[Huawei-GigabitEthernet0/0/2]
[Huawei-GigabitEthernet0/0/2] port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/2] display this
#
Interface GigabitEthernet0/0/2
Port link-type trunk
Port trunk allow-pass vlan 2 to 4094
#
Return
[Huawei]
[Huawei] int vlan 10
[Huawei-Vlanif10]
[Huawei-Vlanif10] ip add 192.168.10.254 255.255.255.0
[Huawei-Vlanif10]
[Huawei-Vlanif10] q
[Huawei]
[Huawei] int vlan 20
[Huawei-Vlanif20] ip add 192.168.20.254 255.255.255.0
[Huawei-Vlanif20]
[Huawei-Vlanif20] q
[Huawei]
[Huawei] int vlan 50
[Huawei-Vlanif50] ip add 192.168.50.1 255.255.255.0
[Huawei-Vlanif50] q
[Huawei]
[Huawei]
[Huawei] rip
[Huawei-rip-1] version 2
[Huawei-rip-1] network 192.168.10.0
[Huawei-rip-1] network 192.168.20.0
[Huawei-rip-1] network 192.168.50.0
[Huawei-rip-1]
[Huawei-rip-1]
[Huawei-rip-1]
[Huawei-rip-1] q
[Huawei]
SW5:
[Huawei] int g 0/0/2
[Huawei-GigabitEthernet0/0/2] display this
#
Interface GigabitEthernet0/0/2
Port link-type access
Port default vlan 40
#
Return
[Huawei-GigabitEthernet0/0/2] q
[Huawei]
[Huawei]
[Huawei] int g 0/0/3
[Huawei-GigabitEthernet0/0/3]
[Huawei-GigabitEthernet0/0/3]
[Huawei-GigabitEthernet0/0/3] display this
#
Interface GigabitEthernet0/0/3
Port link-type access
Port default vlan 40
#
Return
[Huawei-GigabitEthernet0/0/3] q
[Huawei]
[Huawei]
[Huawei] int g 0/0/4
[Huawei-GigabitEthernet0/0/4]
[Huawei-GigabitEthernet0/0/4] display this
#
Interface GigabitEthernet0/0/4
Port link-type access
Port default vlan 40
#
Return
[Huawei-GigabitEthernet0/0/4] q
[Huawei]
[Huawei]
[Huawei]
Create a VLAN and add ports to the VLAN
[Huawei]
[Huawei] int g 0/0/1
[Huawei-GigabitEthernet0/0/1]
[Huawei-GigabitEthernet0/0/1]
[Huawei-GigabitEthernet0/0/1] port link-type trunk
[Huawei-GigabitEthernet0/0/1] port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/1]
[Huawei-GigabitEthernet0/0/1]
SW4:
The device is running!
SYS
Enter system view, return user view with Ctrl+Z.
[Huawei] vlan 10
[Huawei-vlan10] vlan 20
[Huawei-vlan20] vlan 30
[Huawei-vlan30] vlan 40
[Huawei-vlan40] vlan 50
[Huawei-vlan50] q
[Huawei]
[Huawei]
[Huawei] int g 0/0/2
[Huawei-GigabitEthernet0/0/2]
[Huawei-GigabitEthernet0/0/2] port link-type trunk
[Huawei-GigabitEthernet0/0/2] port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/2]
[Huawei-GigabitEthernet0/0/2]
[Huawei-GigabitEthernet0/0/2] q
[Huawei]
[Huawei] int g 0/0/1
[Huawei-GigabitEthernet0/0/1] port link-type trunk
[Huawei-GigabitEthernet0/0/1] port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/1] q
[Huawei]
[Huawei]
[Huawei] int vlan 30
[Huawei-Vlanif30]
[Huawei-Vlanif30] ip add 192.168.30.254 255.255.255.0
[Huawei-Vlanif30]
[Huawei-Vlanif30] q
[Huawei]
[Huawei] interface vlan 40
[Huawei-Vlanif40]
[Huawei-Vlanif40] ip add 192.168.40.254 255.255.255.0
[Huawei-Vlanif40]
[Huawei-Vlanif40] q
[Huawei]
[Huawei] int vlan 50
[Huawei-Vlanif50]
[Huawei-Vlanif50] ip add 192.168.50.2 255.255.255.0
[Huawei-Vlanif50] q
[Huawei]
[Huawei] rip
[Huawei-rip-1] version 2
[Huawei-rip-1] network 192.168.30.0
[Huawei-rip-1] network 192.168.40.0
[Huawei-rip-1] network 192.168.50.0
[Huawei-rip-1]
This picture is the client configuration interface.
The picture above is the WEB server, which is the WEB configuration interface of server1. I will put the html file format at the bottom.
The picture above shows the configuration interface of server1.
The picture above shows the DNS server, which is the DNS configuration interface of server2.
The picture above shows the configuration interface of server2.
After all the configuration is completed, the verification is successful.
The following is the index.html file format
Wodegerenzhuyehuanyingfangwen
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.