Stone_Red
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    <style> body {text-align: jusitfy}</style> # Informatik - Laborprotokoll ## Configure Initial Router Settings ![@ionos.at](https://www.ionos.at/digitalguide/fileadmin/DigitalGuide/Teaser/vlan-t.jpg) | Klasse / Jahrgang | Übungsteilnehmer | Übungsdatum | Abgabedatum | | ----------------- | ----------------- | ----------- | ----------- | | 3 AHINF | David Heigl | 15.03.2022 | 29.03.2022 | | | Stefan Kössner | 22.03.2022 | | | | Bettina Hallinger | | | | | Simon Unger | | | ### Inventar / Geräteliste | Allgemeine Bezeichnung | Hersteller | Typ | Zusätzliche Informationen | |:----------------------:| ---------- | ------------- |:-------------------------:| | Notebook | Dell | XPS 15 | - | | Notebook | Microsoft | Surface Pro 7 | - | ### Bemerkungen **Hauptverfasser:** David Heigl --- ### Inhalt 1. [Einleitung](#1.-Einleitung) 1. [Durchführung](#2.-Durchführung) 1. [Aufgabenstellung](#2.1-Aufgabenstellung) 1. [Protokoll / Durchführungsbeschreibung](#2.2-Protokoll-/-Durchführungsbeschreibung) 1. [Diskussion der Ergebnisse](#3-.Disukssion-der-Ergebnisse) ## 1. Einleitung Bei dieser Übung wurde uns aufgetragen, uns in zwei Schritten die Konfiguration eines Routers genauer zu betrachten und weitere Konfigurationen vorzunehmen. Im ersten Schritt geht es darum, die "Inital Configuration", welche den Router auf die Verwedung vorbereitet, zu konfigurieren. Im zweiten Schritt wird der Router mit dem LAN verbunden und es werden statische Routen konfiguriert. ## 2. Durchführung ### 2.1 Aufgabenstellung #### 2.1.1 Aufgabe 1 In der ersten Aufgabe geht es darum, dass man sich mit der Inital Konfiguration von Cisco Routern beschäftigt. #### 2.1.2 Aufgabe 2 In der zweiten Aufgabe geht es darum zwei Router mit LANs zu verbinden, indem wir die notwendigen Konfigurationen vornehmen. Es gibt insgesamt vier LANs. Am Ende soll es möglich sein, von einem PC eines LANs jeden PC eines anderen LANs pingen zu können. ### 2.2 Protokoll / Durchführungsbeschreibung #### 2.2.1 Aufgabe 1 Zuerst haben wir den Router mit dem vorhandenen PC mithilfe eines Konsolenkabels verbunden. Danach haben wir mit dem `enable` command den privileged EXEC mode betreten. Mithife des `show running-config` Befehles haben wir die Konfiguration angezeigt. > What is the router’s hostname? **Hostname:** Router > How many Fast Ethernet interfaces does the Router have? **Fast Ethernet Schnittstellen Anzahl:** 4 > How many Gigabit Ethernet interfaces does the Router have? **Gigabit Ethernet Schnittstellen Anzahl:** 2 > How many Serial interfaces does the router have? **Serial Schnittstellen Anzahl:** 2 > What is the range of values shown for the vty lines? **vty Range:** 0 4 Nach diesem Schritt wurden wir dazu aufgefordert, uns die Startup Konfiguration anzeigen zu lassen. ```bash Router# show startup-config startup-config is not present ``` > Why does the router respond with the startup-config is not present message? Der Fehler wird angezeigt, da die running-config in die startup-config noch nie kopiert wurde. Im nächsten Schritt haben wir den Konfigurationsmodus betreten und mithilfe des `hostname R1` Befehls den Hostnamen auf `R1` gesetzt. Der `banner motd` Befehl half uns dabei, die sogenannte "Message of the day" zu "Unauthorized access is strictly prohibited" zu setzen. Die Passwortverschlüsselung konnten wir einfach durch die Befehle `line telndet`, `password <password>` und `service password-encryption` aktivieren. Um die Konfiguration zu überprüfen, verwenden wir `show running-config`. Die Funktionalität des Passwortes und des Banners können wir einfach überprüfen indem wir die momentane Sitzung verlassen und eine neue betreten. > Why should every router have a message-of-the-day (MOTD) banner? Er sollte unauthorisierte Nutzer warnen und wichtige Nachrichten verbreiten. > Why would the enable secret password allow access to the privileged EXEC mode and the enable password no longer be valid? Da `enable secret` höhere Sicherheitsstandards hat. > If you configure any more passwords on the router, are they displayed in the configuration file as plain text or in encrypted form? Explain. Ja sind sie. Da der Verschlüsselungs-Service aktiv ist, verschlüsselt er die Passwörter. Am Schluss können wir die Konfiguration speichern, indem wir den Befehl `copy running-config startup-config` eingeben. Die kürzeste Version von diesem Befehl ist `copy ru st`. Optional können wir die Konfiguration auch auf den Flash speichern. Dies ist mithilfe des `copy startup-config flash` Befehles möglich. #### 2.2.2 Aufgabe 2 > Which command displays the statistics for all interfaces configured on a router? `show interfaces` > Which command displays the information about the Serial 0/0/0 interface only? `show interface Serial 0/0/0` > Enter the command to display the statistics for the Serial 0/0/0 interface on R1 and answer the following questions: 1. What is the IP address configured on R1? 209.165.200.225 / 30 1. What is the bandwidth on the Serial 0/0/0 interface? 1544 Kbit > Enter the command to display the statistics for the GigabitEthernet 0/0 interface and answer the following questions: 1. What is the IP address on R1? Es wurde ihm noch keine zugewiesen. 1. What is the MAC address of the GigabitEthernet 0/0 interface? 000d.bd6c.7d01 (bia 000d.bd6c.7d01) 1. What is the bandwidth (BW) of the GigabitEthernet 0/0/0 interface? 1 000 000 Kbit > Which command displays a brief summary of the current interfaces, interface status and the IP addresses assigned to them? `show ip interface brief` > Enter the command on each router and answer the following questions: 1. How many serial interfaces are there on R1 and R2? R1: 2 interfaces gesamt (Serial0/0/0 → active ; Serial0/0/1 → not active) R2: 2 interfaces gesamt (Serial0/0/0 → active ; Serial0/0/1 → not active) 1. How many Ethernet interfaces are there on R1 and R2? R1: 6 interfaces gesammt (2 GigabitEthernet ; 4 FastEthernet) R2: 2 interfaces gesamt (2 GigabitEthernet) 1. Are all the Ethernet interfaces on R1 the same? If no, explain the differences(s): Nein die Geschwindigkeit unterscheidet sich. > What command displays the contents of the routing table? `show ip route` > Enter the command on R1 and answer the following questions: 1. How many connected routes are there (uses the C code)? Es ist eine verbundene Route vorhanden (209.165.200.224 / 30) 1. Which route is listed? C 209.165.200.224 / 30 is directly connected, Serial0/0/0 1. How does a router handle a packet destined for a network that is not listed in the routing table? Er verwirft das Paket. Um mit der Konfiguration von Router 1 zu beginnen, gehen wir durch die altbekannten Schritte durch `enable; configure Terminal`. Jetzt aktiveren wir das Interface `GigabitEthernet 0/0` mit den folgenden Befehlen: ``` bash interface gigabitethernet 0/0 # Wählt das Interface zur Konfiguration aus ip address 192.168.10.1 255.255.255.0 # Setzt die Addresse und Netmaske no shutdown # Aktiviert das Interface ``` Um unserere Konfiguration nachvollziehbar zu machen, fügen wir eine Beschreibung zu unserem Interface hinzu: ```bash description LAN verbindung S1 # Setzt die Beschreibung ``` Jetzt sollten wir von unseren Router aus PC1 pingen können. ```bash ping 192.168.10.10 # Ping PC1 mit seiner IP Adresse ``` Jetzt sollen wir laut folgender Adressierungstabelle die restlichen Interfaces konfigurieren: | Gerät | Interface | IP Adresse | Subnetz Maske | | ----- |:------------:|:---------------:|:---------------:| | R1 | G0/0 | 192.168.10.1 | 255.255.255.0 | | | G0/1 | 192.168.11.1 | 255.255.255.0 | | | S0/0/0 (DCE) | 209.165.200.225 | 255.255.255.252 | | R2 | G0/0 | 10.1.1.1 | 255.255.255.0 | | | G0/1 | 10.1.2.1 | 255.255.255.0 | | | S0/0/0 | 209.165.200.226 | 255.255.255.252 | Für jeden dieser Einträge gehen wir folgende Schritte durch: ```bash int <Interface> # Wählt das Interface aus ip a <IP Adresse> <Subnetz Maske> # Setzt die Addresse und Netzmaske no shutdown # Aktiviert das Interface ``` Die Gigabit Interfaces, welche mit den Switches im LAN verbunden werden, erhalten die Beschreibung `LAN Verbindung <Switch Hostname>` und die seriellen Verbindungen `LAN Verbidung zu Netzwerk <Netzadresse>` Zu guter letzt wird wie immer die Konfiguration zum NVRAM geschrieben: `copy running-confiuration startup-configurtaion` > How many interfaces on R1 and R2 are configured with IP addresses and in the “up” and “up” state? R1: 3 interfaces in total (2 GigabitEthernet → 0/0 AND 0/1 ; 1 Serial → 0/0/0) R2: 3 interfaces in total (2 GigabitEhternet → 0/0 AND 0/1 ; 1 Serial → 0/0/0) > What part of the interface configuration is NOT displayed in the command output? The description of each interface > What commands can you use to verify this part of the configuration? show interfaces > Use the show ip route command on both R1 and R2 to view the current routing tables and answer the following questions: 1. How many connected routes (uses the C code) do you see on each router? R1: Es gibt 3 verbundene Routen R2: Es gibt 3 verbundene Routen 1. How many OSPF routes (uses the O code) do you see on each router? R1: Es gibt 2 OSPF Routen R2: Es gibt 2 OSPF Routen 1. If the router knows all the routes in the network, then the number of connected routes and dynamically learned routes (OSPF) should equal the total number of LANs and WANs. > How many LANs and WANs are in the topology? 4 LANs ; 1 WAN = 5 > Does this number match the number of C and O routes shown in the routing table? 3 C routes ; 2 O routes = 5 routes ## 3. Diskussion der Ergebnisse ### 3.1 Aufgabe 1 Die Aufgabenstellung ist deutlich und verständlich formuliert worden. Einige Befehle mussten wir selber recherchieren. Dadurch wurde nochmals unser gesamtes Wissen über die Konfiguration eines Cisco Routers geprüft und verstärkt. ### 3.2 Aufgabe 2 Die Übung war leicht durchzuführen, die Aufgabenstellung war klar. Die Router waren so zu konfigurieren, dass am Ende die PCs aller LANs miteinander kommunizieren können. Dafür mussten statische Routen vergeben und Interfaces zugewisen werden. --- Übung: Configure Initial Router Settings

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully