公司组建小型局域网,小公司局域网的组建方法步骤

首页 > 数码 > 作者:YD1662024-06-08 19:54:22

3、PC6(202.30.70.3) 和 PC7(202.30.71.3)

先到相应的网段 202.30.71.0,再根据路由表进行转发。

公司组建小型局域网,小公司局域网的组建方法步骤(9)

注:其它的测试如上图所示,均可 Ping 通。

5、举例 R3 中的配置

R3>enable

R3#show run

Building configuration...

Current configuration : 1081 bytes

!

version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname R3

!

ip name-server 0.0.0.0

!

interface FastEthernet0/0

no ip address

duplex auto

speed auto

!

interface FastEthernet0/0.61

encapsulation dot1Q 61

ip address 202.30.61.1 255.255.255.0

!

interface FastEthernet0/0.70

encapsulation dot1Q 70

ip address 202.30.70.1 255.255.255.0

!

interface FastEthernet0/0.71

encapsulation dot1Q 71

ip address 202.30.71.1 255.255.255.0

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

shutdown

!

interface Serial0/2/0

no ip address

shutdown

!

interface Serial0/2/1

no ip address

shutdown

!

interface Serial0/3/0

ip address 210.0.0.3 255.255.255.0

!

interface Serial0/3/1

ip address 220.0.0.3 255.255.255.0

!

interface Vlan1

no ip address

shutdown

!

router rip

version 2

network 202.30.61.0

network 202.30.70.0

network 202.30.71.0

network 210.0.0.0

network 220.0.0.0

!

ip classless

!

line con 0

line vty 0 4

login

!

end

S1#show running-config

Building configuration...

Current configuration : 1088 bytes

!

version 12.1

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname S1

!

interface FastEthernet0/1

switchport access vlan 40

!

interface FastEthernet0/2

switchport access vlan 50

!

interface FastEthernet0/3

switchport mode trunk

!

interface Vlan1

no ip address

shutdown

!

interface Vlan40

no ip address

!

interface Vlan50

no ip address

line con 0

!

line vty 0 4

login

line vty 5 15

login

!

end

6、总结与心得

本次所做的实验, 所运用到的知识均为我们上几个星期所配置过的实验。如 RIP 、VLAN 、子网的划分等等。通过各种路由和交换技术,我们可以组建更为复杂的局域网,本次的实验只是一个简化局域网,但从这次的实验中,我们可以充分的了解到, VLAN 技术可以使网段的分配和管理变得更加方便,灵活。

上一页123末页

栏目热文

文档排行

本站推荐

Copyright © 2018 - 2021 www.yd166.com., All Rights Reserved.