{
 "app": "simulateur-reseau",
 "v": 1,
 "opts": {
  "strictCables": false,
  "stpFast": true
 },
 "devices": [
  {
   "id": "D1",
   "type": "router",
   "model": "r-2911",
   "name": "R1",
   "x": 300,
   "y": 120,
   "powered": true,
   "cli": "!\nhostname R1\n!\ninterface GigabitEthernet0/0\n no ip address\n shutdown\n!\ninterface GigabitEthernet0/1\n no ip address\n shutdown\n!\ninterface GigabitEthernet0/2\n no ip address\n shutdown\n!\nline con 0\n logging synchronous\nline vty 0 4\n!",
   "label": ""
  },
  {
   "id": "D2",
   "type": "router",
   "model": "r-2911",
   "name": "R2",
   "x": 600,
   "y": 120,
   "powered": true,
   "cli": "!\nhostname R2\n!\ninterface GigabitEthernet0/0\n no ip address\n shutdown\n!\ninterface GigabitEthernet0/1\n no ip address\n shutdown\n!\ninterface GigabitEthernet0/2\n no ip address\n shutdown\n!\nline con 0\n logging synchronous\nline vty 0 4\n!",
   "label": ""
  },
  {
   "id": "D3",
   "type": "switch",
   "model": "sw-2960",
   "name": "SW-A",
   "x": 150,
   "y": 220,
   "powered": true,
   "cli": "!\nhostname SW-A\n!\nspanning-tree mode pvst\nline con 0\n logging synchronous\nline vty 0 4\n!",
   "label": ""
  },
  {
   "id": "D4",
   "type": "switch",
   "model": "sw-2960",
   "name": "SW-B",
   "x": 750,
   "y": 220,
   "powered": true,
   "cli": "!\nhostname SW-B\n!\nspanning-tree mode pvst\nline con 0\n logging synchronous\nline vty 0 4\n!",
   "label": ""
  },
  {
   "id": "D5",
   "type": "pc",
   "model": "pc-linux",
   "name": "PC-A",
   "x": 60,
   "y": 330,
   "powered": true,
   "ifaces": [
    {
     "name": "ens33",
     "ip": "",
     "mask": "",
     "dhcp": false
    }
   ],
   "gw": "",
   "dns": [],
   "domain": "",
   "allowIcmpEcho": true,
   "wifi": {
    "ssid": "",
    "key": ""
   },
   "hosts": {},
   "dhcpd": {
    "enabled": false,
    "excluded": [],
    "pools": []
   },
   "dnsd": {
    "enabled": false,
    "records": [],
    "forwarders": []
   },
   "httpd": {
    "enabled": false,
    "https": false,
    "pages": {
     "/": {
      "type": "text/html; charset=utf-8",
      "body": "<html><head><title>PC-A</title></head><body><h1>Bienvenue sur PC-A</h1><p>Serveur web du simulateur.</p></body></html>"
     }
    }
   },
   "mgmt": {
    "comms": [],
    "location": "",
    "contact": "",
    "syslogd": false,
    "trapd": false
   },
   "v6": {
    "ifs": [
     {
      "name": "ens33",
      "autoconf": true,
      "addrs": []
     }
    ],
    "statics": []
   },
   "label": "Service A (≈ 50 postes)"
  },
  {
   "id": "D6",
   "type": "pc",
   "model": "pc-linux",
   "name": "PC-B",
   "x": 840,
   "y": 330,
   "powered": true,
   "ifaces": [
    {
     "name": "ens33",
     "ip": "",
     "mask": "",
     "dhcp": false
    }
   ],
   "gw": "",
   "dns": [],
   "domain": "",
   "allowIcmpEcho": true,
   "wifi": {
    "ssid": "",
    "key": ""
   },
   "hosts": {},
   "dhcpd": {
    "enabled": false,
    "excluded": [],
    "pools": []
   },
   "dnsd": {
    "enabled": false,
    "records": [],
    "forwarders": []
   },
   "httpd": {
    "enabled": false,
    "https": false,
    "pages": {
     "/": {
      "type": "text/html; charset=utf-8",
      "body": "<html><head><title>PC-B</title></head><body><h1>Bienvenue sur PC-B</h1><p>Serveur web du simulateur.</p></body></html>"
     }
    }
   },
   "mgmt": {
    "comms": [],
    "location": "",
    "contact": "",
    "syslogd": false,
    "trapd": false
   },
   "v6": {
    "ifs": [
     {
      "name": "ens33",
      "autoconf": true,
      "addrs": []
     }
    ],
    "statics": []
   },
   "label": "Service B (≈ 25 postes)"
  }
 ],
 "links": [
  {
   "a": [
    "D5",
    "ens33"
   ],
   "b": [
    "D3",
    "FastEthernet0/1"
   ],
   "type": "straight"
  },
  {
   "a": [
    "D3",
    "FastEthernet0/24"
   ],
   "b": [
    "D1",
    "GigabitEthernet0/0"
   ],
   "type": "straight"
  },
  {
   "a": [
    "D1",
    "GigabitEthernet0/1"
   ],
   "b": [
    "D2",
    "GigabitEthernet0/1"
   ],
   "type": "cross"
  },
  {
   "a": [
    "D2",
    "GigabitEthernet0/0"
   ],
   "b": [
    "D4",
    "FastEthernet0/24"
   ],
   "type": "straight"
  },
  {
   "a": [
    "D6",
    "ens33"
   ],
   "b": [
    "D4",
    "FastEthernet0/1"
   ],
   "type": "straight"
  }
 ],
 "notes": "CCNA 1-04 – VLSM : 192.168.50.0/24 à découper pour un service de 50 postes, un service de 25 postes et un lien routeur à routeur. Matériel câblé, rien n'est configuré."
}
