Showing posts with label vpn. Show all posts
Showing posts with label vpn. Show all posts
Wednesday, June 29, 2016
Tuesday, November 25, 2014
Interface dan Sub-interface pada Router Cisco
Sub Interface
Jaringan
frame relay Sub-Interface memungkinkan kita memakai satu interface
fisik router yang sama untuk beberapa virtual circuit. Hal ini merupakan
penghematan yang sangat besar dalam menyediakan suatu interface tunggal
yang bisa dipakai untuk beberapa koneksi WAN. Hal ini juga bisa mengatasi berbagai masalah koneksi yang berhubungan dengan operasi normal dari protocol routing dinamis.

Kesalahan konfigurasi FR dapat menyebabkan berbagai masalah yang berhubungan dengan jaringan. Beberapa masalah ini bisa diatasi hanya dengan mengikuti petunjuk dasar konfigurasi. Jika suatu jaringan frame relay mengalami banyak munculnya pesan notifikasi adanya kenaikan kongesi (red. membludaknya data transmisi) atau terasa lambatnya performa jaringan secara terus menerus, maka perlu diadakan kajian atas kebutuhan bandwidth circuit WAN yang mungkin perlu dinaikkan. Atau bahkan perlu pengkajian kalau saja ada masalah dengan design system anda yang menyebabkan mampetnya jalur circuit anda.
Yang berikut adalah step untuk konfigurasi jaringan Frame relay:
Catatan:
Untuk sub-interface Point-to-Point ataupun sub-interface multi-point dengan addressing dynamic, anda juga harus memberikan suatu nomor DLCI pada sub-interface.
Catatan:
Untuk sub-interface point-to-point atau multi-point dengan dynamic addressing, anda harus juga memberikan DLCI number pada sub-interface.
Lengkapi step berikut untuk konfigurasi dua router yang dihubungkan back-to-back.
b. Berikan addressing network layer
c. Matikan “keep-alive” interval
d. Petakan address pada DLCI (gunakan DLCI yang sama untuk keduanya) atau berikan DLCI number pada interface (gunakan DLCI yang sama untuk keduanya)
Command-2 berikut digunakan untuk konfigurasi kedua router untuk setiap interface terhubung.
Kesalahan konfigurasi FR dapat menyebabkan berbagai masalah yang berhubungan dengan jaringan. Beberapa masalah ini bisa diatasi hanya dengan mengikuti petunjuk dasar konfigurasi. Jika suatu jaringan frame relay mengalami banyak munculnya pesan notifikasi adanya kenaikan kongesi (red. membludaknya data transmisi) atau terasa lambatnya performa jaringan secara terus menerus, maka perlu diadakan kajian atas kebutuhan bandwidth circuit WAN yang mungkin perlu dinaikkan. Atau bahkan perlu pengkajian kalau saja ada masalah dengan design system anda yang menyebabkan mampetnya jalur circuit anda.
Konfigurasi Frame Relay
Berikut ini adalah tugas umum yang perlu dilakukan dalam konfigurasi frame relay.- Enable frame relay pada interface (serial S0 ataupun S1 dari router anda) dengan cara memilih jenis “Encapsulation type”
- Memberikan address network layer pada interface seperti IP address interface S0 atau S1
- Mengkonfigurasi address dynamic (menggunakan “inverse arp”) ataupun address statis (mapped interface)
- Untuk sub-interface Point-to-Point, atau sub-interface Multi-point dengan menggunakan dynamic address, gunakan DLCI pada sub-interface
- Untuk setting opsional gunakan LMI setting
Yang berikut adalah step untuk konfigurasi jaringan Frame relay:
| Cisco command | Keterangan |
| Router (config-if) # encap frame | Enable frame relay dan setting metoda “encapsulation type” |
| Router (config-if) # ip address 10.0.0.1 255.0.0.0 | Memberikan suatu address network layer pada interface yang dipilih |
| Router (config-if) # frame inverse-arpAtau melakukan static address Router (config-if) # frame map ip 10.0.0.3 100 | Enable inverse-arp (jika kondisi ‘disable’) atau melakukan pemetaan manual ke nomor DLCI |
| Router (config-if) # frame lmi-type ciscoRouter (config-if) # keepalive 9 | Konfigurasi jenis LMI |
Konfigurasi serial sub-interface: Point-to-Point
Untuk melengkapi interface Point-to-Point anda bisa melakukan step berikut:| Cisco command | Keterangan |
| Router (config-if) # encap frame | Enable jaringan frame relay dan setting metoda “encapsulation type” |
| Router (config-if) # int s0.1 point | Membuat sub-interface pada serial s0 dan memberikan identitas interface Point-to-point |
| Router (config-subif) # ip address 11.0.0.1 255.0.0.0 | Memberikan address network layer |
| Router (config-subif) # frame interface-dlci 100 | Konfigurasi jenis addressing static ataupun dynamic |
Untuk sub-interface Point-to-Point ataupun sub-interface multi-point dengan addressing dynamic, anda juga harus memberikan suatu nomor DLCI pada sub-interface.
Konfigurasi sub-interface Multi-point
Step berikut adalah konfigurasi jaringan frame relay serial sub-interface multi-point| Cisco command | Keterangan |
| Router (config-if) # encap frame | Enable jaringan frame relay dan setting metoda “encapsulation type” |
| Router (config-if) # int s0.100 multipoint | Membuat sub-interface dan mengidentifikasikan interface multipoint. |
| Router (config-subif) # ip address 13.0.0.1 255.0.0.0 | Memberikan address network layer |
| Router (config-subif) # frame interface-dlci 300Atau konfigurasi static address Router (config-subif) # frame map ip 13.0.0.3 300 | Konfigurasi static ataupun dynamic addressing (DLCI untuk untuk inverse-arp) |
Untuk sub-interface point-to-point atau multi-point dengan dynamic addressing, anda harus juga memberikan DLCI number pada sub-interface.
Konfigurasi jaringan frame relay back-to-back
Pada seksi sebelumnya dijelaskan router connect pada frame relay yang sudah ada dan router di konfigurasi sebagai DTE dengan DCE nya adalah frame relay switch di jaringan Telkom penyedia frame relay di central office. Anda bisa configure Cisco router sebagai DCE dalam suatu scenario jaringan frame relay back-to-back untuk keperluan testing.Lengkapi step berikut untuk konfigurasi dua router yang dihubungkan back-to-back.
- Hubungkan kedua router dengan kabel yang benar, gunakan kabel DTE pada satu router dan kabel DCE untuk kabel router satunya atau gunakan saja suatu kabel DTE/DCE crossover cable.
- Pada modus interface, set “clock rate” pada interface router yang berfungsi sebagai DCE.
- Lengkapi konfigurasi item-2 berikut untuk setiap interface yang terhubung.
b. Berikan addressing network layer
c. Matikan “keep-alive” interval
d. Petakan address pada DLCI (gunakan DLCI yang sama untuk keduanya) atau berikan DLCI number pada interface (gunakan DLCI yang sama untuk keduanya)
Command-2 berikut digunakan untuk konfigurasi kedua router untuk setiap interface terhubung.
| RouterD (config) # int s0 |
| RouterD (config-if) # encap frame |
| RouterD (config-if) # ip address 10.0.0.1 255.0.0.0 |
| RouterD (config-if) # no keepalive |
| RouterD (config-if) # frame map ip 10.0.0.2 100 |
| RouterD (config-if) # clock rate 56000 |
| RouterE (config) # int s0 |
| RouterE (config-if) # encap frame |
| RouterE (config-if) # ip address 10.0.0.2 255.0.0.0 |
| RouterE (config-if) # no keepalive |
| RouterE (config-if) # frame map ip 10.0.0.1 100 |
| Anda juga bisa menggantikan command berikut untuk command frame-relay map untuk kedua routerFrame-relay interface-dlci 100 |
Cara monitoring jaringan frame relay
Setelah selesai diconfigure, anda bisa menggunakan beberapa command untuk memonitor atau melihat konfigurasi frame relay anda pada router. Sebagai tambahan command #show run, gunakan command-2 berikut untuk melihat informasi / status frame relay.| Jika anda ingin melihat | Gunakan command berikut |
| DLCI numbers | Show runShow frame pvc |
| Frame relay network encapsulation method | Show intShow run |
| Interface configuration (DCE or DTE) | Show frame pvcShow int |
| LMI information and traffic statistics | Show frame lmiShow int |
| Global traffic statistic | Show frame traffic |
| Addresses and associated DLCIs |
Sumber
Monday, November 24, 2014
How to configure HDLC and PPP step by step guide and example
In this article I will demonstrate how can you configure wan encapsulation protocols. HDLC is the default encapsulation for synchronous serial links on Cisco routers. You should only use the encapsulation hdlc command to return the link to its default state.
For practical example of HDLC PPP create a simple topology as shown in figure or download this pre configured topology and load it in packet tracer.
Double click on R1 and check the default encapsulation
Router>
Router#show interfaces serial 0/0/0
Serial0/0/0 is up, line protocol is up (connected)
Hardware is HD64570
Internet address is 20.0.0.1/8
MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
[output is omited]
Router#configure terminal Router(config)#interface serial 0/0/0 Router(config-if)#encapsulation ppp Router(config)#exit Router#show interfaces serial 0/0/0 Serial0/0/0 is up, line protocol is down (disabled) Hardware is HD64570 Internet address is 20.0.0.1/8 MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation PPP, loopback not set, keepalive set (10 sec) [output is omited]
Router#configure terminal
Router(config)#interface serial 0/0/0
Router(config-if)#encapsulation hdlc
Router(config-if)#shutdown
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#exit
Router#show interfaces serial 0/0/0
Serial0/0/0 is up, line protocol is up (connected)
Hardware is HD64570
Internet address is 20.0.0.1/8
MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
[output is omited]
Configuration of PPP
Now we will configure PPP encapsulations on both router. We will also authenticate it with CHAP. Hostname of Router are R1 and R2 and password is vinita.Double Click on R1 and configure it
Router>enable Router#configure terminal Router(config)#hostname R1 R1(config)#username R2 password vinita R1(config)#interface serial 0/0/0 R1(config-if)#encapsulation ppp R1(config-if)#ppp authentication chap R1(config-if)#exit R1(config)#
Router>enable Router#configure terminal Router(config)#hostname R2 R2(config)#username R1 password vinita R2(config)#interface serial 0/0/0 R2(config-if)#encapsulation ppp R2(config-if)#ppp authentication chap R2(config-if)#exit %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up R2(config)#
HDLC PPP command reference sheet
| Router(config)#interface serial 0/0/0 |
Moves to interface configuration mode |
| Router(config-if)#encapsulation hdlc |
Sets the encapsulation mode for this interface to HDLC |
| Router(config)#interface serial 0/0/0 |
Moves to interface configuration mode |
| Router(config-if)#encapsulation ppp |
Changes encapsulation from default HDLC to PPP |
| Router(config)#username R1 password vinita |
Sets a username of R1 and a password of vinita for authentication
from the other side of the PPP serial link. This is used by the local
router to authenticate the PPP peer |
| Router(config)#interface serial 0/0/0 |
Moves to interface configuration mode. |
| Router(config-if)#ppp authentication pap |
Turns on Password Authentication Protocol (PAP) authentication only |
| Router(config-if)#ppp authentication chap |
Turns on Challenge Handshake Authentication Protocol (CHAP) authentication only. |
| Router(config-if)#ppp authentication pap chap |
Defines that the link will use PAP authentication, but will try CHAP if PAP fails or is rejected by other side. |
| Router(config-if)#ppp authentication chap pap |
Defines that the link will use CHAP authentication, but will try PAP if CHAP fails or is rejected by other side. |
| Router(config-if)#ppp pap sentusername R1 password vinita |
This command must be set if using PAP in Cisco IOS Software Release 11.1 or later |
| Router#show interfaces serial x |
Lists information for serial interface x |
| Router#show controllers serial x |
Tells you what type of cable (DCE/DTE) is plugged into your interface and whether a clock rate has been set |
| Router#debug serial interface |
Displays whether serial keepalive counters are incrementing |
| Router#debug ppp |
Displays any traffic related to PPP |
| Router#debug ppp packet |
Displays PPP packets that are being sent and received |
| Router#debug ppp negotiation | Displays PPP packets related to the negotiation of the PPP link |
Subscribe to:
Posts (Atom)






