Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.67 KB | None | 0 0
  1. Part 2:
  2. Introduction to IOS:
  3. IOS is the internetwork Operating system that provides an operating system for cisco routers
  4.  
  5. IOS allows you to change what the router does.
  6. IOS also runs on CISCO managed switches, and this will also aloow us to change what they do as well.
  7.  
  8. How does CISCO router number their interfaces, this is because we can have several of the same kind of interface in the same router.
  9.  
  10. CISCO equipment has a numbering scheme based on either fixed configuration or the position of an interface card in a slot
  11.  
  12. Even though we can look at alot of things when we're in privileged exec mode, we still cant change much. TO CHANGE THINGS, WE NEED TO SWITCH TO CONFIGURATION MODE.
  13.  
  14. BASIC CONFIGURATION COMMANDS
  15.  
  16. Hostname
  17.  
  18. If you type "hostname testing" at the configuration prompt, you'll change the router's name. What has happened to the configuration prompt?
  19.  
  20. it has changed from router15 to testing
  21.  
  22. Router
  23.  
  24. This is a router, so why don't we try turning routing on? (This isn't going to work properly but it will illustrate the point.) Type router rip at the configuration prompt.
  25.  
  26. What has happened to the configuration prompt?
  27. It has changed to testing(config-router)
  28.  
  29. Type exit, then change the hostname back to what it was when you started. Then type CTRL-Z or exit then [enter] to exit configuration mode.
  30.  
  31. What does the prompt look like now?
  32. It looks the same as previous now
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46. CNA part 3:
  47. How IP works, switches works by sending frams out from ports, but the frames are addressed using a MAC address. A mac address is unique to a given network card or a computer.
  48.  
  49. IP assigns a logical address to a networked device, IP addressing is hirechical, which means that we can go looking for an address based on where it should be, rather than shouting across the world looking for someones computer. The IP address associated with a router will allow us to find it.
  50.  
  51. router uses ARP to find the right mac address of the client with the target ip address.
  52.  
  53. 3.2 IP routing
  54. route is an instruction on a router that tells that router how to send the packet to its destination. TO achieve this, router must know,
  55.  
  56. destination address of packet
  57. which of its neighbour router have knowledge about remote networks
  58. possible routes to remote networks
  59. best route to a remote network
  60. how to keep track of the routing information
  61.  
  62. TWo ways a router can find out about remote networks
  63. -neighbour routers
  64. -network administrators
  65.  
  66. static router is we set a route by hand, dynamic router is when the router communicates with another router and finds out about networks from the other router
  67.  
  68. router uses a routing table to keep track of which routes are associated with which interface. Both approaches make changes to the routing table
  69.  
  70. 3.3 IP addressing
  71. IPV4 is made up of 4 bytes, called octets. Often written with dots between them, dotted notation. A byte can have vales from 0 to 255, so the IP range is 0.0.0.0 to 255.255.255.255, Some have special meaning.We split the ip address into two portion.
  72.  
  73. For eg, every ip address inside the university is 129.127.xxx.xxx
  74.  
  75. Address classes:
  76. A: first byte of address and last 3 bytes for host address, 0 to 127
  77. B: first two byte of address and last two byte of address for host, 128 to 191
  78. C: first 3 bytes and last byte for host address, 192 to 223
  79. D is for multicast network and E is for reasearch
  80.  
  81. Special ip address:
  82. all 0's means any host on this network
  83. all 1's mean all host on this network
  84.  
  85. Why use different classes?
  86. different classes may have unbalance bytes in the whole IP address, for eg, uni adelaide server is in class B but because UOA is only using one number in the first two bytes. But class A will have less network to use and too many host, or class C will have too many netowrk and too less host to use.
  87.  
  88. So, we have classes to seperate networks. We can group hosts into subnets, however we do it.
  89.  
  90. we can logically group our computing resources in an efficient way and make good use of ip address space. The most important reason is that we can use subnetting to reduce traffic on a network. For eg, if a network is very big, then the broadcast messages would cause a heavy load on the routing backbone
  91.  
  92. So, in summary, here are four good reasons to subnet below the class level:
  93.  
  94. Reduced Network Traffic
  95. Better Network Performance
  96. Simplified Management
  97. Big World-Spanning Networks Cost A Lot
  98.  
  99. 3.4 Subetting
  100. subnet mask
  101.  
  102. refer back to slides if there are problems that i dont know. Overall, i understood all
  103.  
  104. 3.5 refer back to slides if there are problems that i dont know. Overall, i understood all
  105.  
  106. 3.6Creating failover inerfaces and sharing a physical interface over multiple networks
  107.  
  108. Failover interfaces are when the main interface fails, and the failover interface acts as a backup interface.
  109.  
  110. To set up a backup interface:
  111.  
  112. -Decide which interface will act as the main/primary interface, and which interface will be the secondary/backup interface.
  113. -Configure and bring up the primary interface as normal.
  114. -Configure the secondary interface with the same settings as the primary interface but leave it down (i.e. don't run no shutdown)
  115. -Assign the secondary interface as a backup to the first
  116.  
  117. steps 2 and 3 should be familiar. To complete step 4, enter config mode , and config the main interface, (0/0 should be the primary one)
  118.  
  119. "interface GigabitEthernet 0/0"
  120.  
  121. "backup interface GigabitEthernet 0/1"
  122. This is to specify which is the backup interface.
  123.  
  124. then we can exit config mode.
  125.  
  126. Note:
  127. backup interface dont need to have the same ip address as the primary interface to work
  128.  
  129. in cisco commands, to disable the backup interface, enter config mode for primary interface and use the same commmand but with a "no" added in front
  130.  
  131. Sharing a physical interface over multiple networks
  132. For eg, this allows staff and students to be connected through the same switches and routers as each other but yet be on different networks with different address ranges.
  133.  
  134. CISCO routers provide sub-interfaces. These are interfaces that can be configured beneath a physical interface, this feature provided by CISCO routers can be used to provide a virual LAN. These are expressed as "physical_interface.sub_interface".
  135.  
  136. To configure a sub-interface,
  137.  
  138. 1. Choose a number for subinterface, value 1 and 4 billion
  139. 2. Enter interface config mode for the subinterface.
  140. interface GigabitEthernet 0/0.1
  141. 3. then assign a network-unique VLAN ID between 1 and 1001.
  142. encap dot1q 10
  143. 4. Set address for the interface.
  144. ip address 192.xxx.xxx.xxx 255.255.255.xxx
  145. 5. bring interface up
  146. no shutdown
  147. 6. exit
  148. exit
  149.  
  150. Uni's switches are configured for vlan id of 1 to 20 only.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement