单臂路由配置

注意:点

由器路需要配置两个接子口的封和i装p(忘别no 了hs, 理口物和接子都口需要)

交机换要配置两个需lva,把两个接n放进口vln,把a与由路器接连口配置接t成unk,r交机换上三个接的和口两相关个lan别忘了nvos hp

c1pc/,配2ip,置配网关置配置默认,路由

路由配置:

uCrern tonfcigurtaoi : 8n3 6byte

s!

vrsieno 1.24

srvice eimestamtspd ebug dtaetmi esecms

reicevtim setampslo gdatet ie msme

nc osevicerpassword -ncryetpoin

!

hostnae mrmsAtredma

!

bot-otsat-ramrekr

boo-tnedm-arerk

!!n

oaaan e-wmoedl!

reosruecp olicy

ip !usbnt-zereo!

!i

cepfno

ip d oain loomupk

!

!

!

!!!

!

!

!

!!

!

!!

!

!

!!

!

!

!

!!

intreacfe aFsEthernte0t0/

oni p adrdessd

puelxf llu!

nierftac eFsaEthterent/001.

ncapsuletiano dt1Q 1o0

pi adderss 912.1681..1 0255.25.25550.

o nnmpstr palin ks-tauts!

i

nerftcaeF satthErneet00/.2e

cnasplatuion ot1Q 2d0ip

adders 192.16s8.021. 25525..255.05

o snmpn raptlin ks-atust

!ip

claslsess

!n

oip ht tps erevr

on ip https ceru-serveer!

!

!

!

!

!

cnorotlplane-!

!

!!!

!

gteaeekper

suhdtow

n

!!

inel onc 0

exc-eimtoue 0t 0l

ogign sgnychonorsu

sopbtits 1

ile aunx0

stpoibts1

line ty 0 4v!

!e

dn

由路器显示:Arm

tesrdams#how i route

Codpe:s C- connctee, S d- tasic, tR - RIP, M- mobli,eB - BG P

D - EGIR, PE -X IEGP extReraln, O- SOPF,IA -O SPF iter naear

1N- OPS FSNS exteAnal trype 1 N,2 -OPS NFSS eAtxeral tynpe 2E1

-O SP eFxetnra tlpe 1,yE 2- O SP Fxeetnrl taye p2

i- IS-IS, su -I S-I Ssumarm,y 1L -IS IS l-evl-e, L2 - IS-1S Ilveel-

2i -aI S-SIin etr raea, *- canddiae tdefalut ,U - pr-euse srttaic oureto

- DO,RP - p eiodic downroaldedstat c riotue

G

aewtay o lafts esrortis on sett

C

921.618.1.00/42 s diierctl coynnetec, FdsatEhtenre0t/01.C

1291.6820.0/2.4i s iderctl yconnctee, FdstaEhtrenet0/02.

rmsAtrdema#howsip int r

bIternfaec PIAddr-ses KO Meth?d otaSuts PrtocoloFa

tEtsernht0/0 e u anssinge d EYSuns e tu p u p Fa

sEtterhen0t0./1 19 2.61.1801 . ESYm auan up l p u F

staEthrnet0/e0.2 129168..2.0 1EY maSnau lpu pu

机配置:换

Crruet cnofiguranitn : o4137by et

!svers

io 12.3nse

vrie tcimetsmaps dbeug dattime esmec

servceit mestiapsml g daottiee mmsecno

esricvep sswaro-dnceyrtionp!

hosntmea Belirn

!

boto-sarttma-rkrebo

ot-ndemark-er

!

!

mmery-sozi eioem 5m

onaaa newm-oeld

ipsubn e-tzer

o!!

!

!

ip

c fe

ipips p moxaev-nts 10e0no

tp-sfevrr ewite-rnaeble!

!

!

!

!

!!!

!

!

!!

!

!

!!

!!

!!

intreacfe aFsEtterneth/00switc

hpro moted trnk

un ip aoddress!

i

netfrcea astEFhetrnt0/e1

no pia ddesrs!

iterfanceF

asEtthrneet0/2

wstihpcrota ccse vlans1

no0 pi dardsse

!

nteirafecF satEthenrt0e/3

wstciphrtoac ces svln 20a

n iop addessr

!

iterfance FsatEthreetn0/4

o ip naddrsses

utdohwn

!in

etfare FcatsEtehnrte0/

5noip ad rdsse

hstduonw

!

itnefare cFasEtthenrt0/e6

noip ddaersssh

tdownu!

intreace faFtEtsernhte/70n

o i apddresss

hutdwon !

nitefacer aFsEthtrneet0/8

o ip nadderssshut

don

!w

inetrafec aFstEhetrnte0/9n

o i apdreds

sshtudown

!ntirefac eaFstEthrenet/10

n0oi padd res

sshtudow

n!i

netfarc eastFEhtrnee0/11t

n oi adpdress

suthodnw

!i

tnrefac FasetEthrenet01/2

n oip ddaress

suhtdwno

!

nteirafce FstatheEnetr/013

o ip nddaresss

htduwno!

itnefrac FaseEthtenet0/1r4

n oip ddresa

shustowdn

!i

netfacreF satEtehnrte0/15

noip a dredss

shutdon

!

wntirfaec Vela1

no ip nddraess

!nitrfacee lVn1a0n

oi addprsse

!itnrefae claVn02

o npi dadesrs!

ip https reevr

no ip htp stecuers-rveeri

pcl ssalse

!s !

!

!

!

!

oncrtlo-lpne

a!

!!

!

!!

!!

!

inl eoc 0n

inel ax 0ul

nievt y 04!

!

e

nd

交换的机示显:Be

rlnis#how lavns-iwcht

VANLN ame S atus Pottrs

---- ------------------------------- --------- --------------------------------

1 d feault a tcvi e aF01, /aF/4, F0a/0,5F a/06

F0a/, F70a/, 8F0/a9 Fa,01/0

Fa/110, F0/a12, a0/1F, F30/a14

Fa/105

01 V ALN0010 atcvi e F a02/20

VAL00N2 0 ctive a F0a/

31020f di-dedaulf t caitve

1 00 tok3enr-ig-ndeaflu t a tcive

1040 fdined-dteafut l ac ive t

1050 rtnt-edeauft l aticev

VLA NTyp e SAID M TU P raet nRngioN BrideNogSt p rdBgoMe Trand1 sraTns2

--- ------- -------- ----- ------- --------- ------ -- ---------- ----- ------1

ene t 100001 1500 - - - - - 0120 0103

0 1 ene t1 00100 1 00 5- - - - - 0 0

2 e0net 100200 510 - 0 - - - - 0 0

1 02 fddi0 010120 5100 - - - - - 1 01301

03 tr0 010130 15 00 100 5 0 - - rs b 1 10 201

00 4fdnte 110040 5100 - - 1 i mb - 0 0

105 0trnt 1e0105 0 510 0- - 1 ib m - 0 0 Be

lri#nshwoi pi tnb r

Intrfeace I -AddPessr O K?Me todhSt ats u Pr toocol

aFsEtterhetn00 / u ansisgnd e YSE unste up u p

FsatEthreetn/01 unas isged n ES Yusnte u p d won

aFtEtshernet/2 0 naussgnie d YES unste up up Fas

Etthenrt0e/ 3

unssaiged n EY uSnet us p u p F

atsEhterne0t/4 u assinngd e YES u net sad inimstrtaivleydow n dwo n

FstEathenre0t5/ u nasigsedn YSEun est a mdnisitrtaveli doyn dwwno Fast

Ehetnrt0/e 6 unsaisnge dYES nuet sdminisatrtiaelvydow dnwo n

FsatEthrnet0/e7 un assignd e EYS unet s dmanistraiitevyldo w donn w

FatEshernte0/8 t unassgine d Y S unset E aminidstatrvieyl odn wownd

astFEhtrnet0/e9 uassnignde EYSun ets dminaisrattviey dolnw owdn

FatEtshenret/001 nussagned i Y SE nsuet amindsitraitelvy odn wdonw

FastEhertet0n/1 1 uassingend YES unes t daminstiaritevl ydwo down n Fast

thEenrte01/ 2 una ssgien d EYS unse t adimnisratitelv dowyn odw nFas

Etternet0/h31 naussingd YeSEuns te amidnitratisevy lodn wdwno F

saEthtrnet0e1/ 4 u nsaisgned YE Suns t e admiintratisveyl dwo ndwno

FastEtherne0t15 / unas isgnde YS unsetE dminasirtaitvey dlwond on w

V la1 n u nassinged Y SE nues tpu up

lan1V0 nuassgine YdES usnt eu p pu

Valn02 nuassgnedi EY Sunst up e p u

p1c配置:C

ruert cnonfigrutaoin: 62 5btys

!evers

oni1 24.s

ericev itesmamtp sdebgud tetiam msee

cservic timeetamsspl go atdetme mseic

no sreive pascswrdoe-ncyrpitno

!

hosntma pce1

!

oobt-tars-martkr

ebotoen-dm-rakre!

!

noa aan we-omdel!

resour

cepo icyl

!

i supbetnz-eor

!

!i

p cfe!

!

!!

!

!

!!

!!

!

!

!!

!

!

!!

!

!!

!

!i

tnefacr eaFtsEhernet0t0

i/pa ddrse s92.1681.102.2 55.55.2255.0

udlpxe ullf!

ip

edfaul-tageway 1t2.968.11.10

ip casslelss

p riute o921.68.210. 2505255.255..0 19.261.801.1

!

noip tht sepverr

o ni phtpt ecsreus-erve

!r

!!

!!

!co

nrolt-lapn

!e!

!

!!

!

gatkeepere

hstduonw

!!

iln ceon 0

tspoibst 1

lin aux e0lin

vey t 04

!!

e

nd

pc2置:配Current

ocnigufrtiaon: 625 b tyes!

ersvin 12o.4

esrvcie imtsteamspd ebg dauettime smces

reviecti estampmsl o gdatteimems ce

o snrveicepa swosrde-nrcptiony

!h

stnaomep c2

!

botost-rt-maraekr

ootb-ne-mardker

!!

noaaa enwmo-dle!

erouscr eopilcy!

ip suneb-zteor

!

!ip efc

!!

!

!

!

!

!

!

!

!

!

!

!

!

!!!

!

!

!!

!

!ntireafe cFatstherEet0/0n

i apdrdess1 2.968.10.2 225.255.2555.0d

upexl ufll

!ip

dfealtug-teaawy1 2.168.9201.

ipc alsless

si rputoe1 2.196.108. 205.5525.5250.1 2916..8021.

!

no i phtpt srveer

n op hitp tescue-rersvre!

!

!

!!

!cnotrlo-plnae!

!

!!

!!

gaetkeepres

htuodn w!

!

lnie onc0

sopbtis t

1lnie axu0

ile nvt y 40

!

!end

注意:点

由器路需要配置两个接子口的封和i装p(忘别no 了hs, 理口物和接子都口需要)

交机换要配置两个需lva,把两个接n放进口vln,把a与由路器接连口配置接t成unk,r交机换上三个接的和口两相关个lan别忘了nvos hp

c1pc/,配2ip,置配网关置配置默认,路由

路由配置:

uCrern tonfcigurtaoi : 8n3 6byte

s!

vrsieno 1.24

srvice eimestamtspd ebug dtaetmi esecms

reicevtim setampslo gdatet ie msme

nc osevicerpassword -ncryetpoin

!

hostnae mrmsAtredma

!

bot-otsat-ramrekr

boo-tnedm-arerk

!!n

oaaan e-wmoedl!

reosruecp olicy

ip !usbnt-zereo!

!i

cepfno

ip d oain loomupk

!

!

!

!!!

!

!

!

!!

!

!!

!

!

!!

!

!

!

!!

intreacfe aFsEthernte0t0/

oni p adrdessd

puelxf llu!

nierftac eFsaEthterent/001.

ncapsuletiano dt1Q 1o0

pi adderss 912.1681..1 0255.25.25550.

o nnmpstr palin ks-tauts!

i

nerftcaeF satthErneet00/.2e

cnasplatuion ot1Q 2d0ip

adders 192.16s8.021. 25525..255.05

o snmpn raptlin ks-atust

!ip

claslsess

!n

oip ht tps erevr

on ip https ceru-serveer!

!

!

!

!

!

cnorotlplane-!

!

!!!

!

gteaeekper

suhdtow

n

!!

inel onc 0

exc-eimtoue 0t 0l

ogign sgnychonorsu

sopbtits 1

ile aunx0

stpoibts1

line ty 0 4v!

!e

dn

由路器显示:Arm

tesrdams#how i route

Codpe:s C- connctee, S d- tasic, tR - RIP, M- mobli,eB - BG P

D - EGIR, PE -X IEGP extReraln, O- SOPF,IA -O SPF iter naear

1N- OPS FSNS exteAnal trype 1 N,2 -OPS NFSS eAtxeral tynpe 2E1

-O SP eFxetnra tlpe 1,yE 2- O SP Fxeetnrl taye p2

i- IS-IS, su -I S-I Ssumarm,y 1L -IS IS l-evl-e, L2 - IS-1S Ilveel-

2i -aI S-SIin etr raea, *- canddiae tdefalut ,U - pr-euse srttaic oureto

- DO,RP - p eiodic downroaldedstat c riotue

G

aewtay o lafts esrortis on sett

C

921.618.1.00/42 s diierctl coynnetec, FdsatEhtenre0t/01.C

1291.6820.0/2.4i s iderctl yconnctee, FdstaEhtrenet0/02.

rmsAtrdema#howsip int r

bIternfaec PIAddr-ses KO Meth?d otaSuts PrtocoloFa

tEtsernht0/0 e u anssinge d EYSuns e tu p u p Fa

sEtterhen0t0./1 19 2.61.1801 . ESYm auan up l p u F

staEthrnet0/e0.2 129168..2.0 1EY maSnau lpu pu

机配置:换

Crruet cnofiguranitn : o4137by et

!svers

io 12.3nse

vrie tcimetsmaps dbeug dattime esmec

servceit mestiapsml g daottiee mmsecno

esricvep sswaro-dnceyrtionp!

hosntmea Belirn

!

boto-sarttma-rkrebo

ot-ndemark-er

!

!

mmery-sozi eioem 5m

onaaa newm-oeld

ipsubn e-tzer

o!!

!

!

ip

c fe

ipips p moxaev-nts 10e0no

tp-sfevrr ewite-rnaeble!

!

!

!

!

!!!

!

!

!!

!

!

!!

!!

!!

intreacfe aFsEtterneth/00switc

hpro moted trnk

un ip aoddress!

i

netfrcea astEFhetrnt0/e1

no pia ddesrs!

iterfanceF

asEtthrneet0/2

wstihpcrota ccse vlans1

no0 pi dardsse

!

nteirafecF satEthenrt0e/3

wstciphrtoac ces svln 20a

n iop addessr

!

iterfance FsatEthreetn0/4

o ip naddrsses

utdohwn

!in

etfare FcatsEtehnrte0/

5noip ad rdsse

hstduonw

!

itnefare cFasEtthenrt0/e6

noip ddaersssh

tdownu!

intreace faFtEtsernhte/70n

o i apddresss

hutdwon !

nitefacer aFsEthtrneet0/8

o ip nadderssshut

don

!w

inetrafec aFstEhetrnte0/9n

o i apdreds

sshtudown

!ntirefac eaFstEthrenet/10

n0oi padd res

sshtudow

n!i

netfarc eastFEhtrnee0/11t

n oi adpdress

suthodnw

!i

tnrefac FasetEthrenet01/2

n oip ddaress

suhtdwno

!

nteirafce FstatheEnetr/013

o ip nddaresss

htduwno!

itnefrac FaseEthtenet0/1r4

n oip ddresa

shustowdn

!i

netfacreF satEtehnrte0/15

noip a dredss

shutdon

!

wntirfaec Vela1

no ip nddraess

!nitrfacee lVn1a0n

oi addprsse

!itnrefae claVn02

o npi dadesrs!

ip https reevr

no ip htp stecuers-rveeri

pcl ssalse

!s !

!

!

!

!

oncrtlo-lpne

a!

!!

!

!!

!!

!

inl eoc 0n

inel ax 0ul

nievt y 04!

!

e

nd

交换的机示显:Be

rlnis#how lavns-iwcht

VANLN ame S atus Pottrs

---- ------------------------------- --------- --------------------------------

1 d feault a tcvi e aF01, /aF/4, F0a/0,5F a/06

F0a/, F70a/, 8F0/a9 Fa,01/0

Fa/110, F0/a12, a0/1F, F30/a14

Fa/105

01 V ALN0010 atcvi e F a02/20

VAL00N2 0 ctive a F0a/

31020f di-dedaulf t caitve

1 00 tok3enr-ig-ndeaflu t a tcive

1040 fdined-dteafut l ac ive t

1050 rtnt-edeauft l aticev

VLA NTyp e SAID M TU P raet nRngioN BrideNogSt p rdBgoMe Trand1 sraTns2

--- ------- -------- ----- ------- --------- ------ -- ---------- ----- ------1

ene t 100001 1500 - - - - - 0120 0103

0 1 ene t1 00100 1 00 5- - - - - 0 0

2 e0net 100200 510 - 0 - - - - 0 0

1 02 fddi0 010120 5100 - - - - - 1 01301

03 tr0 010130 15 00 100 5 0 - - rs b 1 10 201

00 4fdnte 110040 5100 - - 1 i mb - 0 0

105 0trnt 1e0105 0 510 0- - 1 ib m - 0 0 Be

lri#nshwoi pi tnb r

Intrfeace I -AddPessr O K?Me todhSt ats u Pr toocol

aFsEtterhetn00 / u ansisgnd e YSE unste up u p

FsatEthreetn/01 unas isged n ES Yusnte u p d won

aFtEtshernet/2 0 naussgnie d YES unste up up Fas

Etthenrt0e/ 3

unssaiged n EY uSnet us p u p F

atsEhterne0t/4 u assinngd e YES u net sad inimstrtaivleydow n dwo n

FstEathenre0t5/ u nasigsedn YSEun est a mdnisitrtaveli doyn dwwno Fast

Ehetnrt0/e 6 unsaisnge dYES nuet sdminisatrtiaelvydow dnwo n

FsatEthrnet0/e7 un assignd e EYS unet s dmanistraiitevyldo w donn w

FatEshernte0/8 t unassgine d Y S unset E aminidstatrvieyl odn wownd

astFEhtrnet0/e9 uassnignde EYSun ets dminaisrattviey dolnw owdn

FatEtshenret/001 nussagned i Y SE nsuet amindsitraitelvy odn wdonw

FastEhertet0n/1 1 uassingend YES unes t daminstiaritevl ydwo down n Fast

thEenrte01/ 2 una ssgien d EYS unse t adimnisratitelv dowyn odw nFas

Etternet0/h31 naussingd YeSEuns te amidnitratisevy lodn wdwno F

saEthtrnet0e1/ 4 u nsaisgned YE Suns t e admiintratisveyl dwo ndwno

FastEtherne0t15 / unas isgnde YS unsetE dminasirtaitvey dlwond on w

V la1 n u nassinged Y SE nues tpu up

lan1V0 nuassgine YdES usnt eu p pu

Valn02 nuassgnedi EY Sunst up e p u

p1c配置:C

ruert cnonfigrutaoin: 62 5btys

!evers

oni1 24.s

ericev itesmamtp sdebgud tetiam msee

cservic timeetamsspl go atdetme mseic

no sreive pascswrdoe-ncyrpitno

!

hosntma pce1

!

oobt-tars-martkr

ebotoen-dm-rakre!

!

noa aan we-omdel!

resour

cepo icyl

!

i supbetnz-eor

!

!i

p cfe!

!

!!

!

!

!!

!!

!

!

!!

!

!

!!

!

!!

!

!i

tnefacr eaFtsEhernet0t0

i/pa ddrse s92.1681.102.2 55.55.2255.0

udlpxe ullf!

ip

edfaul-tageway 1t2.968.11.10

ip casslelss

p riute o921.68.210. 2505255.255..0 19.261.801.1

!

noip tht sepverr

o ni phtpt ecsreus-erve

!r

!!

!!

!co

nrolt-lapn

!e!

!

!!

!

