LAB

Implementing Single Area Ospfv2

R1(config)#no ip domain lookup
R1(config)#line con 0
R1(config-line)#logging sync
R1(config-line)#exec-time 0 0
R1(config-line)#exit
R1(config)#int loopback 0
*Jun  6 07:02:51.535: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R1(config-if)#ip add 209.165.200.225 255.255.255.254
% Warning: use /31 mask on non point-to-point interface cautiously
R1(config-if)#no shut
R1(config-if)#exit

R1(config)#int fa0/0
R1(config-if)#ip add 10.10.0.1 255.255.255.248
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#
*Jun  6 07:05:38.519: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Jun  6 07:05:39.519: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config)#


D1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
D1(config)#no ip domain lookup
D1(config)#line con 0
D1(config-line)#logging sync
D1(config-line)#exec-time 0 0
D1(config-line)#exit
D1(config)#int fa1/0
D1(config-if)#no switchport
*Mar  1 00:17:53.047: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up
D1(config-if)#ip add 10.10.0.2 255.255.255.248
D1(config-if)#no shut

D1(config-if)#int fa0/0
D1(config-if)no switchport

D1(config-if)ip address 10.10.8.1 255.255.255.0
D1(config-if)no shut
D1(config)#
D1(config-if)#int fa0/0
D1(config-if)#no switchport
D1(config-if)#ip add 10.10.9.1 255.255.255.0
D1(config-if)#no shut
D1(config-if)#
*Mar  1 00:27:36.711: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Mar  1 00:27:37.711: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up


D2(config)#no ip domain lookup
D2(config)#line con 0
D2(config-line)#logging sync
D2(config-line)#exec-time 0 0
D2(config-line)#int fa0/0
D2(config-if)#no switchport
D2(config-if)#ip add 10.10.0.3 255.255.255.248
D2(config-if)#no shut
*Mar  1 00:35:47.519: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar  1 00:35:48.519: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
D2(config-if)#int fa0/1
D2(config-if)#no switchport
D2(config-if)#ip add 10.10.24.1 255.255.255.0
D2(config-if)#no shut
D2(config-if)#exit
D2(config)#int fa1/0
D2(config-if)#no switchport
D2(config-if)#ip add 10.10.25.1 255.255.255.0
D2(config-if)#no shut

R1#sh ip int brief | include  manual
FastEthernet0/0            10.10.0.1       YES manual up                    up  
Loopback0                  209.165.200.225 YES manual up                    up  
Loopback1                  192.168.1.1     YES manual up                    up  
R1#


D1#sh ip int brief | include manual
FastEthernet0/0            10.10.8.1       YES manual up                    up                    
FastEthernet0/1            10.10.9.1       YES manual up                    up                    
FastEthernet1/0            10.10.0.2       YES manual up                    up                    
D1#


D2#sh ip int brief | include manual
FastEthernet0/0            10.10.0.3       YES manual up                    up            
FastEthernet0/1            10.10.24.1      YES manual up                    up            
FastEthernet1/0            10.10.25.1      YES manual up                    up            
D2#

R1#ping 10.10.0.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.0.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 40/308/1044 ms
R1#ping 10.10.0.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.0.3, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 4/288/1032 ms
R1#

Last updated