導航:首頁 > 網路設置 > 思科網路拓撲設置

思科網路拓撲設置

發布時間:2023-09-10 08:54:59

『壹』 三層交換機的網路拓撲圖和配置命令怎麼做啊

以思科三層交換機為例:
1、網路拓撲圖:

2、配置命令:

1)路由器的配置:
interface FastEthernet0/0
ip address 10.66.88.222 255.255.255.0
ip nat outside
plex auto
speed auto
interface FastEthernet0/1
ip address 192.168.1.1 255.255.255.0
ip nat inside
plex auto
speed auto
interface Vlan1
no ip address
shutdown
ip nat
inside source list 1 interface FastEthernet0/0 overload
ip classless
ip route 192.168.2.0 255.255.255.0 192.168.1.222
ip route 192.168.3.0
255.255.255.0 192.168.1.222
access-list 1 permit 192.168.0.0 0.0.255.255

2)三層交換機的配置:
hostname L3-SW
ip dhcp pool vlan2pool
network 192.168.3.0
255.255.255.0
default-router 192.168.3.1
dns-server 202.101.172.35
ip dhcp pool vlan1pool
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns-server 202.101.172.35
interface
FastEthernet0/1
no switchport
ip address 192.168.1.222 255.255.255.0
plex auto
speed auto
interface FastEthernet0/2
switchport mode
trunk
interface FastEthernet0/5
switchport mode trunk
interface
Vlan1
ip address 192.168.2.1 255.255.255.0
interface Vlan2
ip address 192.168.3.1 255.255.255.0
ip classless
ip route 0.0.0.0 0.0.0.0
192.168.1.1

『貳』 PT思科模擬器,如何根據以下拓撲圖配置全網

如圖,先自定各設備的網路配置。然後分成以下十五個步驟來輸入:

一、為PC0-5配置IP、掩碼、網關(IP自定,網關選vlan將要設置的IP)

PC0:ip=192.168.0.1,掩碼=255.255.255.0,網關=192.168.0.254

PC1:ip=192.168.10.1,掩碼=255.255.255.0,網關=192.168.10.254

PC2:ip=192.168.20.1,掩碼=255.255.255.0,網關=192.168.20.254

PC3:ip=192.168.30.1,掩碼=255.255.255.0,網關=192.168.30.254

PC4:ip=192.168.40.1,掩碼=255.255.255.0,網關=192.168.40.254

二、配置交換機Switch0進入全局配置模式,然後按圖示創建兩個vlan

enable(進入特權模式)

configure terminal(進入全局配置模式)

vlan 10(創建vlan10)

vlan 20

exit(返回,回退到全局配置模式)

三、為連接PC1的埠設置成普通模式並加入vlan10

interface fastEthernet 0/1(進入埠0/1)

switchport mode access(切換埠為Access普通模式)

(交換設備埠都一般都默認為access模式)

switchport access vlan 10(當前埠加入vlan10)

exit

四、為連接PC2的埠設置成普通模式並加入vlan20

interface fastEthernet 0/2

switchport mode access

switchport access vlan 20

exit

五、為交換機上聯三層交換機的埠設置成中繼模式並允許所有vlan流量通行

interface fastEthernet 0/3

switchport mode trunk(切換埠為Trunk中繼模式)

(Trunk模式主要用在連接其它交換機,以便在線路上承載多個vlan。)

switchport trunk allowed vlan all(設置中繼模式允許所有Vlan的流量通行)

六、配置三層交換機Multilayer Switch0,進入全局配置模式,啟動路由功能

enable

configure terminal

ip routing(啟動路由轉發功能)

七、創建並進入vlan10進行配置

vlan 10

exit

interface vlan 10(進入vlan10)

ip address 192.168.10.254 255.255.255.0(配置Vlan的IP地址和掩碼)

exit

八、創建並進入vlan20進行配置

vlan20

exit

interface vlan 20

ip address 192.168.20.254 255.255.255.0

exit

九、進入交換機三層下聯二層的埠設置成中繼模式並允許所有vlan流量通行

interface fastEthernet 0/4

switchport trunk encapsulation dot1q(聲明此交換機埠中繼連路封裝是802.11q協議(dot1q))

switchport mode trunk

switchport trunk allowed vlan all

十、創建並進入vlan30進行配置

vlan 30

exit

interface vlan 30

ip address 192.168.30.254 255.255.255.0

exit

int f0/3

switchport mode access

switchport access vlan 30

十一、不知道PC4是用的vlan,還是直接開的三層介面,所以提供了兩種方法:

(1)創建並進入vlan40進行配置,然後進入埠0/2設置普通模式並允許vlan40流量通行

vlan 40

interface vlan 40

ip address 192.168.40.254 255.255.255.0

exit

interface fastEthernet 0/2

switchport mode access

switchport access vlan 40

(2)三層介面模式

interface fastEthernet 0/2

no switchport

ip address 192.168.40.254 255.255.255.0

十二、進入三層交換機的0/1埠,設成路由模式並配置

interface fastEthernet 0/1

no switchport(把介面的2層交換功能代替成3層路由模式)

ip address 192.168.50.1 255.255.255.0

十三、設置三層交換機到路由器的下一跳地址(按照圖示就在此設置靜態路由)

(命令格式是ip route <ip地址> <子網掩碼> <網關>)

end

config

ip route 192.168.0.0 255.255.255.0 192.168.50.2(192.168.50.2是三層到路由的下一跳地址,即對端)

十四、進入路由器的0/1埠,開啟並配置IP和掩碼

enable

configure terminal

interface fastEthernet 0/1

no shutdown

ip add 192.168.50.2 255.255.255.0(設置與三層相連的網段)

十五、進入路由器的0/0埠設置IP和掩碼並配置靜態路由(此處設置默認路由)

interface fastEthernet 0/0

no shutdown

ip address 192.168.0.254 255.255.255.0

ip route 0.0.0.0 0.0.0.0 192.168.50.1(192.168.50.1是路由到三層的下一跳地址,即對端三層的介面地址)


命令確實不少的,還需要題主慢慢去了解,去明白這涉及的知識點。

『叄』 用思科模擬軟體構建一個學校的網路拓撲圖,怎樣配置

1、點擊【網路圖】,在模板下點擊【思科網路拓撲圖】,在例子下點擊第一個模板例子,然後在右側點擊【創建】

閱讀全文

與思科網路拓撲設置相關的資料

熱點內容
網路通上不了網是路由器壞了嗎 瀏覽:928
網路安全培訓內容範文 瀏覽:76
電信連接網路設置 瀏覽:133
為什麼網路無法連接到ie 瀏覽:501
當貝和創舟網路電視盒哪個好 瀏覽:47
wan鏈路上應用哪個網路 瀏覽:675
網路專線租賃屬於哪個行業 瀏覽:985
網路安全檢測方案 瀏覽:466
網路安全法講座觀後感 瀏覽:563
網路公鏈什麼意思 瀏覽:36
移動網路晚上網路太差 瀏覽:948
一九年有哪些網路游戲 瀏覽:285
所有無線網路都是感嘆號 瀏覽:220
e家寬網路續費後如何開通 瀏覽:539
網路營銷方法和應用 瀏覽:692
電腦網路測試儀正負極 瀏覽:486
銀行的網路功能有哪些 瀏覽:454
網路設備無線 瀏覽:25
關閉電視網路連接有線電視機頂盒 瀏覽:576
網路專線哪個公司好 瀏覽:221

友情鏈接