LAN WAN Laboratory 07

Page 1


.

.

.

.

Local and Wide Area Networks Laboratory 5 RIPv1

RIPv2

1. 2. 3.

RIPv1 RIPv2 RIPv1

1 1.1

RIPv2

RIPv1 1

1 1.2

1.3

Pc X, Pc Y Host

IP address

Subnet Mask

Pc X Pc Y Pc Z

172.[x].0.2 172.[x].2.2 192.168.[x].2

255.255.254.0 255.255.255.0 255.255.255.0

Pc Z

Default Gateway 172.[x].0.1 172.[x].2.1 192.168.[x].1

startup-config Router>enable Router#show startup-config

12/12/12

1/12

Local & Wide Area Networks Laboratory


.

.

.

.

startup-config Router>enable Router#erase startup-config Router#reload

Restart configuration

1.4

initial configuration dialog

no

Router#show running-config

Interface type

Serial

1.5

Router#show controllers Serial 0/0 Router#show controllers Serial 0/1

1.5 Router name Udon Bangkok Phuket

1.6

1.7

Interface Fa0/0 S0/0 S0/1 Fa0/0 S0/0 Fa0/0 S0/1

Interface Type -

Dynamic routing protocol Udon(config)# router Udon(config-router)# Udon(config-router)# Udon(config-router)#

Dynamic routing protocol

12/12/12

172.[x].0.0/23 172.[x].3.0/30 172.[x].3.0/30 172.[x].2.0/24 172.[x].3.4/30 192.168.[x].0/24 172.[x].3.4/30

172.[x].0.1/23 172.[x].3.1/30 172.[x].3.2/30 172.[x].2.1/24 172.[x].3.5/30 192.168.[x].1/24 172.[x].3.6/30

rip network 172.[x].0.0 network 172.[x].3.0 passive-interface fastEthernet 0/0

Dynamic routing protocol Phuket(config)# router Phuket(config-router)# Phuket(config-router)# Phuket(config-router)#

1.9

IP address

Udon

Bangkok(config)# router Bangkok(config-router)# Bangkok(config-router)# Bangkok(config-router)# Bangkok(config-router)#

1.8

Network ID

Bangkok

rip network 172.[x].2.0 network 172.[x].3.0 network 172.[x].3.4 passive-interface fastEthernet 0/0

Phuket rip network 172.[x].3.4 network 192.168.[x].0 passive-interface fastEthernet 0/0

show running-config

2/12

Network

router rip

Local & Wide Area Networks Laboratory


.

1.10

.

Privilege Mode 1 –

debug ip rip

(

1.12

debug ip rip

(

12/12/12

no debug ip rip)

Privilege Mode 1 –

Privilege Mode 1 –

3/12

.

Udon

debug ip rip

(

1.11

.

Bangkok no debug ip rip)

Phuket no debug ip rip)

Local & Wide Area Networks Laboratory


.

.

.

1.13

show ip route

Udon

1.14

show ip route

Bangkok

1.15

show ip route

Phuket

1.16

ping Pc X

Pc X Pc Y Pc Z

12/12/12

Pc Y

Pc Pc Z

Pc

Fa 0/0

Interface Udon S 0/0

S 0/1

.

ping Bangkok Fa 0/0 S 0/0

Phuket Fa 0/0 S 0/1

/ / /

4/12

Local & Wide Area Networks Laboratory


.

2 2.1

.

.

.

RIPv2 1 Routing Table 2.1.1

2.1.2

RIP Udon

Udon(config)# router Udon(config-router)# Udon(config-router)# Udon(config)# exit Udon# clear ip route

Bangkok

rip version 2 exit *

Bangkok(config)# router Bangkok(config-router)# Bangkok(config-router)# Bangkok(config)# exit Bangkok# clear ip route

2.1.3

rip version 2 exit *

Privilege Mode 1 –

debug ip rip

(

12/12/12

*

Udon

debug ip rip

(

2.3

rip version 2 exit

Phuket Phuket(config)# router Phuket(config-router)# Phuket(config-router)# Phuket(config)# exit Phuket# clear ip route

2.2

version 2

no debug ip rip)

Privilege Mode 1 –

5/12

Bangkok no debug ip rip)

Local & Wide Area Networks Laboratory


.

2.4

. debug ip rip

(

.

Privilege Mode 1 –

2.5

show ip route

Udon

2.6

show ip route

Bangkok

2.7

show ip route

Phuket

12/12/12

6/12

.

Phuket no debug ip rip)

Local & Wide Area Networks Laboratory


.

2.8

ping Pc X

Pc X Pc Y Pc Z

.

Pc Y

Pc

Pc

Pc Z

Fa 0/0

.

.

Interface Udon S 0/0

ping Bangkok Fa 0/0 S 0/0

S 0/1

Phuket Fa 0/0 S 0/1

/ / /

3 3.1

RIPv1 2 Host

IP address

Subnet Mask

Pc[x] Pc[b] Pc[c]

172.[x].0.2 172.[x].3.2 10.10.[x].2

255.255.255.0 255.255.255.0 255.255.255.0

3.2

IP Address

