annotations: []
smart_annotations: []
nodes:
- id: n0
  label: PC-LAB
  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: -230
  y: 0
  configuration:
  - name: ios_config.txt
    content: |
      hostname PC-LAB
      no ip domain lookup
      service timestamps log datetime msec
      logging buffered 16000
      !
      interface Ethernet0/0
       ip address dhcp
       no shutdown
      !
      !
      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: SW1
  node_definition: ioll2-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 SW1
      no ip domain lookup
      service timestamps log datetime msec
      logging buffered 16000
      !
      vlan 10
       name LAN10
      !
      vlan 20
       name LAN20
      !
      vlan 30
       name LAN30
      !
      interface Ethernet0/0
       switchport trunk encapsulation dot1q
       switchport mode trunk
       switchport trunk allowed vlan 10,20,30
       no shutdown
      !
      interface Ethernet0/1
       switchport mode access
       switchport access vlan 30
       no shutdown
      !
      interface Ethernet0/2
       switchport mode access
       switchport access vlan 20
       no shutdown
      !
      !
      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: 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: 250
  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
       no shutdown
      !
      interface Ethernet0/0.10
       ip address 192.168.10.1 255.255.255.0
       encapsulation dot1Q 10
       no shutdown
      !
      interface Ethernet0/0.20
       ip address 192.168.20.1 255.255.255.0
       encapsulation dot1Q 20
       no shutdown
      !
      interface Ethernet0/0.30
       ip address 192.168.30.1 255.255.255.0
       encapsulation dot1Q 30
       no shutdown
      !
      ip dhcp excluded-address 192.168.10.1 192.168.10.20
      ip dhcp pool VLAN10
       network 192.168.10.0 255.255.255.0
       default-router 192.168.10.1
      !
      ip dhcp excluded-address 192.168.30.1 192.168.30.20
      ip dhcp pool VLAN30
       network 192.168.30.0 255.255.255.0
       default-router 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
- id: n3
  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: 170
  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
links:
- id: l0
  n1: n0
  n2: n1
  i1: i1
  i2: i2
  conditioning: {}
  label: PC-LAB-Ethernet0/0<->SW1-Ethernet0/1
- id: l1
  n1: n1
  n2: n2
  i1: i1
  i2: i1
  conditioning: {}
  label: SW1-Ethernet0/0<->R1-Ethernet0/0
- id: l2
  n1: n1
  n2: n3
  i1: i3
  i2: i1
  conditioning: {}
  label: SW1-Ethernet0/2<->ADMIN-Ethernet0/0
lab:
  title: CCNA 03C - wrong_access_vlan
  description: عميل DHCP يحصل على عنوان شبكة الضيوف
  notes: |-
    عميل DHCP يحصل على عنوان شبكة الضيوف

    على PC-LAB افحص show ip interface brief وshow dhcp lease. على SW1 اعرض show interfaces Ethernet0/1 switchport.

    الإصلاح
    على SW1 في Ethernet0/1 ضع switchport access vlan 10. على العميل جدّد DHCP باستخدام renew dhcp Ethernet0/0 عند توفره، أو أعد تهيئة ip address dhcp.

    التحقق
    يظهر عنوان من 192.168.10.0/24 بدل 192.168.30.0/24. افحص ping 192.168.10.1.
  timestamp: 1795104000.0
  version: 0.3.0
