工程项目需求
有一家刚成立的公司,租用了四间办公室,需要建设公司的内部网络,其中总经理办公室有4台电脑,综合办公室有四台电脑和一台服务器,技术部门有31台电脑,市场部门有17台电脑,公司要求在完成组网后,实现公司内部网络互联互通,网络设计要具有一定的可扩展性,。
请根据你所学的知识完成此公司的组网需求。
3拓扑规划:
由于模拟器的限制只能用少数来代替
4相关配置:
二层配置,进入交换机划分vlan
S1
[Huawei]v b 10 20 30 40
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]p l a
[Huawei-GigabitEthernet0/0/1]port default vlan 10
[Huawei-GigabitEthernet0/0/1]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port link-type access
[Huawei-GigabitEthernet0/0/2]port default vlan 20
[Huawei-GigabitEthernet0/0/2]int g0/0/3
[Huawei-GigabitEthernet0/0/3] p l a
[Huawei-GigabitEthernet0/0/3]p d v 20
[Huawei-GigabitEthernet0/0/3]int g0/0/4
[Huawei-GigabitEthernet0/0/4]p l a
[Huawei-GigabitEthernet0/0/4]p d v 30
[Huawei-GigabitEthernet0/0/4]int g0/0/5
[Huawei-GigabitEthernet0/0/5]p l a
[Huawei-GigabitEthernet0/0/5]p d v 40
[Huawei-GigabitEthernet0/0/5]
[Huawei-GigabitEthernet0/0/5]int g0/0/6
[Huawei-GigabitEthernet0/0/6]p l t
[Huawei-GigabitEthernet0/0/6]p t a v 10 20 30 40
[Huawei-GigabitEthernet0/0/6]
交换机配置
[Huawei]int g0/0/0.1
[Huawei-GigabitEthernet0/0/0.1]dis th
[V200R003C00]
#
interface GigabitEthernet0/0/0.1
dot1q termination vid 10
ip address 192.168.1.1 255.255.255.192
arp broadcast enable
#
return
[Huawei-GigabitEthernet0/0/0.1]dhcp sel int
[Huawei-GigabitEthernet0/0/0.1]int g0/0/0.2
[Huawei-GigabitEthernet0/0/0.2]dot1q termination vid 20
[Huawei-GigabitEthernet0/0/0.2]ip add 192.168.1.65 26
[Huawei-GigabitEthernet0/0/0.2]arp broadcast enable
[Huawei-GigabitEthernet0/0/0.2]dhcp sel int
[Huawei-GigabitEthernet0/0/0.2]int g0/0/0.3
[Huawei-GigabitEthernet0/0/0.3]int g0/0/0.4
[Huawei-GigabitEthernet0/0/0.4]ip add 192.168.1.129 26
[Huawei-GigabitEthernet0/0/0.4]dhcp sel int
[Huawei-GigabitEthernet0/0/0.4]arp broadcast e
Error: This interface is not a termination interface.
[Huawei-GigabitEthernet0/0/0.4]dot1q termination vid 30
[Huawei-GigabitEthernet0/0/0.4]arp broadcast enable
[Huawei-GigabitEthernet0/0/0.4]int g0/0/0.5
[Huawei-GigabitEthernet0/0/0.5]ip add 192.168.1.193 26
[Huawei-GigabitEthernet0/0/0.5]dot1q termination vid 40
[Huawei-GigabitEthernet0/0/0.5]dhcp sel int
[Huawei-GigabitEthernet0/0/0.5]arp broadcast enable