MIKROTIK : SITE-TO-SITE PPTP

Site-to-Site PPTP

The following is an example of connecting two Intranets using PPTP tunnel over the Internet.

Consider following setup

Site-to-site-pptp-example.png

Office and Home routers are connected to internet through ether1, workstations and laptops are connected toether2. Both local networks are routed through pptp client, thus they are not in the same broadcast domain. If both networks should be in the same broadcast domain then you need to use BCP and bridge pptp tunnel with local interface.

First step is to create a user

[admin@RemoteOffice] /ppp secret> add name=Home service=pptp password=123
local-address=172.16.1.1 remote-address=172.16.1.2 routes="10.1.202.0/24 172.16.1.2 1"
[admin@RemoteOffice] /ppp secret> print detail
Flags: X - disabled
  0   name="Home" service=pptp caller-id="" password="123" profile=default
      local-address=172.16.1.1 remote-address=172.16.1.2 routes=="10.1.201.0/24 172.16.1.1 1"

[admin@RemoteOffice] /ppp secret>

Notice that we set up pptp to add route whenever client connects. If this option is not set, then you will need static routing configuration on the server to route traffic between sites through pptp tunnel.

Next step is to enable pptp server on the office router and configure pptp client on the Home router.

[admin@RemoteOffice] /interface pptp-server server> set enabled=yes
[admin@RemoteOffice] /interface pptp-server server> print
            enabled: yes
            max-mtu: 1460
            max-mru: 1460
               mrru: disabled
     authentication: mschap2
  keepalive-timeout: 30
    default-profile: default
[admin@RemoteOffice] /interface pptp-server server>

[admin@Home] /interface pptp-client> add user=Home password=123 connect-to=192.168.80.1 disabled=no
[admin@Home] /interface pptp-client> print
Flags: X - disabled, R - running
 0    name="pptp-out1" max-mtu=1460 max-mru=1460 mrru=disabled connect-to=192.168.80.1 user="Home" 
       password="123" profile=default-encryption add-default-route=no dial-on-demand=no 
       allow=pap,chap,mschap1,mschap2
[admin@Home] /interface pptp-client>

Now we need to add route to reach local network behind Home router

[admin@RemoteOffice] /ip route> add dst-address=10.1.202.0/24 gateway=172.16.1.2

Now after tunnel is established and routes are set, you should be able to ping remote network.

sumber asli : http://wiki.mikrotik.com/wiki/Manual:Interface/PPTP

How to configure Windows XP to manage Wireless Network Connections

How to configure Windows XP to manage Wireless Network Connections

This article will describe how to configure Windows XP to manage your computer’s wireless connection. Many computer manufacturers create their own wireless networking software utilities and install it on their machines from the factory. If you are having trouble connecting, it can be easier to troubleshoot the issue if you allow Windows to manage your connections. Since there are so many different, manufacturer-specific wireless interfaces, User Support Services does not provide support for any other utilities except the standard Windows interface. Read more of this post

jaringan komputer

  1. Apakah itu jaringan komputer?
  2. Sebutkan macam-macam bentuk (topologi) jaringan komputer dan sebisa mungkin berikan gambarnya!
  3. Perangkat-perangkat apa saja yang diperlukan untuk membentuk jaringan komputer dan jelaskan fungsinya!
  4. Media (penghubung) apa saja yang bisa digunakan untuk membentuk jaringan komputer?
  5. Apakah itu WiFi?
  6. Jelaskan apa itu kabel coaxial?
  7. Jelaskan apa itu kabel UTP?
  8. Jelaskan pemasangan kabel UTP pada konektor RJ-45 dan alat apa yang digunakan? Ilustrasikan dengan gambar.
  9. Apakah itu protokol komunikasi jaringan komputer?
  10. Sebutkan macam-macam protokol komunikasi jaringan komputer!
  11. Apakah itu IP Address?
  12. Apakah itu subnet mask?
  13. Sebut dan Jelaskan kelas-kelas dalam pengalamatan dengan IP Address!
  14. Apa yang dimaksud gateway dalam jaringan komputer?
  15. Apa yang dimaksud router dalam jaringan komputer?

Cara memasang konektor RJ-45 pada kabel UTP

Terdapat 2 jenis pemasangan :

  1. Jenis lurus / straigh

  2. Jenis silang / cross

1. Jenis lurus /straigh
biasa digunakan untuk menghubungkan komputer dengan hub / switch hub

Urutan pemasangan :

Standar A :

Ujuang A Ujung B
1. Hijau Putih
2. Hijau
3. Orange Putih
4. Biru
5. Biru Putih
6. Orange
7. Coklat Putih
8. Coklat
1. Hijau Putih
2. Hijau
3. Orange Putih
4. Biru
5. Biru Putih
6. Orange
7. Coklat Putih
8. Coklat

Standar B :

Ujuang A Ujung B
1. Orange Putih
2. Orange
3. Hijau Putih
4. Biru
5. Biru Putih
6. Hijau
7. Coklat Putih
8. Coklat
1. Orange Putih
2. Orange
3. Hijau Putih
4. Biru
5. Biru Putih
6. Hijau
7. Coklat Putih
8. Coklat

Read more of this post

Membuat gateway internet

Belum lama aku menyelesaikan sebuah kompi yang akan dijadikan gateway ke internet. Sebuah kompi yang memiliki spesifikasi yang cukup hebat, CPU E4660 Intel Pentium Core 2 Duo, RAM 1 GB, HDD 160 GB SATA, DVD Super Multi, VGA nVidia GeForce 7050. Read more of this post

Follow

Get every new post delivered to your Inbox.