Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. ROUTER
  2.  
  3. ena
  4. conf t
  5. hostname r0
  6. no ip domain lookup
  7. enable secret class
  8. line con 0
  9. password cisco
  10. login
  11. line vty 0 15
  12. password cisco
  13. login
  14. end
  15.  
  16.  
  17.  
  18. ena
  19. conf t
  20. int s0/0/0
  21. ip address 192.168.15.193
  22. no shutdown
  23.  
  24. SWITCH:
  25. ip adres in vlan 99 steken en default gateway toekennen (is gegeven)
  26.  
  27.  
  28. DHCP:
  29.  
  30. R0(config)#ip dhcp excluded-address 10.3.13.1
  31. R0(config)#ip dhcp excluded-address 10.3.13.2
  32. R0(config)#ip dhcp excluded-address 10.3.23.1
  33. R0(config)#ip dhcp excluded-address 10.3.23.2
  34. R0(config)#ip dhcp excluded-address 10.3.33.1
  35. R0(config)#ip dhcp excluded-address 10.3.33.2
  36.  
  37. R0(config)#ip dhcp excluded-address 192.168.15.129
  38. R0(config)#ip dhcp excluded-address 192.168.15.130
  39.  
  40. NU DE POOLS
  41.  
  42. conf t
  43. ip dhcp pool vlan313
  44. network 10.3.13.0 255.255.255.0
  45. default-router 10.3.13.1 (10.3.13.0 +1)
  46.  
  47. ----
  48. R0(config)#ip dhcp pool vlan323
  49. R0(dhcp-config)#network 10.3.23.0 255.255.255.0
  50.  
  51. R0(dhcp-config)#defaul
  52.  
  53. R0(dhcp-config)#default-router 10.3.23.1
  54.  
  55. ----
  56.  
  57. R0(config)#ip dhcp pool vlan333
  58. R0(dhcp-config)#network 10.3.33.0 255.255.255.0
  59. R0(dhcp-config)#defau
  60. R0(dhcp-config)#default-router 10.3.33.1
  61.  
  62.  
  63. R0(config)#ip dhcp pool 50hosts
  64. R0(dhcp-config)#netwo
  65. R0(dhcp-config)#network 192.168.15.128 255.255.255.192
  66. R0(dhcp-config)#default
  67. R0(dhcp-config)#default-router 192.168.15.129
  68.  
  69.  
  70. we hebben dit geconfigureerd op R0, maar r3 (bijvoorbeeld) ziet dit niet, dus —> ip helper address
  71. —> ik heb geen dhcp —> ga daar zien
  72.  
  73. R3: ena, conf t, int f0/0
  74. ip helper-address 192.168.15.193
  75.  
  76.  
  77. Na helper address, heeft pc nogaltijd geen ip adres, dit is omdat hij de routers niet ziet
  78. —> RIP of OSPF configureren
  79.  
  80. R3(config)#router rip
  81. R3(config-router)#version 2
  82. R3(config-router)#network 192.168.15.128
  83. R3(config-router)#network 192.168.15.192
  84. R3(config-router)#no auto-summary
  85.  
  86.  
  87. R0(config)#router rip
  88. R0(config-router)#version 2
  89. R0(config-router)#network 192.168.15.192
  90. R0(config-router)#network 192.168.15.200
  91. R0(config-router)#network 192.168.15.196
  92. R0(config-router)#no auto
  93. R0(config-router)#no auto-summary
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement