뭉게뭉게 엔지니어

Routed port를 이용한 InterVLAN 본문

☁ 실습 해보기/Packet Tracer

Routed port를 이용한 InterVLAN

어푸어푸🌊 2022. 6. 16. 15:19

1. L3 Switch RoutedPort 를 설정
일반적으로 SwitchPort 는 L2 > IP주소 입력불가
SW1(config)#int f0/10
SW1(config-if)#ip ?
  arp   Configure ARP features
  dhcp  Configure DHCP parameters for this interface

L3 는 SwitchPort 에 IP주소 입력가능
L3_1(config)#int f0/15
L3_1(config-if)#ip ?
  access-group  Specify access control for packets
  arp           Configure ARP features
  dhcp          Configure DHCP parameters for this interface


L3_1(config)#int f0/15
L3_1(config-if)#no switchport
L3_1(config-if)#ip address 192.168.10.254 255.255.255.0
L3_1(config-if)#no sh

SW1(config)#int f0/15
SW1(config-if)#switchport mode access
SW1(config-if)#switchport access vlan 10

확인]
192.168.10.192] 
ping 192.168.10.254
 

----- 설정후 케이블 다시 꽂아볼것, 안되면 프로그램 다시 시작 

L3_1(config)#int f0/16
L3_1(config-if)#no switchport
L3_1(config-if)#ip address 192.168.20.254 255.255.255.0
L3_1(config-if)#no sh

SW1(config)#int f0/16
SW1(config-if)#switchport mode access
SW1(config-if)#switchport access vlan 20

확인]
192.168.20.192] 
ping 192.168.20.254
 
- L3 이므로 라우팅 테이블 확인
L3_1#sh ip ro
Default gateway is not set

Host               Gateway           Last Use    Total Uses  Interface
ICMP redirect cache is empty

라우팅 기능 활성화 후 확인 
L3_1(config)#ip routing
L3_1#sh ip route 
C    192.168.10.0/24 is directly connected, FastEthernet0/15
C    192.168.20.0/24 is directly connected, FastEthernet0/16

라우팅 테스트 
192.168.10.192] 
ping 192.168.20.254
ping 192.168.20.192

'☁ 실습 해보기 > Packet Tracer' 카테고리의 다른 글

TTL(Time To Live)  (0) 2022.06.24
Redistritbuted  (0) 2022.06.23
VLAN_Sub interface 설정  (0) 2022.06.16
VLAN_Native LAN 실습  (0) 2022.06.16
OSPF_Multi Area 실습  (0) 2022.06.16
Comments