Montag, 12. Oktober 2015

Cisco Packet Tracer - Teil 3

Cisco Packet Tracer - Teil 3



Aufgabenstellung:

In dieser Übung sollten zwei Netzwerke erstellt werden, die als WAN verbunden sind.
Der Router muss zuerst mithilfe des CI- Logs konfiguriert werden. Zum prüfen der Verbindung kann der ping Befehl benutzt werden. Dazu müssen die Gateways an den den End Devices eingestellt werden.

Verwendete Arbeitsmittel:

  • Router 2911
  • Switch: 2960
  • Verbindungen: Copper Straight-Through       

 

 CI - Log:

Der Konfigurationsdialog sollte für eine leichtere Einstellung benutzt werden.
  • --- System Configuration Dialog ---

    Continue with configuration dialog? [yes/no]: yes

    At any point you may enter a question mark '?' for help.
    Use ctrl-c to abort configuration dialog at any prompt.
    Default settings are in square brackets '[]'.

    Basic management setup configures only enough connectivity
    for management of the system, extended setup will ask you
    to configure each interface on the system

    Would you like to enter basic management setup? [yes/no]: yes
    Configuring global parameters:ssd
    Eingabe des Host Namens
    Enter host name [Router]: router1
    Vergabe der Passwörter
    The enable secret is a password used to protect access to
    privileged EXEC and configuration modes. This password, after
    entered, becomes encrypted in the configuration.
    Enter enable secret: cisco

    The enable password is used when you do not specify an
    enable secret password, with some older software versions, and
    some boot images.
    Enter enable password: class

    The virtual terminal password is used to protect
    access to the router over a network interface.
    Enter virtual terminal password: cisco
    Configure SNMP Network Management? [no]:

    Current interface summary

    Interface IP-Address OK? Method Status Protocol

    GigabitEthernet0/0 unassigned YES manual administratively down down

    GigabitEthernet0/1 unassigned YES manual administratively down down

    GigabitEthernet0/2 unassigned YES manual administratively down down

    Vlan1 unassigned YES manual administratively down down

    Enter interface name used to connect to the
    management network from the above interface summary: GigabitEthernet0/0
    Auswählen des Ports zum Konfigurieren
    Configuring interface GigabitEthernet0/0:
    Configure IP on this interface? [yes]:
    Eingabe der IP-Adresse+SubnetMask
    IP address for this interface: 192.168.0.1
    Subnet mask for this interface [255.255.255.0] :

    The following configuration command script was created:

    !
    hostname router1
    enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
    enable password class
    line vty 0 4
    password cisco
    !
    interface Vlan1
    shutdown
    no ip address
    !
    interface GigabitEthernet0/0
    no shutdown
    ip address 192.168.0.1 255.255.255.0
    !
    interface GigabitEthernet0/1
    shutdown
    no ip address
    !
    interface GigabitEthernet0/2
    shutdown
    no ip address
    !
    end

    [0] Go to the IOS command prompt without saving this config.
    [1] Return back to the setup without saving this config.
    [2] Save this configuration to nvram and exit.
    Speichern der Konfiguartion am NVRAM (Nicht flüchtiger RAM)
    Enter your selection [2]:
    Building configuration...
    [OK]
    Use the enabled mode 'configure' command to modify this configuration.


    Press RETURN to get started!

     

Wichtige Befehle:


copy running-config startup-config

  • Speichern der aktuellen Konfiguration als Standard-Konfiguration, die beim Starten des Routers geladen wird.

show running-config

  • Dabei werden Informationen zur aktuellen Kofiguartion angezeigt. 


show int gi 0/0

  • Zeigt den Status und Informationen zur Konfiguration des ausgewählten Ports.

show ip int brief

  • Alle Interfaces werden angezeigt
 
no ip domain-lookup
  • Hostnames müssen nicht aufgelöst werden --> Zeitersparnis

show ip route

  • Aktuelle Routeninformation wird angezeigt.
 
 

Netzwerk: 

 Es wird ein Netzwerk erstellt und dieses mit einem anderem Netzwerk verbunden. Um die Netzwerke verbinden zu können muss dass  Modul HWIC-2T in jeden der zwei Router eingebaut werden. Um das Modul zu aktivieren müssen die Router ausgeschaltet werden und das Modul aktiviert werden. Um die Konfigurationseinstellungen nicht zu verlieren sollten die Einstellungen in den NVRAM (nicht flüchtiger Speicher) gespeichert werden.



 

Aufbau des Netzwerkes mit der Verbindung der zwei Router (Kabel: Serial DCE)




 Nachdem der Strom ausgeschalten wurde sollte das Modul HWIC-2T eingebaut werden.



Um ping Anfragen auf das andere Netz zu schicken müssen noch einige Routing Informationen bearbeitet werden.

router1(config)#ip route 192.168.40.0 255.255.255.0 s0/0/0
Ein statischer Routing Eintrag, der den Weg für ein Netzwerk definiert.
router1(config)#ip route 0.0.0.0 0.0.0.0 s0/0/0
Um unbekannten Paketen eine Ziel Adresse zuzuweisen benötigt man eine default Route. Sie besagt, dass alle Pakete ohne Ziel dorthin geschickt werden.
Log Eintrag nachdem man  den Befehl "show ip route" eingegeben hat:
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.10.0/24 is directly connected, GigabitEthernet0/0
L 192.168.10.1/32 is directly connected, GigabitEthernet0/0
192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.20.0/24 is directly connected, GigabitEthernet0/1
L 192.168.20.1/32 is directly connected, GigabitEthernet0/1
192.168.30.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.30.0/24 is directly connected, GigabitEthernet0/2
L 192.168.30.1/32 is directly connected, GigabitEthernet0/2

Ausgang zum anderen Netz:
S 192.168.40.0/24 is directly connected, Serial0/0/0
192.168.100.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.100.0/24 is directly connected, Serial0/0/0




 

Keine Kommentare:

Kommentar veröffentlichen