Static Route - Lab

Download Static Route - Lab

Post on 13-Nov-2014

761 views

Category:

Documents

8 download

Embed Size (px)

DESCRIPTION

Lab setup

TRANSCRIPT

routing - lab

static routes

Fa0/0 10.0.0.2/24

R1

S0/0

S0/0

R2

Fa0/0 30.0.0.2/24

20.0.0.1/24

20.0.0.2/24

Ip add 10.0.0.1/24 def gate 10.0.0.2/24

Ip add 30.0.0.1/24 def gate 30.0.0.2/24

#config terminal (config)#hostname r1 r1(config)#ip subnet-zero r1(config)#interface fastethernet0/0 r1(config-if)#ip address 10.0.0.1 255.255.255.0 r1(config-if)#no shut r1(config-if)#exit r1(config)#interface serial 0/0 r1(config-if)#ip address 20.0.0.1 255.255.255.0 r1(config-if)#clock rate 64000 r1(config-if)#no shut r1(config-if)#exit r1(config)#ip route 30.0.0.0 255.255.255.0 20.0.0.2

#config terminal (config)#hostname r2 r2(config)#ip subnet-zero r2(config)#interface fastethernet0/0 r2(config-if)#ip address 30.0.0.1 255.255.255.0 r2(config-if)#no shut r2(config-if)#exit r2(config)#interface serial 0/0 r2(config-if)#ip address 20.0.0.2 255.255.255.0 r2(config-if)#clock rate 64000 r2(config-if)#no shut r2(config-if)#exit r2(config)#ip route 10.0.0.0 255.255.255.0 20.0.0.1

pc a -

ip add- 10.0.0.1 255.255.255.0 default gateway- 10.0.0.2

pc b -

ip add- 30.0.0.1 255.255.255.0 default gateway- 30.0.0.2

dynamic routes-rip-lab

Fa0/0 10.0.0.2/24

R1

S0/0

S0/0

R2

Fa0/0 30.0.0.2/24

20.0.0.1/24

20.0.0.2/24

Ip add 10.0.0.1/24 def gate 10.0.0.2/24

Ip add 30.0.0.1/24 def gate 30.0.0.2/24

#config terminal (config)#hostname r1 r1(config)#ip subnet-zero r1(config)#interface fastethernet0/0 r1(config-if)#ip address 10.0.0.1 255.255.255.0 r1(config-if)#no shut r1(config-if)#exit r1(config)#interface serial 0/0 r1(config-if)#ip address 20.0.0.1 255.255.255.0 r1(config-if)#clock rate 64000 r1(config-if)#no shut r1(config-if)#exit r1(config)#router rip r1(config-router)#network 10.0.0.0 r1(config-router)#network 20.0.0.0

#config terminal (config)#hostname r2 r2(config)#ip subnet-zero r2(config)#interface fastethernet0/0 r2(config-if)#ip address 30.0.0.1 255.255.255.0 r2(config-if)#no shut r2(config-if)#exit r2(config)#interface serial 0/0 r2(config-if)#ip address 20.0.0.2 255.255.255.0 r2(config-if)#clock rate 64000 r2(config-if)#no shut r2(config-if)#exit r2(config)#router rip r2(config-router)#network 30.0.0.0 r2(config-router)#network 20.0.0.0

pc a -

ip add- 10.0.0.1 255.255.255.0 default gateway- 10.0.0.2

pc b -

ip add- 30.0.0.1 255.255.255.0 default gateway- 30.0.0.2

dynamic routes-igrp-lab

Fa0/0 10.0.0.2/24

R1

S0/0

S0/0

R2

Fa0/0 30.0.0.2/24

20.0.0.1/24

20.0.0.2/24

Ip add 10.0.0.1/24 def gate 10.0.0.2/24

Ip add 30.0.0.1/24 def gate 30.0.0.2/24

#config terminal (config)#hostname r1 r1(config)#ip subnet-zero r1(config)#interface fastethernet0/0 r1(config-if)#ip address 10.0.0.1 255.255.255.0 r1(config-if)#no shut r1(config-if)#exit r1(config)#interface serial 0/0 r1(config-if)#ip address 20.0.0.1 255.255.255.0 r1(config-if)#clock rate 64000 r1(config-if)#no shut r1(config-if)#exit r1(config)#router igrp 100 r1(config-router)#network 10.0.0.0 r1(config-router)#network 20.0.0.0

#config terminal (config)#hostname r2 r2(config)#ip subnet-zero r2(config)#interface fastethernet0/0 r2(config-if)#ip address 30.0.0.1 255.255.255.0 r2(config-if)#no shut r2(config-if)#exit r2(config)#interface serial 0/0 r2(config-if)#ip address 20.0.0.2 255.255.255.0 r2(config-if)#clock rate 64000 r2(config-if)#no shut r2(config-if)#exit r2(config)#router igrp 100 r2(config-router)#network 30.0.0.0 r2(config-router)#network 20.0.0.0

pc a -

ip add- 10.0.0.1 255.255.255.0 default gateway- 10.0.0.2

pc b -

ip add- 30.0.0.1 255.255.255.0 default gateway- 30.0.0.2

dynamic routes-eigrp-lab

Fa0/0 10.0.0.2/24

R1

S0/0

S0/0

R2

Fa0/0 30.0.0.2/24

20.0.0.1/24

20.0.0.2/24

Ip add 10.0.0.1/24 def gate 10.0.0.2/24

Ip add 30.0.0.1/24 def gate 30.0.0.2/24

#config terminal (config)#hostname r1 r1(config)#ip subnet-zero r1(config)#interface fastethernet0/0 r1(config-if)#ip address 10.0.0.1 255.255.255.0 r1(config-if)#no shut r1(config-if)#exit r1(config)#interface serial 0/0 r1(config-if)#ip address 20.0.0.1 255.255.255.0 r1(config-if)#clock rate 64000 r1(config-if)#no shut r1(config-if)#exit r1(config)#router eigrp 100 r1(config-router)#network 10.0.0.0 r1(config-router)#network 20.0.0.0

#config terminal (config)#hostname r2 r2(config)#ip subnet-zero r2(config)#interface fastethernet0/0 r2(config-if)#ip address 30.0.0.1 255.255.255.0 r2(config-if)#no shut r2(config-if)#exit r2(config)#interface serial 0/0 r2(config-if)#ip address 20.0.0.2 255.255.255.0 r2(config-if)#clock rate 64000 r2(config-if)#no shut r2(config-if)#exit r2(config)#router eigrp 100 r2(config-router)#network 30.0.0.0 r2(config-router)#network 20.0.0.0

pc a -

ip add- 10.0.0.1 255.255.255.0 default gateway- 10.0.0.2

pc b -

ip add- 30.0.0.1 255.255.255.0 default gateway- 30.0.0.2

dynamic routes-ospf-lab

Fa0/0 10.0.0.2/24

R1

S0/0

S0/0

R2

Fa0/0 30.0.0.2/24

20.0.0.1/24

20.0.0.2/24

Ip add 10.0.0.1/24 def gate 10.0.0.2/24

Ip add 30.0.0.1/24 def gate 30.0.0.2/24

#config terminal (config)#hostname r1 r1(config)#ip subnet-zero r1(config)#interface fastethernet0/0 r1(config-if)#ip address 10.0.0.1 255.255.255.0 r1(config-if)#no shut r1(config-if)#exit r1(config)#interface serial 0/0 r1(config-if)#ip address 20.0.0.1 255.255.255.0 r1(config-if)#clock rate 64000 r1(config-if)#no shut r1(config-if)#exit r1(config)#router ospf 64 r1(config-router)#network 10.0.0.0 0.0.0.255 r1(config-router)#network 20.0.0.1 0.0.0.0

#config terminal (config)#hostname r2 r2(config)#ip subnet-zero r2(config)#interface fastethernet0/0 r2(config-if)#ip address 30.0.0.1 255.255.255.0 r2(config-if)#no shut r2(config-if)#exit r2(config)#interface serial 0/0 r2(config-if)#ip address 20.0.0.2 255.255.255.0 r2(config-if)#clock rate 64000 r2(config-if)#no shut r2(config-if)#exit r2(config)#router ospf 128 r2(config-router)#network 30.0.0.2 0.0.0.0 r2(config-router)#network 20.0.0.0 0.0.0.255

pc a -

ip add- 10.0.0.1 255.255.255.0 default gateway- 10.0.0.2

pc b -

ip add- 30.0.0.1 255.255.255.0 default gateway- 30.0.0.2