自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

不配置回指路由 多網(wǎng)段網(wǎng)絡(luò)如何互聯(lián)?

網(wǎng)絡(luò) 路由交換
不配置回指路由,就實(shí)現(xiàn)多網(wǎng)段網(wǎng)絡(luò)互聯(lián),這有相當(dāng)?shù)膶?shí)際需求。本文主要給大家詳細(xì)的介紹了幾種情況,相信看過此文會對你有所幫助。

本文主要給大家詳細(xì)的介紹了對于幾種回路路由的情況,給大家詳細(xì)的解答了如何進(jìn)行配置,并且給出了配置命令,相信此文對你有所幫助。

不配置回指路由,就實(shí)現(xiàn)多網(wǎng)段網(wǎng)絡(luò)互聯(lián),這有相當(dāng)?shù)膶?shí)際需求。特別針對以下幾種情況:
1、隨著網(wǎng)絡(luò)的復(fù)雜化,本來局域網(wǎng)是一個網(wǎng)段。后來因需要劃分了多個網(wǎng)段,但是由于機(jī)器較多逐個修改IP地址和網(wǎng)關(guān)比較麻煩的情況。
2、出口的路由器為傻瓜產(chǎn)品無法自己添加靜態(tài)路由,以及僅能對本地直連網(wǎng)段做NAT。
3、懶人,連路由都懶的配的懶人或配不好的新學(xué)。

拓?fù)浣Y(jié)構(gòu):
1、 PC1在VLAN 10中,IP地址是192.168.10.0/24
2、 PC2在VLAN20中,IP地址是192.168.20.0/24
3、 路由器在VLAN30中,IP地址是192.168.30.0/24
4、 中間的交換機(jī)為三層交換或者是路由器(不需要VLAN)。

 配置關(guān)鍵點(diǎn):
1、 三層交換機(jī)的VLAN10 VLAN20 VLAN30虛接口要起PROXY-ARP協(xié)議(CISCO默認(rèn)是開啟的此處采用的是CISCO設(shè)備,因此配置中體現(xiàn)不出來)。相關(guān)配置如下:
!
interface FastEthernet3/0
switchport access vlan 10
!
interface FastEthernet3/1
switchport access vlan 20
!
interface FastEthernet3/2
switchport access vlan 30
!
interface Vlan10
ip address 192.168.10.1 255.255.255.0
!
interface Vlan20
ip address 192.168.20.1 255.255.255.0
!
interface Vlan30
ip address 192.168.30.1 255.255.255.0
2、 下面PC機(jī)的網(wǎng)關(guān)可以設(shè)置為自身也可以設(shè)置為VLAN虛接口的網(wǎng)關(guān)。
3、 出口路由器的內(nèi)網(wǎng)IP地址掩碼要變?。ㄖ灰軌虬瑑?nèi)網(wǎng)的相關(guān)網(wǎng)段即可),此處為了方便選用了16bit,IP地址是192.168.30.2/16,無需添加任何靜態(tài)路由。相關(guān)配置如下:
interface FastEthernet2/0
ip address 192.168.30.2 255.255.0.0
duplex auto
speed auto

R3# show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

C? ? 192.168.0.0/16 is directly connected, FastEthernet2/0
R3#

四、 測試結(jié)果如下:
R3#ping 192.168.10.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/72/120 ms
R3#ping 192.168.20.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.20.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 60/76/116 ms

 

責(zé)任編輯:chenqingxiang 來源: itmop
相關(guān)推薦

2015-03-13 15:50:39

靜態(tài)路由網(wǎng)段協(xié)議

2009-12-14 09:26:05

配置靜態(tài)路由

2009-12-17 13:53:31

Route路由功能

2019-09-09 09:29:27

互聯(lián)網(wǎng)程序員職業(yè)

2009-12-23 16:32:04

靜態(tài)路由配置

2009-11-19 11:15:39

思科路由器配置

2009-11-17 11:33:07

路由器配置

2009-09-23 10:20:00

2009-04-14 09:48:00

cisco路由器配置

2019-09-10 13:58:57

動態(tài)路由路由器網(wǎng)絡(luò)

2009-04-08 10:35:00

靜態(tài)路由配置

2013-05-30 08:49:37

網(wǎng)絡(luò)路由路由修復(fù)路由

2011-04-15 10:49:16

2011-04-15 10:50:23

2009-11-19 17:18:30

靜態(tài)路由動態(tài)路由

2011-04-15 10:09:23

2011-04-15 10:37:24

2010-07-30 17:07:37

路由器配置

2009-02-06 09:50:00

路由器網(wǎng)段

2009-11-30 13:42:51

點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號