Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Archives
Today
Total
관리 메뉴

인프라

프레임 릴레이 본문

Network

프레임 릴레이

delay_year 2022. 10. 11. 09:18

LAN: Ethernet

         MAC Address

 

WAN : PPP, HDLD,

           Address (Broadcast)

 

Frame-Relay

DLCi

 

R1(config)#interface Serial0/0
R1(config-if)#R1(config-if)#
R1(config-if)#
R1(config-if)#
R1(config-if)#
R1(config-if)#exit
R1(config)#int s 0/0
R1(config-if)#encapsulation ?
  frame-relay  Frame Relay networks
  hdlc         Serial HDLC synchronous
  ppp          Point-to-Point protocol
R1(config-if)#encapsulation frame-relay
R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

R1(config-if)#exit
R1(config)#int s 0/0.?
  <0-4294967295>  Serial interface number
R1(config)#int s 0/0.12?
<0-4294967295>  
R1(config)#int s 0/0.12 ?
  multipoint      Treat as a multipoint link
  point-to-point  Treat as a point-to-point link
  <cr>

 

multipoint - 하나의 

int s 0/0 123 mutipont 
ip add 1.1.123.1 255.255.255.0
frame-relay map ip 1.1.123.2 102
frame-relay map ip 1.1.123.3 103

int s 0/0 .12 point-to-pint
ip add 1.1.12.1 255.255.255.0
frame-relay interface-dlci 102

int s 0/0.13 point-to-point
ip add 1.1.13.1 255.255.255.0
frame-relay interface-dlci 103


R1(config)#int s 0/0.12 point-to-point
R1(config-subif)#
%LINK-5-CHANGED: Interface Serial0/0.12, changed state to up

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

R1(config-subif)#ip add 1.1.12.1 255.255.255.0
R1(config-subif)#frame-relay ?
  interface-dlci  Define a DLCI on an interface/subinterface
  map             Map a protocol address to a DLCI address
R1(config-subif)#frame-relay 
% Incomplete command.
R1(config-subif)#frame-relay interface-dlci 102
R1(config-subif)#int s 0/0.13 point-to-point
R1(config-subif)#
%LINK-5-CHANGED: Interface Serial0/0.13, changed state to up

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

R1(config-subif)#ip add 1.1.13.1 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 103
R1(config-subif)#
R1(config-subif)#int s 0/0

	
R1(config-if)#no shutdown

R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0.12, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0.13, changed state to down

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

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

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

R1(config-if)#end

 

 

 

 

R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int s0/0
	
R1(config-if)#encapsulation frame-relay
R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

R1(config-if)#no shut

R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

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

R1(config-if)#exit
R1(config)#int s 0/0.123 multipoint
R1(config-subif)#
%LINK-5-CHANGED: Interface Serial0/0.123, changed state to up

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

R1(config-subif)#ip add 1.1.123.1 255.255.255.0
R1(config-subif)#frame-relay map ip 1.1.123.2 102
R1(config-subif)#frame-relay map ip 1.1.123.3 103
R1(config-subif)#end
R1#
%SYS-5-CONFIG_I: Configured from console by console

 

 

R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int s 0/0
R2(config-if)#encapsulation frame-relay
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

R2(config-if)#no shut

R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

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

R2(config-if)#int s 0/0.123 point-to-point
R2(config-subif)#
%LINK-5-CHANGED: Interface Serial0/0.123, changed state to up

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

R2(config-subif)#ip add 1.1.123.2 255.255.255.0
	
