annotations: []
smart_annotations: []
nodes:
- id: n0
  label: ADMIN
  node_definition: iol-xe
  image_definition: null
  ram: null
  cpus: null
  cpu_limit: null
  data_volume: null
  boot_disk_size: null
  parameters: {}
  tags: []
  hide_links: false
  x: 0
  y: 0
  configuration:
  - name: ios_config.txt
    content: |
      hostname ADMIN
      no ip domain lookup
      service timestamps log datetime msec
      logging buffered 16000
      !
      interface Ethernet0/0
       ip address 192.168.20.10 255.255.255.0
       no shutdown
      !
      ip route 0.0.0.0 0.0.0.0 192.168.20.1
      !
      end
  interfaces:
  - id: i0
    label: Loopback0
    mac_address: null
    type: loopback
  - id: i1
    label: Ethernet0/0
    slot: 0
    type: physical
    mac_address: null
  - id: i2
    label: Ethernet0/1
    slot: 1
    type: physical
    mac_address: null
  - id: i3
    label: Ethernet0/2
    slot: 2
    type: physical
    mac_address: null
  - id: i4
    label: Ethernet0/3
    slot: 3
    type: physical
    mac_address: null
- id: n1
  label: R1
  node_definition: iol-xe
  image_definition: null
  ram: null
  cpus: null
  cpu_limit: null
  data_volume: null
  boot_disk_size: null
  parameters: {}
  tags: []
  hide_links: false
  x: 180
  y: 0
  configuration:
  - name: ios_config.txt
    content: |
      hostname R1
      no ip domain lookup
      service timestamps log datetime msec
      logging buffered 16000
      !
      interface Ethernet0/0
       ip address 192.168.20.1 255.255.255.0
       no shutdown
      !
      interface Ethernet0/1
       ip address 192.168.30.1 255.255.255.0
       ip access-group GUEST-IN in
       no shutdown
      !
      interface Loopback0
       ip address 203.0.113.50 255.255.255.255
       no shutdown
      !
      ip access-list extended GUEST-IN
       10 permit ip 192.168.30.0 0.0.0.255 any
       20 deny ip 192.168.30.0 0.0.0.255 192.168.20.0 0.0.0.255
      !
      end
  interfaces:
  - id: i0
    label: Loopback0
    mac_address: null
    type: loopback
  - id: i1
    label: Ethernet0/0
    slot: 0
    type: physical
    mac_address: null
  - id: i2
    label: Ethernet0/1
    slot: 1
    type: physical
    mac_address: null
  - id: i3
    label: Ethernet0/2
    slot: 2
    type: physical
    mac_address: null
  - id: i4
    label: Ethernet0/3
    slot: 3
    type: physical
    mac_address: null
- id: n2
  label: GUEST
  node_definition: iol-xe
  image_definition: null
  ram: null
  cpus: null
  cpu_limit: null
  data_volume: null
  boot_disk_size: null
  parameters: {}
  tags: []
  hide_links: false
  x: 360
  y: 0
  configuration:
  - name: ios_config.txt
    content: |
      hostname GUEST
      no ip domain lookup
      service timestamps log datetime msec
      logging buffered 16000
      !
      interface Ethernet0/0
       ip address 192.168.30.10 255.255.255.0
       no shutdown
      !
      ip route 0.0.0.0 0.0.0.0 192.168.30.1
      !
      end
  interfaces:
  - id: i0
    label: Loopback0
    mac_address: null
    type: loopback
  - id: i1
    label: Ethernet0/0
    slot: 0
    type: physical
    mac_address: null
  - id: i2
    label: Ethernet0/1
    slot: 1
    type: physical
    mac_address: null
  - id: i3
    label: Ethernet0/2
    slot: 2
    type: physical
    mac_address: null
  - id: i4
    label: Ethernet0/3
    slot: 3
    type: physical
    mac_address: null
links:
- id: l0
  n1: n0
  n2: n1
  i1: i1
  i2: i1
  conditioning: {}
  label: ADMIN-Ethernet0/0<->R1-Ethernet0/0
- id: l1
  n1: n1
  n2: n2
  i1: i2
  i2: i1
  conditioning: {}
  label: R1-Ethernet0/1<->GUEST-Ethernet0/0
lab:
  title: CCNA 07B - acl_order
  description: ترتيب ACL يسمح للضيف بالوصول للإدارة
  notes: |-
    ترتيب ACL يسمح للضيف بالوصول للإدارة

    من GUEST اختبر 192.168.20.10 و203.0.113.50. افحص show ip access-lists GUEST-IN.

    الإصلاح
    على R1 في ip access-list extended GUEST-IN أضف 5 deny ip 192.168.30.0 0.0.0.255 192.168.20.0 0.0.0.255 ثم احذف السطر 20 المكرر باستخدام no 20.

    التحقق
    شبكة الضيوف تُمنع من ADMIN، بينما تصل إلى Loopback الخدمة. قارن hit counters بعد نفس الاختبار.
  timestamp: 1795104000.0
  version: 0.3.0