Default Gateway 172.[x].0.1 172.[x].3.1 10.10.[x].1

Interface

Router-name# configure terminal Router-name(config)# interface type slot/port Router-name(config-if)# no ip address ip_address subnet

3.3 Router name

Udon

Bangkok

Phuket

3.4

Interface

Interface Type

Fa0/0 Lo 0 S0/0 Fa0/0 Lo 0 S0/0 S0/1 Fa0/0 Lo 0 S0/1

interface loopback 0

-

Network ID

IP address

172.[x].0.0 172.[x].1.0 172.[x].2.0 172.[x].3.0 172.[x].4.0 172.[x].5.0 172.[x].2.0 10.10.[x].0 10.11.[x].0 172.[x].5.0

172.[x].0.1/24 172.[x].1.1/24 172.[x].2.1/24 172.[x].3.1/24 172.[x].4.1/24 172.[x].5.1/24 172.[x].2.2/24 10.10.[x].1/24 10.11.[x].1/24 172.[x].5.2/24

router rip

Router-name# configure terminal Router-name(config)# interface loopback 0 Router-name(config-if)# ip address IP_Address Subnet_Mask Router-name(config-if)# exit Router-name(config)# no router rip

12/12/12

7/12

Local & Wide Area Networks Laboratory


.

3.5

.

Dynamic routing protocol

rip network 172.[x].0.0 network 172.[x].1.0 network 172.[x].2.0 passive-interface fastEthernet 0/0 passive-interface loopback 0

Dynamic routing protocol

Bangkok

Bangkok(config)# router Bangkok(config-router)# Bangkok(config-router)# Bangkok(config-router)# Bangkok(config-router)# Bangkok(config-router)# Bangkok(config-router)#

3.7

Dynamic routing protocol

rip network 172.[x].2.0 network 172.[x].3.0 network 172.[x].4.0 network 172.[x].5.0 passive-interface fastEthernet 0/0 passive-interface loopback 0

Phuket

Phuket(config)# router Phuket(config-router)# Phuket(config-router)# Phuket(config-router)# Phuket(config-router)# Phuket(config-router)#

3.8

.

Udon

Udon(config)# router Udon(config-router)# Udon(config-router)# Udon(config-router)# Udon(config-router)# Udon(config-router)#

3.6

.

rip network 10.10.[x].0 network 10.11.[x].0 network 172.[x].5.0 passive-interface fastEthernet 0/0 passive-interface loopback 0

Network

show running-config

router

rip

3.9 1

12/12/12

Privilege Mode debug ip rip)

debug ip rip

–

no

8/12

Udon

(

Local & Wide Area Networks Laboratory


.

3.10

. debug ip rip

1

3.11

.

Privilege Mode

Privilege Mode debug ip rip)

Phuket

no

3.12

show ip route

Udon

3.13

show ip route

Bangkok

12/12/12

Bangkok

(

no debug ip rip)

debug ip rip

1

.

9/12

(

Local & Wide Area Networks Laboratory


.

3.14

.

ping Pc X

Pc X Pc Y Pc Z

Pc Y

Pc Pc Z

Pc

Fa 0/0

.

Phuket

show ip route

3.15

.

Interface Udon S 0/0

ping Bangkok Fa 0/0 S 0/0

S 0/1

Phuket Fa 0/0 S 0/1

/ / /

3.16 Router name Udon

Bangkok

Phuket

3.17

Interface Type -

Interface Fa0/0 Lo 0 S0/0 Fa0/0 Lo 0 S0/0 S0/1 Fa0/0 Lo 0 S0/1

-

Dynamic routing protocol

Network ID

IP address

172.[x].0.0 172.[x].1.0 172.[x].2.0 172.[x].3.0 172.[x].4.0 192.168.[x].0 172.[x].2.0 10.10.[x].0 10.11.[x].0 192.168.[x].0

172.[x].0.1/24 172.[x].1.1/24 172.[x].2.1/24 172.[x].3.1/24 172.[x].4.1/24 192.168.[x].1/24 172.[x].2.2/24 10.10.[x].1/24 10.11.[x].1/24 192.168.[x].2/24

Bangkok

Bangkok(config)# router rip Bangkok(config-router)# network 192.168.[x].0

3.18

Dynamic routing protocol

Phuket

Phuket(config)# router rip Phuket(config-router)# network 192.168.[x].0

3.19

debug ip rip

1

12/12/12

3.9, 3.10 –

Privilege Mode

3.11

(

no debug ip rip)

10/12

Local & Wide Area Networks Laboratory


.

3.20

show

.

ip

route

.

.

Udon

(

Bangkok

(

Phuket

(

3.12)

3.21

show ip route

3.13)

3.22

show ip route

3.14)

12/12/12

11/12

Local & Wide Area Networks Laboratory


.

3.23

ping Pc X

Pc X Pc Y Pc Z

12/12/12

.

Pc Y

Pc Pc Z

Pc

Fa 0/0

.

Interface Udon S 0/0

S 0/1

.

ping Bangkok Fa 0/0 S 0/0

Phuket Fa 0/0 S 0/1

/ / /

12/12

Local & Wide Area Networks Laboratory


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.