R2(config-subif)#frame-relay interface-dlci 201
R2(config-subif)#end
R2#
%SYS-5-CONFIG_I: Configured from console by console
R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#int s 0/0
R3(config-if)#encapsulation frame-relay
R3(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

R3(config-if)#no shut

R3(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

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

R3(config-if)#int s 0/0.123 point-to-point
R3(config-subif)#
%LINK-5-CHANGED: Interface Serial0/0.123, changed state to up

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

R3(config-subif)#ip add 1.1.123.3 255.255.255.0
R3(config-subif)#frame-relay interface-dlci 301
R3(config-subif)#end
R3#
%SYS-5-CONFIG_I: Configured from console by console

 

R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int s 0/0.123 multipoint
R1(config-subif)#frame-relay map ip 1.1.123.1 102
R1(config-subif)#end
R1#ping 1.1.123.1

 

 

Frame-relay map ip 1.1.123.2 102

L3 IP 주소 1.1.123.2 와 통신사 L2 DLCI 102를 사용하겠다.

 

Frame-relay map ip 1.1.123.2 102 broadcast

L3 IP 주소 1.1.123.2 와 통신사 L2 DLCI 102를 사용하겠다.

추가로 broadcast

 

 

 

 

R1(config-if)#int 0/0
               ^
% Invalid input detected at '^' marker.
	
R1(config-if)#exit
R1(config)#int s 0/0
R1(config-if)#encapsulation frame-relay
R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

R1(config-if)#no shut

R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

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

R1(config-if)#int s 0/0.12 point-to-point
R1(config-subif)#
%LINK-5-CHANGED: Interface Serial0/0.12, changed state to up

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

R1(config-subif)#ip add 1.1.12.1 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 102
R1(config-subif)#int s 0/0.134 multipoint
R1(config-subif)#
%LINK-5-CHANGED: Interface Serial0/0.134, changed state to up

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

R1(config-subif)#ip add 1.1.134.1 255.255.255.0
R1(config-subif)#frame-relay map ip 1.1.134.3 103 broadcast
R1(config-subif)#frame-relay map ip 1.1.134.4 104 broadcast
R1(config-subif)#end
R1#
%SYS-5-CONFIG_I: Configured from console by console
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int s 0/0
R2(config-if)#encapsulation frame-relay
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

R2(config-if)#no shut

R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

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

	
R2(config-if)#int s 0/0.12 point-to-point
R2(config-subif)#
%LINK-5-CHANGED: Interface Serial0/0.12, changed state to up

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

R2(config-subif)#uo add 1.1.12.2 255.255.255.0
                 ^
% Invalid input detected at '^' marker.
	
R2(config-subif)#ip add 1.1.12.2 255.255.255.0
R2(config-subif)#frame-relay interface-dlci 201
R2(config-subif)#end
R2#
%SYS-5-CONFIG_I: Configured from console by console
R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#int s0/0
R3(config-if)#encapsulation frame-relay
R3(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

R3(config-if)#no shut

R3(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

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

R3(config-if)#int s 0/0.134 multipoint
R3(config-subif)#
%LINK-5-CHANGED: Interface Serial0/0.134, changed state to up

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

R3(config-subif)#ip add 1.1.134.3 255.255.255.0
R3(config-subif)#frame-relay map ip 1.1.134.1 301 br
R3(config-subif)#frame-relay map ip 1.1.134.4 304 br
R3(config-subif)#end
R3#
%SYS-5-CONFIG_I: Configured from console by console
R4#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R4(config)#int s 0/0
R4(config-if)#encapsulation frame-relay
R4(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

R4(config-if)#no shut

R4(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

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

R4(config-if)#int s 0/0.134 multipoint
R4(config-subif)#
%LINK-5-CHANGED: Interface Serial0/0.134, changed state to up

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

R4(config-subif)#ip add 1.1.134.4 255.255.255.0
R4(config-subif)#frame-relay map ip 1.1.134.1 401 br
R4(config-subif)#frame-relay map ip 1.1.134.3 403 br
R4(config-subif)#end
R4#
%SYS-5-CONFIG_I: Configured from console by console

 

 

 

 

 

R2(config)#int loop 0

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

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up

R2(config-if)#ip add 2.2.2.2 255.255.255.0
R2(config-if)#end
R2#
%SYS-5-CONFIG_I: Configured from console by console

R2#copy run start
Destination filename [startup-config]? 
Building configuration...
[OK]

 

R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#int loop 0

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

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up

R3(config-if)#ip add 3.3.3.3 255.255.255.0
R3(config-if)#end
R3#
%SYS-5-CONFIG_I: Configured from console by console

R3#copy run start
Destination filename [startup-config]? 
Building configuration...
[OK]

 

 

 

 

R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#router rip
R1(config-router)#ver 2
R1(config-router)#no auto-summary
R1(config-router)#network 1.0.0.0
R1(config-router)#end

 

R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#router rip
R2(config-router)#ver 2
R2(config-router)#no auto-summary
R2(config-router)#network 1.0.0.0
R2(config-router)#network 2.0.0.0
R2(config-router)#end
R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#router rip
R3(config-router)#ver 2
R3(config-router)#network 3.0.0.0
R3(config-router)#network 1.0.0.0
R3(config-router)#network 2.0.0.0
R3(config-router)#end
R3#
%SYS-5-CONFIG_I: Configured from console by console

 

R4#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R4(config)#router rip
R4(config-router)#ver 2
R4(config-router)#no auto
R4(config-router)#network 1.0.0.0
R4(config-router)#network 2.0.0.0
R4(config-router)#network 3.0.0.0
R4(config-router)#network 4.0.0.0
R4(config-router)#end
R4#
%SYS-5-CONFIG_I: Configured from console by console

 

 

 

 

R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#router ospf 1
R1(config-router)#network 1.1.1.0 0.0.0.255 area 0
R1(config-router)#network 1.1.12.0 0.0.0.255 area 0
R1(config-router)#network 1.1.134.0 0.0.0.255 area 0
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#router ospf 1
R2(config-router)#network 2.2.2.0 0.0.0.255 area 0
R2(config-router)#network 1.1.12.0 0.0.0.255 area 0
R2(config-router)#
00:03:24: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/0.12 from LOADING to FULL, Loading Done

R2(config-router)#do show ip ospf neighbor

 

 

 

 

 

 

 

 

 

 

 

R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#router ospf 1
R1(config-router)#network 1.1.1.0 0.0.0.255 area 0
R1(config-router)#network 1.1.12.0 0.0.0.255 area 0
R1(config-router)#network 1.1.134.0 0.0.0.255 area 0
R1(config-router)#
00:03:24: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial0/0.12 from LOADING to FULL, Loading Done

R1(config-router)#s
00:20:16: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on Serial0/0.134 from LOADING to FULL, Loading Done

R1(config-router)#s
00:21:04: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 on Serial0/0.134 from LOADING to FULL, Loading Done

R1(config-router)#end
R2(config)#conf t
%Invalid hex value
R2(config)#router ospf 1
R2(config-router)#network 2.2.2.0 0.0.0.255 area 0
R2(config-router)#network 1.1.12.2 0.0.0.255 area 0
R2(config-router)#end
R2#
%SYS-5-CONFIG_I: Configured from console by console

 

R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#router ospf 1
R3(config-router)#network 3.3.3.0 0.0.0.255 area 0

% Invalid input detected at '^' marker.
	
R3(config-router)#network 1.1.134.0 0.0.0.255 area 0
R3(config-router)#end
R3#
%SYS-5-CONFIG_I: Configured from console by console

R3#
00:20:16: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/0.134 from LOADING to FULL, Loading Done

R3#
00:21:04: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 on Serial0/0.134 from LOADING to FULL, Loading Done
R4(config)#router ospf 1
R4(config-router)#network 4.4.4.0 0.0.0.255 area 0
R4(config-router)#network 1.1.134.0 0.0.0.255 area 0
R4(config-router)#end
R4#
%SYS-5-CONFIG_I: Configured from console by console

R4#
00:21:04: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/0.134 from LOADING to FULL, Loading Done

00:21:04: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on Serial0/0.134 from LOADING to FULL, Loading Done

 

  • ip ospf network non-broadcast               multiaccess (NBMA)       DR / BDR
  • ip ospf network broadcast                      multiaccess (Enthernet)    DR/BDR
  • ip ospf network point-to-multipoint
  • ip ospf network point-to-point

 

Frame-relay map ip 1.1.134.3 103 boadcast
R1 --------- 224.0.0.5 -----Hello ----> R3, R4

Frame-relay map ip 1.1.34.3 

 

R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#no int s 0/0.3
00:43:34: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 on Serial0/0.134 from FULL to DOWN, Neighbor Down: Dead timer expired

00:43:34: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 on Serial0/0.134 from FULL to DOWN, Neighbor Down: Interface down or detached

	
R3(config)#no int s 0/0.134
R3(config)#
%LINK-3-UPDOWN: Interface Serial0/0.134, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0.134, changed state to down

00:43:50: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/0.134 from FULL to DOWN, Neighbor Down: Interface down or detached

R3(config)#int s 0/0.134 point-to-point
R3(config-subif)#
%LINK-5-CHANGED: Interface Serial0/0.134, changed state to up

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

R3(config-subif)#ip add 1.1.134.3 255.255.255.0
R3(config-subif)#frame-relay interface-dlci 301
R3(config-subif)#end
R3#
%SYS-5-CONFIG_I: Configured from console by console

R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#router ospf 1
R3(config-router)#network 1.1.134.0 0.0.0.255 area 0
R3(config-router)#network 3.3.3.0 0.0.0.255 area 0
R3(config-router)#end
R3#

 

 

 

R4#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R4(config)#no int s 0/0.134
R4(config)#
%LINK-3-UPDOWN: Interface Serial0/0.134, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0.134, changed state to down

00:44:56: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/0.134 from FULL to DOWN, Neighbor Down: Interface down or detached

R4(config)#int s 0/0.134 point-to-point
R4(config-subif)#
%LINK-5-CHANGED: Interface Serial0/0.134, changed state to up

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

R4(config-subif)#ip add 1.1.1.34 255.255.255.0
R4(config-subif)#ip add 1.1.1.134 255.255.255.0
R4(config-subif)#frame-relay interface-dlci 401
R4(config-subif)#end
R4#
%SYS-5-CONFIG_I: Configured from console by console

R4#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R4(config)#router ospf 1
R4(config-router)#network 1.1.134.0 0.0.0.255 area 0
R4(config-router)#network 4.4.4.0 0.0.0.255 area 0
R4(config-router)#end
R4#
%SYS-5-CONFIG_I: Configured from console by console

 

 

 

 

 

 

 

internet(config-if)#ip add 4.4.4.4 255.255.255.0
internet(config-if)#int loop 5

internet(config-if)#
%LINK-5-CHANGED: Interface Loopback5, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback5, changed state to up

internet(config-if)#ip add 5.5.5.5 255.255.255.0
internet(config-if)#int s 0/0
internet(config-if)#ip add 1.1.100.100 255.255.255.0	
internet(config-if)#no shut

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


internet(config-if)#int s 0/1
internet(config-if)#ip add 1.1.200.100 255.255.255.0
internet(config-if)#no shut

internet(config)#router ospf 1
internet(config-router)#router-id 100.100.100.100
internet(config-router)#network 1.1.100.0 0.0.0.255 area 0
internet(config-router)#network 1.1.200.0 0.0.0.255 area 0
internet(config-router)#end
internet#
%SYS-5-CONFIG_I: Configured from console by console


internet#copy run start
Destination filename [startup-config]?

 

 

 

 

R1(config)#int s 0/0
R1(config-if)#ip add 1.1.100.1 255.255.255.0
R1(config-if)#no shut

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

R1(config-if)#exit
R1(config)#ip route 
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

R1(config)#ip route 0.0.0.0 0.0.0.0 1.1.100.100
R1(config)#router ospf 1
R1(config-router)#router-id 1.1.1.1
R1(config-router)#network 1.1.100.0 0.0.0.255 area 0
R1(config-router)#
00:12:18: %OSPF-5-ADJCHG: Process 1, Nbr 100.100.100.100 on Serial0/0 from LOADING to FULL, Loading Done

R1(config-router)#default-information
% Incomplete command.
R1(config-router)#default-information
% Incomplete command.
R1(config-router)#default-information
% Incomplete command.
R1(config-router)#network 1.1.100.0 0.0.0.255 area 0
R1(config-router)#default-information
% Incomplete command.
R1(config-router)#default-information
% Incomplete command.
R1(config-router)#end
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/9/11 ms

R1#ping 5.5.5.5

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 7/10/15 ms

R1#copy run start
Destination filename [startup-config]? 
Building configuration...
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
	
R2(config)#int s0/1
R2(config-if)#ip add 1.1.200.2 255.255.255.0
R2(config-if)#no shut

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

R2(config-if)#eic
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up

	
R2(config-if)#ip route 0.0.0.0 0.0.0.0 1.1.200.100
R2(config)#router ospf 1
R2(config-router)#router-id 2.2.2.2
R2(config-router)#network 1.1.200.0 0.0.0.255 area 0
R2(config-router)#
00:16:35: %OSPF-5-ADJCHG: Process 1, Nbr 100.100.100.100 on Serial0/1 from LOADING to FULL, Loading Done

R2(config-router)#default-information
% Incomplete command.
R2(config-router)#end
R2#
%SYS-5-CONFIG_I: Configured from console by console

R2#ping 3.3.3.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 6/9/10 ms

R2#ping 4.4.4.4

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 7/9/10 ms

R2#copy run start
Destination filename [startup-config]? 
Building configuration...

 

SW10#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW10(config)#int gi 0/1
SW10(config-if)#no switchport
SW10(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down

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

SW10(config-if)#ip add 1.1.10.10 255.255.255.0
SW10(config-if)#no shut
SW10(config-if)#int fa 0/23
SW10(config-if)#no switchport
SW10(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to up

SW10(config-if)#ip add 1.1.1.251 255.255.255.0
SW10(config-if)#no shut
SW10(config-if)#router ospf 1
IP routing not enabled
SW10(config)#router ospf 1
IP routing not enabled
SW10(config)#ip routing
SW10(config)#router ospf 1
SW10(config-router)#router-id 10.10.10.10
SW10(config-router)#network 1.1.10.0 0.0.0.255 area 0

SW10(config-router)#network 1.1.1.0 0.0.0.255 area 0
SW10(config-router)#passive-interface fa0/23
SW10(config-router)#end
SW10#
%SYS-5-CONFIG_I: Configured from console by console
SW20(config)#cdp run
SW20(config)#ip routing
SW20(config)#int gi 0/1
SW20(config-if)#no switchport
SW20(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down

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

SW20(config-if)#ip add 1.1.20.20 255.255.255.0
SW20(config-if)#no shut
SW20(config-if)#in fa 0/24
SW20(config-if)#no switchport
SW20(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up

SW20(config-if)#ip add 1.1.1.252 255.255.255.0
SW20(config-if)#no shut
SW20(config-if)#
SW20(config-if)#router ospf `1
                ^
% Invalid input detected at '^' marker.
	
SW20(config-if)#router ospf 1
SW20(config-router)#router-id 20.20.20.20
SW20(config-router)#network 1.1.1.0
% Incomplete command.
SW20(config-router)#network 1.1.1.0 0.0.0.255 area 0
SW20(config-router)#network 1.1.20.0 0.0.0.255 area 0
SW20(config-router)#end
SW20#
%SYS-5-CONFIG_I: Configured from console by console

SW20#
SW20#
00:55:13: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on GigabitEthernet0/1 from LOADING to FULL, Loading Done

SW20#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW20(config)#router ospf 1
SW20(config-router)#passive-interface fa 0/24
SW20(config-router)#end
SW20#
%SYS-5-CONFIG_I: Configured from console by console

SW20#end
Translating "end"
% Unknown command or computer name, or unable to find computer address

SW20#ping 2.2.2.2

'Network' 카테고리의 다른 글

MSF 보조 기능  (0) 2022.11.04
메타스플로잇 Metasploit  (0) 2022.11.03
OSPF 설정  (0) 2022.10.07
EIGRP  (0) 2022.10.06
이더채널, 정적경로  (0) 2022.10.05
Comments