Advertisement
teknisiazza

Praktikum AIJ

Nov 1st, 2020 (edited)
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. Praktikum AIJ
  2.  
  3. 0. SETTING IP PC / PEER TO PEER
  4. A. PC X
  5. 1. icon network > klik kanan > Open network and sharing center > Change adapter > klik kanan Local Area network > Properties > pilih ipv4 > Properties >
  6. IP address: 192.168.200.10
  7. Subnet Mask: 255.255.255.0
  8.  
  9. B. PC Y
  10. 1. icon network > klik kanan > Open network and sharing center > Change adapter > klik kanan Local Area network > Properties > pilih ipv4 > Properties >
  11. IP address: 192.168.200.20
  12. Subnet Mask: 255.255.255.0
  13. 2. cari CMD
  14. ping 192.168.200.10
  15.  
  16.  
  17.  
  18. 1. INTERNET->MIKROTIK
  19. ip > address > +
  20. address: 192.168.0.xxx/24 interface:ether1
  21. address: 192.168.200.1/24 interface:ether2
  22. ip > routers > +
  23. gateway: 192.168.0.1
  24. ip > dns > servers: 8.8.8.8
  25.  
  26. new terminal >
  27. ping 8.8.8.8
  28. ping google.com
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48. 2. MIKROTIK->PC (peer to peer/pc to pc)
  49. A. ROUTERBOARD
  50. ip > address > +
  51. address: 192.168.0.xxx/24 interface:ether1
  52. address: 192.168.200.1/24 interface:ether2
  53.  
  54.  
  55. B. PC
  56. 1. icon network > klik kanan > Open network and sharing center > Change adapter > klik kanan Local Area network > Properties > pilih ipv4 > Properties >
  57. IP address: 192.168.200.2
  58. Subnet Mask: 255.255.255.0
  59. 2. cari CMD
  60. ping 192.168.200.1
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77. 3. INTERNET->MIKROTIK->PC
  78. A. ROUTERBOARD
  79. ip > address > +
  80. address: 192.168.0.xxx/24 interface:ether1
  81. address: 192.168.200.1/24 interface:ether2
  82. ip > routers > +
  83. gateway: 192.168.0.1
  84. ip > dns > servers: 8.8.8.8
  85.  
  86. ip > firewall > nat > +
  87. chain: srcnat
  88. out-interface: ether1
  89. action: masquerade
  90.  
  91. new terminal >
  92. ping 8.8.8.8
  93. ping google.com
  94.  
  95.  
  96.  
  97. B. PC
  98. 1. icon network > klik kanan > Open network and sharing center > Change adapter > klik kanan Local Area network > Properties > pilih ipv4 > Properties >
  99. IP address: 192.168.200.2
  100. Subnet Mask: 255.255.255.0
  101. Default Gateway: 192.168.200.1
  102. Preferred DNS Server: 8.8.8.8
  103. 2. cari CMD
  104. ping 192.168.200.1
  105.  
  106.  
  107.  
  108.  
  109.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement