中小型企业内部网络架构

发布时间:2020-06-29 09:11:35 作者:劉浩良
来源:网络 阅读:3362

中小型企业内部网络架构
搭建拓扑,最后保证全网互通,用客户端“Client1"成功访问”Server1“
其中:Server1为WEB服务器,server2为DNS服务器,属于VLAN30,网关在SW4上,PC1和3属于VLAN10,PC2属于VLAN20,PC4,5和客户端属于VLAN40,SW1上有十网段和二十网段的网关,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
以上为各终端IP地址


SW2:
<Huawei>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!

<Huawei>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!

<Huawei>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]
创建VLAN 并将端口加入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!

<Huawei>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]



中小型企业内部网络架构
这张图是客户端配置界面
中小型企业内部网络架构
上图为WEB服务器,也就是server1的WEB配置界面,html文件格式我会放在最下
中小型企业内部网络架构
上图为server1的配置界面
中小型企业内部网络架构
上图为DNS服务器,也就是server2的DNS配置界面
中小型企业内部网络架构
上图为server2的配置界面


全部配置完毕,结果验证成功。

以下为index.html文件格式

<html>
<head>
<title>wodegerenzhuye</title>
</head>
<body>huanyingfangwen
</body>
</html>
推荐阅读:
  1. 数据中心网络架构
  2. 文件摆渡如何不改变现有网络架构?

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

server 交换机 trunk

上一篇:下载安装jdk的步骤

下一篇:java中的反射是什么意思

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》