Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Praktikum AIJ
- 0. SETTING IP PC / PEER TO PEER
- A. PC X
- 1. icon network > klik kanan > Open network and sharing center > Change adapter > klik kanan Local Area network > Properties > pilih ipv4 > Properties >
- IP address: 192.168.200.10
- Subnet Mask: 255.255.255.0
- B. PC Y
- 1. icon network > klik kanan > Open network and sharing center > Change adapter > klik kanan Local Area network > Properties > pilih ipv4 > Properties >
- IP address: 192.168.200.20
- Subnet Mask: 255.255.255.0
- 2. cari CMD
- ping 192.168.200.10
- 1. INTERNET->MIKROTIK
- ip > address > +
- address: 192.168.0.xxx/24 interface:ether1
- address: 192.168.200.1/24 interface:ether2
- ip > routers > +
- gateway: 192.168.0.1
- ip > dns > servers: 8.8.8.8
- new terminal >
- ping 8.8.8.8
- ping google.com
- 2. MIKROTIK->PC (peer to peer/pc to pc)
- A. ROUTERBOARD
- ip > address > +
- address: 192.168.0.xxx/24 interface:ether1
- address: 192.168.200.1/24 interface:ether2
- B. PC
- 1. icon network > klik kanan > Open network and sharing center > Change adapter > klik kanan Local Area network > Properties > pilih ipv4 > Properties >
- IP address: 192.168.200.2
- Subnet Mask: 255.255.255.0
- 2. cari CMD
- ping 192.168.200.1
- 3. INTERNET->MIKROTIK->PC
- A. ROUTERBOARD
- ip > address > +
- address: 192.168.0.xxx/24 interface:ether1
- address: 192.168.200.1/24 interface:ether2
- ip > routers > +
- gateway: 192.168.0.1
- ip > dns > servers: 8.8.8.8
- ip > firewall > nat > +
- chain: srcnat
- out-interface: ether1
- action: masquerade
- new terminal >
- ping 8.8.8.8
- ping google.com
- B. PC
- 1. icon network > klik kanan > Open network and sharing center > Change adapter > klik kanan Local Area network > Properties > pilih ipv4 > Properties >
- IP address: 192.168.200.2
- Subnet Mask: 255.255.255.0
- Default Gateway: 192.168.200.1
- Preferred DNS Server: 8.8.8.8
- 2. cari CMD
- ping 192.168.200.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement