Cisco Packet Tracer - Henryisgreat/TechJournal GitHub Wiki

Viewing the information of a computer is the most infuriating thing ever, to get around this, i honestly have no clue what to do. The simulation mode allowed me to have an active participation in a simulated scenario I honestly don't know In drop down menu at the bottom of the packet open the ethernet drop down to view mac address source and destination much more easily

USAGE

  • Control will allow you to place more than one of an item at a time
  • The routers will take time to connect so be patient
  • Always make sure to ping each computer from each computer to fill up the CAM table of the router. This is best done early into the process of setting up a network.

Subnetting

  • Set up router with correct subnet address
  • Make sure router is on lol
  • Assign first useable host address to the switch
  • Make sure each computer has the switch’s ip as their default gateway
  • You should be good to go

Rip Routing

Step 1, turn the damn router on In the CLI, use commands Enable Config terminal Rip routing Version 2 Network [target ip] You're good to go

Setting up a basic network with two subnets

  • Requirements
  • Switch x2
  • End device x2
  • Router x1
  • Connect the switches to the router using a straight-through cable.
  • Set the switch ip in the router to any x.x.x.1 address
  • Set the default gateway for both end devices to their respective x.x.x.1 address
  • Set the respective IP for both end devices
  • Make sure things are on Have fun

VLAN setup in Packet Tracer

For this example we are going to assume that there are 3 different lans that need to be connected.

Set up environment

  • On a switch go to config/VLAN database and create your VLAN with its corresponding number
  • Configure which ports are associate with which VLAN
  • Assign ips to each of the LANs where the x value is the VLANs corresponding number in 192.168.x.1
  • Connect the PCs with their respective switches using copper straight through
  • Connect the switches with crossover cables
  • PCs in VLAN should be able to communicate with each other

Connect environment so computers can ping each other

  • Select a switch
  • Open the CLI tab
  • Enter the config interface
  • Config terminal
  • Interface FastEthernet0/4
  • Type the following
  • Switchport trunk native vlan 10
  • switchport nonegotiate
  • exit
  • Connect that to a router

Configure an IP address on a switch

  • go to cli on switch
  • [int vlan 1] (to select the switches vlan)
  • when in (config-if) use [ip address 10.0.0.2 255.255.255.0] to assign ip and subnet.
  • send [no shutdown] command immediately after or it will not work

Setting up a basic network with two subnets

Routing Know How

  • give routers IP

  • R1>enable

R1#configure terminal

R1(config)#interface g0/0

R1(config-if)#ip address IPADDRESS SUBNETMASK8

R1(config-if)#no shutdown

NAT and PAT

Configure NAT interfaces on external facing router

(NAT ASSUMES THAT YOU ALREADY HAVE SOME FORM OF ROUTING IN PLACE, DO NOT SET UP NAT?PAT WITHOUT SETTING UP ROUTING FIRST, YOU WILL BE SAD AND CONFUSED)

  • Firstly, You must set up the inside and outside facing interfaces:

  • Type Interface INTERFACE_NAME

  • use ip nat inside and ip nat outside to deliniate which will be the inside/outside facing interface.

  • Throw down static rule for nat: ip nat inside source static INSIDE_ADDRESS OUTSIDE_ADDRESS

Configure PAT interfaces on external facing router

  • On local router (the one facing external networks)

  • create an address pool using nat: ip nat pool NAME 30.0.0.120 30.0.0.120 netmask 255.0.0.0 The ip address you chose for the NAT pool does not particularily matter, the address space just needs to be available.

  • Create an access-list that defines which IP's can use the puvlic IP pool: access-list 1 permit INTERNAL_RANGE INTERNAL_MASK (this is a little confusing, notify the final octet in the netmask, so if the range is 192.168.1.0 write the mask as 0.0.0.255

  • Assign pool and access rule to interface with nat statement: ip nat inside source list 1 pool test overload

IPv6 Routing

  • to give a router an ipv6 address, use the command in config mode: ipv6 general-prefix NAME IPV6_PREFIX_FOR_NETWORK/64

    • The prefix should be whatever is assigned to that network, for instance: 2620:E4:C000::/64
  • Assign an ip address to an interface with interface NAME and IPv6 address NAME ::0:0:0:1