[router0 - show run]
interface GigabitEthernet0/0/0
ip address 1.1.1.1 255.255.255.252
duplex auto
speed auto
!
interface GigabitEthernet0/0/1
ip address 1.1.1.9 255.255.255.248
duplex auto
speed auto
!
interface GigabitEthernet0/0/2
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route 192.168.1.0 255.255.255.192 1.1.1.2
ip route 192.168.1.64 255.255.255.192 1.1.1.2
[multilayer_switch0 - show run]
interface FastEthernet0/1
no switchport
ip address 1.1.1.2 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
switchport access vlan 10
!
interface GigabitEthernet0/2
switchport access vlan 20
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
mac-address 000a.f362.4201
ip address 192.168.1.1 255.255.255.192
!
interface Vlan20
mac-address 000a.f362.4202
ip address 192.168.1.65 255.255.255.192
!
ip classless
ip route 0.0.0.0 0.0.0.0 1.1.1.1
'자격증공부 > CCNA' 카테고리의 다른 글
CCNA - 230610 - 7주차 토요일[3] (0) | 2023.06.11 |
---|---|
tmp 20230610 1246 ccna*2 (0) | 2023.06.10 |
CCNA - 230610 - 7주차 토요일[2] (0) | 2023.06.10 |
CCNA - 230610 - 7주차 토요일[1] (0) | 2023.06.10 |
CCNA - 230604 - 6주차 일요일[3] (0) | 2023.06.04 |