Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 5

ROUTER 1 CONF with IP ROUTE

Router>ena
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int
R1(config)#int gig 0/0
R1(config-if)#ip add 120.1.1.100 255.0.0.0
R1(config-if)#no sh

R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to


up
exit
R1(config)#do sh ip int brf
sh ip int brf
^
% Invalid input detected at '^' marker.
R1(config)#do sh ip add brf
sh ip add brf
^
% Invalid input detected at '^' marker.
R1(config)#int ser 0/3/0
R1(config-if)#ip add 45.45.45.1 255.0.0.0
R1(config-if)#no sh

%LINK-5-CHANGED: Interface Serial0/3/0, changed state to down


R1(config-if)#clock rate 64000
R1(config-if)#
%LINK-5-CHANGED: Interface Serial0/3/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/0, changed state to up


R1 con0 is now available

Press RETURN to get started.

R1>
R1>en
R1#conf term
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip add 50.0.0.0 255.0.0.0 45.45.45.2
^
% Invalid input detected at '^' marker.
R1(config)#ip route 50.0.0.0 255.0.0.0 45.45.45.2
R1(config)#ip route 115.0.0.0 255.0.0.0 45.45.45.2
R1(config)#ip route 110.0.0.0 255.0.0.0 45.45.45.2
R1(config)#no sh
^
% Invalid input detected at '^' marker.
R1(config)#

ROUTER 2 CONF with IP ROUTE

Router>ena
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#int gig0/0
R2(config-if)#ip add 115.1.1.100 255.0.0.0
R2(config-if)#no sh

R2(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to


up

R2(config-if)#exit
R2(config)#int gig 0/0
R2(config-if)#int ser 0/3/1
R2(config-if)#ip add 45.45.45.2 255.0.0.0
R2(config-if)#clock rate 64000
This command applies only to DCE interfaces
R2(config-if)#no sh

R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/3/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/1, changed state to up

R2(config-if)#int ser 0/3/0


R2(config-if)#ip add 50.50.50.1 255.0.0.0
R2(config-if)#no sh

%LINK-5-CHANGED: Interface Serial0/3/0, changed state to down


R2(config-if)#clock rate 64000
R2(config-if)#no sh
R2(config-if)#exit
R2(config)#
%LINK-5-CHANGED: Interface Serial0/3/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/0, changed state to up

R2 con0 is now available


Press RETURN to get started.

R2>
R2>en
R2#conf term
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#ip route 120.0.0.0 255.0.0.0 45.45.45.1
R2(config)#ip route 110.0.0.0 255.0.0.0 50.50.50.2
R2(config)#

ROUTER 3 CONF with IP ROUTE

Router>en
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R3
R3(config)#int gig 0/0
R3(config-if)#ip add 110.1.1.100 255.0.0.0
R3(config-if)#no sh

R3(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to


up

R3(config-if)#exit
R3(config)#int ser 0/3/1
R3(config-if)#ip add 50.50.50.2 255.0.0.0
R3(config-if)#no sh

R3(config-if)#
%LINK-5-CHANGED: Interface Serial0/3/1, changed state to up

R3(config-if)#exit
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/1, changed state to up
R3(config)#do ping 45.45.45.2

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 45.45.45.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

R3(config)#

R3 con0 is now available

Press RETURN to get started.

R3>
R3>en
R3#conf term
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#ip route 45.0.0.0 255.0.0.0 50.50.50.1
R3(config)#ip route 120.0.0.0 255.0.0.0 50.50.50.1
R3(config)#ip route 115.0.0.0 255.0.0.0 50.50.50.1
R3(config)#do ping 45.45.45.1

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 45.45.45.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/3/8 ms

You might also like