gatkeepere

hstduonw

!!

iln ceon 0

tspoibst 1

lin aux e0lin

vey t 04

!!

e

nd

pc2置:配Current

ocnigufrtiaon: 625 b tyes!

ersvin 12o.4

esrvcie imtsteamspd ebg dauettime smces

reviecti estampmsl o gdatteimems ce

o snrveicepa swosrde-nrcptiony

!h

stnaomep c2

!

botost-rt-maraekr

ootb-ne-mardker

!!

noaaa enwmo-dle!

erouscr eopilcy!

ip suneb-zteor

!

!ip efc

!!

!

!

!

!

!

!

!

!

!

!

!

!

!!!

!

!

!!

!

!ntireafe cFatstherEet0/0n

i apdrdess1 2.968.10.2 225.255.2555.0d

upexl ufll

!ip

dfealtug-teaawy1 2.168.9201.

ipc alsless

si rputoe1 2.196.108. 205.5525.5250.1 2916..8021.

!

no i phtpt srveer

n op hitp tescue-rersvre!

!

!

!!

!cnotrlo-plnae!

!

!!

!!

gaetkeepres

htuodn w!

!

lnie onc0

sopbtis t

1lnie axu0

ile nvt y 40

!

!end


相关文章

  • 数据网组答案
  • 练习1 某公司局域网有两个VLAN ,vlan10和vlan20,试划分vlan ,配置单臂路由实现不同vlan 的通信,并且从环回loopback0能够ping 通内网机器.完成telnet 基于aaa 策略的验证,用户名为h3c ,密码 ...查看


  • Cisco不同的网段,通过配置单臂路由及静态路由
  • 如图 PC1 PC2 PC3 PC4分别属于不同VLAN ,不同的网段,通过配置单臂路由及静态路由,实现全网互通 R1(config)#int e0/0 R1(config-if)#ip add 192.168.1.1 255.255.25 ...查看


  • 华为与CISCO路由器单臂路由实例
  • 需求:在局域网中,通过交换机上配置VLAN可以减少主机通信广播域的范围,当VLAN之间有部分主机需要通信,但交换机不支持三层交换时,可以采用一台支持802.1Q的路由器实现VLAN的互通.这需要在以太口上建立子接口,分配IP地址作为该VLA ...查看


  • 数据通信网络技术实验二
  • 数据通信网络技术实验二 实验内容1 静态路由配置实验 实验目的: 掌握路由器和三层交换机的静态路由配置. 实验要求: 根据实验的任务要求,参考实验指导材料,完成实验.输入操作命令,观察输出 结果,详细记录每个步骤的操作结果. 实验内容: 1 ...查看


  • Cisco单臂路由命令
  • Cisco单路由配臂 置 臂路单由,在即由器上路设多置个逻子接口辑,每个子接口应一对v个ln.a在每个接子口的数在据理物链路上递都传标要封装.记iscCo设备支IS持和80L.21(qot1dQ)协议.华只为支持8201q.. OTDQ1I ...查看


  • 网络管理员培训实验手册锐捷
  • [目录] 实验总图............................................................................................................... ...查看


  • 网络设计与实现实验报告
  • 网络设计与实现 实验报告 学 院: 班 级: 姓 名: 学 号: 指导老师: 2013.6.30 Packet Tracer 是由Cisco 公司发布的一个辅助学习工具, 为学习思科网络课程的初学者去设计.配置.排除网络障碍提供了网络模拟环 ...查看


  • 网络交换机
  • 一.实验目的及内容 熟悉华为中低端交换机的基本配置:了解交换机工作的基本原理:了解VLAN的原理和配置: 二.实验原理及基本技术路线图(方框原理图或程序流程图) 通过交换机的基本配置和VLAN配置,理解交换机的工作原理,理解VLAN的原理. ...查看


  • 单臂路由原理
  • 单臂路由原理 路由, 单臂, 原理 众多中小企业内部网络结构都很简单,仅仅是用一台交换机将所有员工机以及服务器连接到一起,然后通过光纤访问internet 而已.当然为了保证部分主机的安全性以及分割内部广播包提高网络传输速度,采取诸如划分V ...查看


热门内容