Pages

Senin, 26 Oktober 2015

Install OpenVZ untuk layanan VPS di Linux Centos 6.0





Layanan VPS tentunya sudah sangat terkenal sejak lama, layanan Virtual Private Server (VPS) ini adalah layanan yang banyak ditawarkan oleh penyedia webhosting. Dengan memakai layanan VPS ini maka kita seolah-olah memiliki virtual server sendiri yang bisa dimanage dan mendapatkan akses root. Dengan VPS ini kita seperti sewa server colocation saja, namun hanya mendapatkan terminal access saja.

Salah satu program di linux untuk menyediakan VPS ini adalah OpenVZ, Disini saya ingin menuliskan kembali cara melakukan instalasi OpenVZ pada Centos 6.0 sebagai dokumentasi saya pribadi dan mudah-mudahan bermanfaat juga untuk teman semua.

Untuk membuat server OpenVZ ini tentunya membutuhkan spesifikasi hardware yang tinggi, semua itu tergantung ada berapa banyak virtual server yang akan dibuat didalamnya. Jadi kita harus pandai menghitung kebutuhan prosessor dan RAM yang dibutuhkan, begitu juga dengan storagenya.

Pertama kali tentunya anda harus melakukan instalasi linux centos 6.0 nya terlebih dahulu, dan jangan lupa di update patch nya pada repository yang ada. Setelah itu install juga apache dan php nya :

# yum install httpd php

OK, sekarang tahapan instalasi dari OpenVZ nya:

1. Tambahkan repository dari OpenVZ pada centos 6.0


# cd /etc/yum.repos.d
# wget http://download.openvz.org/openvz.repo
# rpm --import http://download.openvz.org/RPM-GPG-Key-OpenVZ

2. Install Kernel dari OpenVZ nya.

# yum install vzkernel
# yum install vzctl vzquota

3. Setelah selesai install diatas, dilanjutkan dengan edit file sysctl.conf

# vi /etc/sysctl.conf

tambahkan baris berikut :

net.ipv4.ip_forward = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.all.rp_filter = 1
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.conf.default.forwarding=1

4. Aktifkan rule baru pada sysctl yang sudah di edit tadi

# sysctl -p

5. Edit file vz.conf

# vi /etc/vz/vz.conf

Cari baris dengan option berikut dan rubah menjadi "all":

NEIGHBOUR_DEVS=all

6. Matikan feature SELinux pada Centos
# vi /etc/sysconfig/selinux

Cari baris SELINUX dan edit menjadi "disabled"

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted

7. Install OpenVZ Web Panel untuk memanage OpenVZ nya.

wget -O - http://ovz-web-panel.googlecode.com/svn/installer/ai.sh | sh

tunggu sampai instalasi openvz web panel selesai dengan sempurna.

8. Setelah selesai, berikan permit acl untuk port 3000 pada iptables centos :

# vi /etc/sysconfig/iptables

tambahkan baris berikut :

-A INPUT -m state --state NEW -m tcp -p tcp --dport 3000 -j ACCEPT

9. Setelah itu restart service iptables nya

# /etc/init.d/iptables restart

10. Lakukan instalasi template OS untuk OpenVZ
# cd /vz/template/cache

Download semua template OS yang dibutuhkan disini :

http://download.openvz.org/template/precreated/

Contoh :

# wget http://download.openvz.org/template/precreated/ubuntu-11.04-x86.tar.gz

11. Lakukan restart pada linux centos anda
# reboot

12. Setelah selesai restart, coba buka web browser dan jalankan OpenVZ Web Panel nya.

http://localhost:3000

Untuk user defaultnya adalah "admin" dan passwordnya juga "admin"



13. Setelah berhasil Login hasilnya seperti berikut.



14. Untuk pembuatan virtual server baru, pertama-tama harus mengalokasikan IP pool nya terlebih dahulu, tinggal klik menu "IP Address" dan klik "Create IP Pool":



Misalnya dialokasikan ip untuk virtual servernya adalah 10.10.10.1 s/d 10.10.10.15 (selain IP dari server OpenVZ nya)

15. Setelah membuat IP Pool, silahkan dilanjut dengan pembuatan virtual servernya, Klik Menu di sebelah kiri yaitu "localhost" dan klik "Create virtual server"




Isi semua data yang diperlukan seperti IP, Hostname, DNS, RAM, OS Template yang ingin dibuat, dll. Kemudian klik "Create"

16. Setelah virtual server jadi, tinggal di start saja virtual server tersebut pada menu "change state" kemudian pilih "start"



17. Setelah virtual server running, kemudian bisa dicoba dengan melakukan ssh ke IP milik virtual server tersebut.

Saya rasa tidak begitu sulit untuk melakukan instalasi dan setting OpenVZ ini. Selamat mencoba.. :)


Dony Ramansyah
site : http://dony-ramansyah.bravehost.com
blog : dony-ramansyah.blogspot.com
email : dony.ramansyah[at]gmail.com
Registered linux user : ID 400171

Troubleshoot :
jika localhost tidak muncul, pastikan "Auth key:" sama dengan  hw-daemon.ini (/opt/ovz-web-panel/utils/hw-daemon)

Kamis, 08 Oktober 2015

Flashing LG G2 D802

You can donate me a beer via paypal : qntech123@yahoo.com


1. Version:
+ Build 25/06/2014 : Initial Version
+ Build 27/06/2014 : Fix not working with windows XP
+ Build 03/07/2014 : Fix not working with some machine run windows 8/8.1 64bit

2. What's news:
+ This is a modified version of UpTestEX v1.2.3.1 and working with all LG Smartphone Models
+ Re-design GUI simpler.
+ Working without LG Mobile Support Tool installed !
+ Working with lastest version of LG Mobile Support Tool.
+ Dont need to use hosts file or run http server to bypass anymore !
+ Default language is set to English. Don't need to choose language any more ! 

3. Tutorial: 
+ Download and setup LG Driver : https://www.androidfilehost.com/?fid=24052804347802528
+ Download LG Flash Tool 2014 tool and extract :
http://www.mediafire.com/download/fw..._Tool_2014.zip
+ Enter to Download Mode and plug USB into your PC
+ WARNING : Remember copy KDZ file into LG Flash Tool 2014 folder
+ Run LGFlashTool2014.exe and do as following pictures :
+ If you cannot run LGFlashTool2014.exe, please install Visual C++ Runtime Library : https://googledrive.com/host/0B9l4QO...tInstaller.exe[/SIZE]
Normal Flash: Flash ROM without losing any data. Only use this when you need to fix system error. Beware of boot loop when flashing ROM that differ from current ROM on your phone or MOD ROM.
CSE Flash: Choose this option when you need a fresh format. All data will be gone. It's suitable for upgrading or downgrading ROM or simply use this when you need to back to Stock. 



No need to choose desired language, it automatically change to English as a default setting.
+ Wait until 100% to complete !

Selasa, 22 September 2015

Belajar Simulasi CISCO MPLS-L3VPN

Topology yang saya gunakan adalah seperti gambar dibawah ini:
Konfigurasi IP addressnya adalah sebagai berikut:
Dan Langkah-langkahnya adalah sebagai berikut:
Pertama:
konfigure semua interface (PE1-Core-PE2)
—————core———————-
!
interface Loopback0
ip address 192.168.100.1 255.255.255.255
!
interface GigabitEthernet1/0
ip address 192.168.10.10 255.255.255.252
!
interface GigabitEthernet2/0
ip address 192.168.10.13 255.255.255.252
—————————————–
—————PE1———————–
interface Loopback0
ip address 192.168.100.2 255.255.255.255
!
interface GigabitEthernet1/0
ip address 192.168.10.9 255.255.255.252
—————————————–
—————PE2———————–
interface Loopback0
ip address 192.168.100.3 255.255.255.255
!
interface GigabitEthernet1/0
ip address 192.168.10.14 255.255.255.252
—————————————–
Kedua:Aktifkan Dynamic Routing
—————core———————-
router ospf 1
network 192.168.10.0 0.0.0.255 area 0
network 192.168.100.1 0.0.0.0 area 0
—————————————–
—————PE1———————–
router ospf 1
network 192.168.10.0 0.0.0.255 area 0
network 192.168.100.2 0.0.0.0 area 0
—————————————–
—————PE2———————–
router ospf 1
network 192.168.10.0 0.0.0.255 area 0
network 192.168.100.3 0.0.0.0 area 0
—————————————–
untuk pengecekan : ketikan show ip route
Ketiga:Aktifkan BGP
—————PE1———————–
router bgp 100
no synchronization
bgp log-neighbor-changes
neighbor 192.168.100.3 remote-as 100
neighbor 192.168.100.3 update-source Loopback0
no auto-summary
—————————————–
—————PE2———————–
router bgp 100
no synchronization
bgp log-neighbor-changes
neighbor 192.168.100.2 remote-as 100
neighbor 192.168.100.2 update-source Loopback0
no auto-summary
—————————————–
untuk pengecekan : ketikan show ip bgp sum
Keempat:Aktifkan MPLS
—————core———————-
ip cef
!
mpls label protocol ldp
!
mpls ldp router-id Loopback0 force
!
interface GigabitEthernet1/0
ip address 192.168.10.10 255.255.255.252
mpls ip
!
interface GigabitEthernet2/0
ip address 192.168.10.13 255.255.255.252
mpls ip
—————————————–
—————PE1———————–
ip cef
!
mpls label protocol ldp
!
mpls ldp router-id Loopback0 force
!
interface GigabitEthernet1/0
ip address 192.168.10.9 255.255.255.252
mpls ip
—————————————–
—————PE2———————–
ip cef
!
mpls label protocol ldp
!
mpls ldp router-id Loopback0 force
!
interface GigabitEthernet1/0
ip address 192.168.10.14 255.255.255.252
mpls ip
—————————————–
untuk pengecekan : ketikan show mpls ldp neighbor
Kelima:Buat Router Virtual
—————PE1———————–
ip vrf cnc1
rd 100:1
route-target export 100:1
route-target import 100:1
!
ip vrf cnc2
rd 100:2
route-target export 100:2
route-target import 100:2
!
interface GigabitEthernet2/0
ip vrf forwarding cnc1
ip address 192.168.10.2 255.255.255.252
!
interface GigabitEthernet3/0
ip vrf forwarding cnc2
ip address 192.168.10.6 255.255.255.252
—————————————–
—————PE2———————–
ip vrf cnc1
rd 100:1
route-target export 100:1
route-target import 100:1
!
ip vrf cnc2
rd 100:2
route-target export 100:2
route-target import 100:2
!
interface GigabitEthernet2/0
ip vrf forwarding cnc1
ip address 192.168.10.17 255.255.255.252
!
interface GigabitEthernet3/0
ip vrf forwarding cnc2
ip address 192.168.10.21 255.255.255.252
—————————————–
untuk pengecekan : ketikan show ip vrf (name)
Keenam: Menambahkan Routing DiRouter Virtual
—————PE1———————–
ip route vrf cnc1 10.14.200.1 255.255.255.255 192.168.10.1
ip route vrf cnc2 10.14.200.1 255.255.255.255 192.168.10.5
—————————————–
—————PE2———————–
ip route vrf cnc1 10.14.200.2 255.255.255.255 192.168.10.18
ip route vrf cnc2 10.14.200.2 255.255.255.255 192.168.10.22
—————————————–
untuk pengecekan : ketikan show ip vrf (name)

Ketujuh: Aktifkan MP-BGP
—————PE1———————–
router bgp 100
!
address-family vpnv4
neighbor 192.168.100.3 activate
neighbor 192.168.100.3 send-community both
exit-address-family
!
address-family ipv4 vrf cnc2
redistribute connected
redistribute static
no synchronization
exit-address-family
!
address-family ipv4 vrf cnc1
redistribute connected
redistribute static
no synchronization
exit-address-family
—————————————–
—————PE2———————–
router bgp 100
!
address-family vpnv4
neighbor 192.168.100.2 activate
neighbor 192.168.100.2 send-community both
exit-address-family
!
address-family ipv4 vrf cnc2
redistribute connected
redistribute static
no synchronization
exit-address-family
!
address-family ipv4 vrf cnc1
redistribute connected
redistribute static
no synchronization
exit-address-family
—————————————–
Kedelapan: Mengaktifkan CE dan Pengujian End-to-end
—————cnc1_a——————–
cnc1_a#sh run
!
version 12.4
!
hostname cnc1_a
!
enable secret 5 $1$3b6r$LdDX1wajQUqjGJPOpxH0F1
!
ip cef
!
interface Loopback0
ip address 10.14.200.1 255.255.255.255
!
interface GigabitEthernet1/0
ip address 192.168.10.1 255.255.255.252
negotiation auto
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.10.2
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password 7 xxxx
login
!
end
cnc1_a#
—————————————–
————–cnc2_y———————
cnc2_y#sh run
Building configuration…
!
version 12.4
!
hostname cnc2_y
!
logging message-counter syslog
enable secret 5 $1$2M75$hih5UEKQq2Lgtw9v8te6n/
!
ip cef
!
interface Loopback0
ip address 10.14.200.2 255.255.255.255
!
interface GigabitEthernet1/0
ip address 192.168.10.22 255.255.255.252
negotiation auto
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.10.21
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password 7 xxxx
login
!
end
cnc2_y#
—————————————–
————–cnc1_b———————
cnc1_b#sh run
!
version 12.4
!
hostname cnc1_b
!
enable secret 5 $1$BNrz$gJwJXNoaDp5X0F2ViVllF/
ip cef
!
interface Loopback0
ip address 10.14.200.2 255.255.255.255
!
interface GigabitEthernet1/0
ip address 192.168.10.18 255.255.255.252
negotiation auto
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.10.17
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password xxxx
login
!
end
cnc1_b#
—————————————–
————cnc2_y———————–
cnc2_y#sh run
Building configuration…
!
version 12.4
!
hostname cnc2_y
!
ip cef
!
interface Loopback0
ip address 10.14.200.2 255.255.255.255
!
interface GigabitEthernet1/0
ip address 192.168.10.22 255.255.255.252
negotiation auto
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.10.21
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password 7 xxxx
login
!
end
cnc2_y#
—————————————–
untuk pengecekan : pergunakan perintah ping dan telnet
“————Sekian dulu, semoga bermanfaat——————”

Senin, 14 September 2015

Creating an MPLS VPN


By stretch | Monday, May 16, 2011 at 1:17 a.m. UTC
Today we're going to look at the configuration required to create a basic MPLS VPN servicing two customers, each with a presence at two physical sites. If you're unfamiliar with the concepts of MPLS switching and VRFs on Cisco IOS, you may want to check out a few of my past articles before continuing:
Our lab topology looks like this:
topology.png
As a review, recall that
  • P (provider) routers are ISP core routers which don't connect to customer routers and typically run only MPLS
  • PE (provider edge) routers connect to customer sites and form the edge of a VPN
  • CE (customer edge) routers exist at the edge of a customer site; they have no VPN awareness
  • an IGP running among all P and PE routers is used to support LDP and BGP adjacencies within the provider network
  • MP-BGP is run only among PE routers
  • an IGP (typically) is run between each CE router and its upstream PE router
In our lab, OSPF is already in operation as the provider network IGP. OSPF processes have also been preconfigured on the CE routers; however, these OSPF topologies will remain separate from the provider OSPF.
There are five core tasks we need to accomplish to get an MPLS VPN up and running:
  1. Enable MPLS on the provider backbone.
  2. Create VRFs and assign routed interfaces to them.
  3. Configure MP-BGP between the PE routers.
  4. Configure OSPF between each PE router and its attached CE routers.
  5. Enable route redistribution between the customer sites and the backbone.
Although plenty of CLI outputs are shown below, you may want to grab the finished router configurations if you'd like to duplicate the lab on your own.

Enable MPLS

First we need to enable MPLS on all P-P and P-PE links with the mpls ip interface command. MPLS is notenabled on any CE-facing interfaces; CE routers do not run MPLS, just plain IP routing. LDP is enabled automatically as the default label distribution protocol (versus Cisco's legacy TDP). LDP typically runs between loopback addresses not directly reachable by LDP peers, which is why it's important to configure an IGP in the core before enabling MPLS.
We can verify the configuration of MPLS interfaces with show mpls interfaces.
P1(config)# interface f0/1
P1(config-if)# mpls ip
P1(config-if)# interface f1/0
P1(config-if)# mpls ip
P1(config-if)# do show mpls interfaces
Interface              IP            Tunnel   Operational
FastEthernet0/1        Yes (ldp)     No       Yes         
FastEthernet1/0        Yes (ldp)     No       Yes         
P2(config)# interface f0/1
P2(config-if)# mpls ip
P2(config-if)# interface f1/0
P2(config-if)# mpls ip
PE1(config)# interface f1/0
PE1(config-if)# mpls ip
PE2(config)# interface f1/0
PE2(config-if)# mpls ip
LDP adjacencies can be verified with the command show mpls ldp neighbor:
P1# show mpls ldp neighbor
    Peer LDP Ident: 10.0.0.2:0; Local LDP Ident 10.0.0.1:0
    TCP connection: 10.0.0.2.45114 - 10.0.0.1.646
    State: Oper; Msgs sent/rcvd: 12/13; Downstream
    Up time: 00:02:43
    LDP discovery sources:
      FastEthernet0/1, Src IP addr: 10.0.9.2
        Addresses bound to peer LDP Ident:
          10.0.9.2        10.0.9.9        10.0.0.2        
    Peer LDP Ident: 10.0.0.3:0; Local LDP Ident 10.0.0.1:0
    TCP connection: 10.0.0.3.20327 - 10.0.0.1.646
    State: Oper; Msgs sent/rcvd: 12/12; Downstream
    Up time: 00:02:25
    LDP discovery sources:
      FastEthernet1/0, Src IP addr: 10.0.9.6
        Addresses bound to peer LDP Ident:
          10.0.9.6        10.0.0.3        

Create and Assign VRFs

Our next step is to create customer VRFs on our PE routers and assign the customer-facing interfaces to them. We need to assign each VRF a route distinguisher (RD) to uniquely identify prefixes as belonging to that VRF and one or more route targets (RTs) to specify how routes should be imported to and exported from the VRF.
We'll use a route distinguisher for each VRF in the form of <ASN>:<customer number>. For simplicity, we'll reuse the same value as both an import and export route target within each VRF (though we are free to choose a different or additional route targets if we prefer). VRF configuration must be performed on both PE routers.
PE1(config)# ip vrf Customer_A
PE1(config-vrf)# rd 65000:1
PE1(config-vrf)# route-target both 65000:1
PE1(config-vrf)# ip vrf Customer_B
PE1(config-vrf)# rd 65000:2
PE1(config-vrf)# route-target both 65000:2
PE2(config)# ip vrf Customer_A
PE2(config-vrf)# rd 65000:1
PE2(config-vrf)# route-target both 65000:1
PE2(config-vrf)# ip vrf Customer_B
PE2(config-vrf)# rd 65000:2
PE2(config-vrf)# route-target both 65000:2
The command route-target both is used as a shortcut for the two commands route-target import androute-target export, which appear separately in the running configuration.
Now we need to assign the appropriate interfaces to each VRF and reapply their IP addresses. (Assigning an interface to a VRF automatically wipes it of any configured IP addresses. Your version of IOS may or may not inform you of this when it happens.) The command show ip vrf interfaces can be used to verify interface VRF assignment and addressing.
PE1(config)# interface f0/0
PE1(config-if)# ip vrf forwarding Customer_A
% Interface FastEthernet0/0 IP address 10.0.1.1 removed due to enabling VRF Customer_A
PE1(config-if)# ip address 10.0.1.1 255.255.255.252
PE1(config-if)# interface f0/1
PE1(config-if)# ip vrf forwarding Customer_B
% Interface FastEthernet0/1 IP address 10.0.1.5 removed due to enabling VRF Customer_B
PE1(config-if)# ip address 10.0.1.5 255.255.255.252
PE1(config-if)# ^Z
PE1# show ip vrf interfaces
Interface              IP-Address      VRF                              Protocol
Fa0/0                  10.0.1.1        Customer_A                       up      
Fa0/1                  10.0.1.5        Customer_B                       up      
PE2(config)# interface f0/0
PE2(config-if)# ip vrf forwarding Customer_A
% Interface FastEthernet0/0 IP address 10.0.2.1 removed due to enabling VRF Customer_A
PE2(config-if)# ip address 10.0.2.1 255.255.255.252
PE2(config-if)# interface f0/1
PE2(config-if)# ip vrf forwarding Customer_B
% Interface FastEthernet0/1 IP address 10.0.2.5 removed due to enabling VRF Customer_B
PE2(config-if)# ip address 10.0.2.5 255.255.255.252
PE2(config-if)# ^Z
PE2# show ip vrf interfaces
Interface              IP-Address      VRF                              Protocol
Fa0/0                  10.0.2.1        Customer_A                       up      
Fa0/1                  10.0.2.5        Customer_B                       up      

Configure MP-BGP on the PE Routers

This is where things start to get interesting. In order to advertise VRF routes from one PE router to the other, we must configure multiprotocol BGP (MP-BGP). MP-BGP is a little different from legacy BGP in that it supports multiple address families (e.g. IPv4 and IPv6) over a common BGP adjacency. It also supports the advertisement of VPN routes, which are longer than normal routes due to the addition of a 64-bit route distinguisher (which we assigned under VRF configuration).
MP-BGP runs only on the PE routers: P routers rely entirely on the provider IGP and MPLS to forward traffic through the provider network, and CE routers have no knowledge of routes outside their own VRF.
Minimal MP-BGP configuration is pretty straightforward. Both PE routers exist in BGP AS 65000.
PE1(config)# router bgp 65000
PE1(config-router)# neighbor 10.0.0.4 remote-as 65000
PE1(config-router)# neighbor 10.0.0.4 update-source loopback 0
PE1(config-router)# address-family vpnv4
PE1(config-router-af)# neighbor 10.0.0.4 activate
PE2(config)# router bgp 65000
PE2(config-router)# neighbor 10.0.0.3 remote-as 65000
PE2(config-router)# neighbor 10.0.0.3 update-source loopback 0
PE2(config-router)# address-family vpnv4
PE2(config-router-af)# neighbor 10.0.0.3 activate
If we look at the running configuration of the BGP process on either PE router, we notice that a bit more configuration than we provided has appeared:
PE1# show running-config | section router bgp
router bgp 65000
 no synchronization
 bgp log-neighbor-changes
 neighbor 10.0.0.4 remote-as 65000
 neighbor 10.0.0.4 update-source Loopback0
 no auto-summary
 !
 address-family vpnv4
  neighbor 10.0.0.4 activate
  neighbor 10.0.0.4 send-community extended
 exit-address-family
 !
 address-family ipv4 vrf Customer_B
  no synchronization
 exit-address-family
 !
 address-family ipv4 vrf Customer_A
  no synchronization
 exit-address-family
In addition to our VPNv4 address family, address families for the two customer VRFs have been created automatically. Also, support for extended community strings has been added to the VPNv4 neighbor configuration.
Verify that the MP-BGP adjacency between PE1 and PE2 was formed successfully with the commandshow bgp vpnv4 unicast all summary:
PE1# show bgp vpnv4 unicast all summary
BGP router identifier 10.0.0.3, local AS number 65000
BGP table version is 1, main routing table version 1

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.0.0.4        4 65000      12      12        1    0    0 00:06:05        0
Currently, there are no routes in the BGP table, because we have not specified anything to be advertised or redistributed, but we'll get to that after this next step.

Configure PE-CE OSPF

We just configured MP-BGP between the two PE routers. Now, let's configure an IGP between each PE router and its attached CE routers to exchange routes with the customer sites. We're going to use OSPF for this lab, but we could just as easily use another IGP like EIGRP or RIP.
Single-area OSPF has already been configured on the CE routers; all CE interfaces are in area 0. Remember that although we're using OSPF between each of the CE routers and its upstream PE router, these OSPF processes are isolated from the provider OSPF topology. The overall routing topology will look like this:
routing_topology.png
The provider OSPF process has already been configured on the PE routers as process 1. We'll configure anadditional OSPF process for each CE router on each PE router. Each PE router will then have three OSPF processes total: one for the provider network, and one for each CE router. Whereas the provider OSPF process exists in the global routing table, the two CE processes will each be assigned to their respective customer VRFs.
PE1(config)# router ospf 2 vrf Customer_A
PE1(config-router)# router-id 10.0.1.1
PE1(config-router)# interface f0/0
PE1(config-if)# ip ospf 2 area 0
PE1(config-if)# router ospf 3 vrf Customer_B
PE1(config-router)# router-id 10.0.1.5
PE1(config-router)# interface f0/1
PE1(config-if)# ip ospf 3 area 0
PE2(config)# router ospf 2 vrf Customer_A
PE2(config-router)# router-id 10.0.2.1
PE2(config-router)# interface f0/0
PE2(config-if)# ip ospf 2 area 0
PE2(config-if)# router ospf 3 vrf Customer_B
PE2(config-router)# router-id 10.0.2.5
PE2(config-router)# interface f0/1
PE2(config-if)# ip ospf 3 area 0
We should see each PE router form an OSPF adjacency with both of its attached CE routers, and the customer routes should appear in the VRF tables on the PE routers.
PE1# show ip route vrf Customer_A

Routing Table: Customer_A
...

172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
O       172.16.1.0/24 [110/11] via 10.0.1.2, 00:04:21, FastEthernet0/0
O       172.16.0.1/32 [110/11] via 10.0.1.2, 00:04:21, FastEthernet0/0
     10.0.0.0/30 is subnetted, 1 subnets
C       10.0.1.0 is directly connected, FastEthernet0/0
PE1# show ip route vrf Customer_B

Routing Table: Customer_B
...

172.17.0.0/16 is variably subnetted, 2 subnets, 2 masks
O       172.17.1.0/24 [110/11] via 10.0.1.6, 00:03:03, FastEthernet0/1
O       172.17.0.1/32 [110/11] via 10.0.1.6, 00:03:04, FastEthernet0/1
     10.0.0.0/30 is subnetted, 1 subnets
C       10.0.1.4 is directly connected, FastEthernet0/1

Configure Route Redistribution

We're almost done! We have our MPLS and MP-BGP backbone up and running, and our CE routers are sending routes to our PE routers within their VRFs. The last step is to glue everything together by turning on route redistribution from the customer-side OSPF processes into MP-BGP and vice versa on the PE routers.
First we'll configure redistribution of CE routes in each VRF into MP-BGP. This is done under the BGP IPv4 address family for each VRF.
PE1(config)# router bgp 65000
PE1(config-router)# address-family ipv4 vrf Customer_A
PE1(config-router-af)# redistribute ospf 2
PE1(config-router-af)# address-family ipv4 vrf Customer_B
PE1(config-router-af)# redistribute ospf 3
PE2(config)# router bgp 65000
PE2(config-router)# address-family ipv4 vrf Customer_A
PE2(config-router-af)# redistribute ospf 2
PE2(config-router-af)# address-family ipv4 vrf Customer_B
PE2(config-router-af)# redistribute ospf 3
This enables redistribution of OSPF routes into BGP for transport across the provider network between the two sites. We can verify that the routes learned from the customer sites (the 172.16.0.0/16 and 172.17.0.0/16 networks) now appear in the BGP tables for their respective VRFs.
PE1# show ip bgp vpnv4 vrf Customer_A
...

Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 65000:1 (default for vrf Customer_A)
*> 10.0.1.0/30      0.0.0.0                  0         32768 ?
*>i10.0.2.0/30      10.0.0.4                 0    100      0 ?
*> 172.16.0.1/32    10.0.1.2                11         32768 ?
*>i172.16.0.2/32    10.0.0.4                11    100      0 ?
*> 172.16.1.0/24    10.0.1.2                11         32768 ?
*>i172.16.2.0/24    10.0.0.4                11    100      0 ?
PE1# show ip bgp vpnv4 vrf Customer_B
...

Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 65000:2 (default for vrf Customer_B)
*> 10.0.1.4/30      0.0.0.0                  0         32768 ?
*>i10.0.2.4/30      10.0.0.4                 0    100      0 ?
*> 172.17.0.1/32    10.0.1.6                11         32768 ?
*>i172.17.0.2/32    10.0.0.4                11    100      0 ?
*> 172.17.1.0/24    10.0.1.6                11         32768 ?
*>i172.17.2.0/24    10.0.0.4                11    100      0 ?
The last step is to complete the redistribution in the opposite direction: from BGP into the customer OSPF processes. If you're accustomed to route redistribution, there's nothing new here. (We don't have to specify any VRF information in the redistribution statement because each customer OSPF process is already assigned to a VRF.)
PE1(config)# router ospf 2
PE1(config-router)# redistribute bgp 65000 subnets
PE1(config-router)# router ospf 3 
PE1(config-router)# redistribute bgp 65000 subnets
PE2(config)# router ospf 2
PE2(config-router)# redistribute bgp 65000 subnets
PE2(config-router)# router ospf 3
PE2(config-router)# redistribute bgp 65000 subnets

Testing and Confirmation

If has gone well, we should now have end-to-end connectivity between the CE routers within each VRF. Both routers for each customer should now have complete routing tables. Here are customer A's routes:
CE1A# show ip route
...

172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
C       172.16.1.0/24 is directly connected, Loopback1
C       172.16.0.1/32 is directly connected, Loopback0
O IA    172.16.2.0/24 [110/21] via 10.0.1.1, 00:03:50, FastEthernet0/0
O IA    172.16.0.2/32 [110/21] via 10.0.1.1, 00:03:50, FastEthernet0/0
     10.0.0.0/30 is subnetted, 2 subnets
O IA    10.0.2.0 [110/11] via 10.0.1.1, 00:03:50, FastEthernet0/0
C       10.0.1.0 is directly connected, FastEthernet0/0
CE2A# show ip route
...

172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
O IA    172.16.1.0/24 [110/21] via 10.0.2.1, 00:02:49, FastEthernet0/0
O IA    172.16.0.1/32 [110/21] via 10.0.2.1, 00:02:49, FastEthernet0/0
C       172.16.2.0/24 is directly connected, Loopback1
C       172.16.0.2/32 is directly connected, Loopback0
     10.0.0.0/30 is subnetted, 2 subnets
C       10.0.2.0 is directly connected, FastEthernet0/0
O IA    10.0.1.0 [110/11] via 10.0.2.1, 00:02:49, FastEthernet0/0
You may notice that OSPF routes sent between two sites belonging to the same customer appear as inter-area routes. Remember that although OSPF area 0 is being used at both sites, each site exists as a separate link-state topology connected by the MPLS VPN.
We should be able to ping from one CE router to the other. (Remember that we don't need to specify a VRF when doing so because CE routers have no knowledge that they're in a VRF.)
CE1A# ping 172.16.0.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/21/32 ms
We can perform a traceroute to verify the path taken as well as the MPLS labels used to traverse the provider network.
CE1A# traceroute 172.16.0.2

Type escape sequence to abort.
Tracing the route to 172.16.0.2

1 10.0.1.1 4 msec 4 msec 8 msec
  2 10.0.9.5 [MPLS: Labels 19/22 Exp 0] 16 msec 12 msec 24 msec
  3 10.0.9.2 [MPLS: Labels 19/22 Exp 0] 24 msec 20 msec 16 msec
  4 10.0.2.1 [MPLS: Label 22 Exp 0] 20 msec 16 msec 24 msec
  5 10.0.2.2 16 msec *  36 msec
Here's a packet capture of the above traceroute if you're interested in how the MPLS label information is returned. And again, here are the the finished router configurations if you'd like to replicate the lab yourself.

Kamis, 27 Agustus 2015

Belajar Simulasi CISCO MPLS-L3VPN (PE-CE OSPF)


Belajar Simulasi CISCO MPLS-L3VPN (PE-CE with OSPF)
(PE-To-CE OSPF with same process ID)

Topology yang saya gunakan adalah seperti gambar dibawah ini:


Konfigurasi IP addressnya adalah sebagai berikut:



Langkah-langkahnya adalah sebagai berikut:

Pertama:
configure semua interface (PE1-Core-PE2)

---------------core----------------------
!
interface Loopback0
 ip address 192.168.100.1 255.255.255.255
!
interface GigabitEthernet1/0
 ip address 192.168.10.10 255.255.255.252
!
interface GigabitEthernet2/0
 ip address 192.168.10.13 255.255.255.252
-----------------------------------------

---------------PE1-----------------------
interface Loopback0
 ip address 192.168.100.2 255.255.255.255
!
interface GigabitEthernet1/0
 ip address 192.168.10.9 255.255.255.252
-----------------------------------------

---------------PE2-----------------------
interface Loopback0
 ip address 192.168.100.3 255.255.255.255
!
interface GigabitEthernet1/0
 ip address 192.168.10.14 255.255.255.252
-----------------------------------------

Kedua:Aktifkan Dynamic Routing 

---------------core----------------------
router ospf 1
 network 192.168.10.0 0.0.0.255 area 0
 network 192.168.100.1 0.0.0.0 area 0
-----------------------------------------

---------------PE1-----------------------
router ospf 1
 network 192.168.10.0 0.0.0.255 area 0
 network 192.168.100.2 0.0.0.0 area 0
-----------------------------------------

---------------PE2-----------------------
router ospf 1
 network 192.168.10.0 0.0.0.255 area 0
 network 192.168.100.3 0.0.0.0 area 0
-----------------------------------------
untuk pengecekan : ketikan show ip route

PE1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2
 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
 ia - IS-IS inter area, * - candidate default, U - per-user static route
 o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

 192.168.10.0/30 is subnetted, 2 subnets
C       192.168.10.8 is directly connected, GigabitEthernet1/0
O       192.168.10.12 [110/2] via 192.168.10.10, 00:23:16, GigabitEthernet1/0
 192.168.100.0/32 is subnetted, 3 subnets
O       192.168.100.1 [110/2] via 192.168.10.10, 00:23:16, GigabitEthernet1/0
C       192.168.100.2 is directly connected, Loopback0
O       192.168.100.3 [110/3] via 192.168.10.10, 00:23:16, GigabitEthernet1/0
PE1#

PE2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2
 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
 ia - IS-IS inter area, * - candidate default, U - per-user static route
 o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

 192.168.10.0/30 is subnetted, 2 subnets
O       192.168.10.8 [110/2] via 192.168.10.13, 00:18:13, GigabitEthernet1/0
C       192.168.10.12 is directly connected, GigabitEthernet1/0
 192.168.100.0/32 is subnetted, 3 subnets
O       192.168.100.1 [110/2] via 192.168.10.13, 00:18:23, GigabitEthernet1/0
O       192.168.100.2 [110/3] via 192.168.10.13, 00:18:13, GigabitEthernet1/0
C       192.168.100.3 is directly connected, Loopback0
PE2#

Ketiga:Aktifkan BGP

---------------PE1-----------------------
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 neighbor 192.168.100.3 remote-as 100
 neighbor 192.168.100.3 update-source Loopback0
 no auto-summary
-----------------------------------------

---------------PE2-----------------------
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 neighbor 192.168.100.2 remote-as 100
 neighbor 192.168.100.2 update-source Loopback0
 no auto-summary
-----------------------------------------
untuk pengecekan : ketikan show ip bgp sum

PE1# sh ip bgp summary
BGP router identifier 192.168.100.2, local AS number 100
BGP table version is 1, main routing table version 1

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
192.168.100.3   4   100      28      36        1    0    0 00:30:32        0
PE1#

PE2#sh ip bgp summary
BGP router identifier 192.168.100.3, local AS number 100
BGP table version is 1, main routing table version 1

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
192.168.100.2   4   100      35      28        1    0    0 00:23:27        0
PE2#

Keempat:Aktifkan MPLS
---------------core----------------------
ip cef
!
mpls label protocol ldp
!
interface GigabitEthernet1/0
 ip address 192.168.10.10 255.255.255.252
 mpls ip
!
interface GigabitEthernet2/0
 ip address 192.168.10.13 255.255.255.252
 mpls ip
-----------------------------------------

---------------PE1-----------------------
ip cef
!
mpls label protocol ldp
!
mpls ldp router-id Loopback0 force
!
interface GigabitEthernet1/0
 ip address 192.168.10.9 255.255.255.252
 mpls ip
-----------------------------------------

---------------PE2-----------------------
ip cef
!
mpls label protocol ldp
!
mpls ldp router-id Loopback0 force
!
interface GigabitEthernet1/0
 ip address 192.168.10.14 255.255.255.252
 mpls ip
-----------------------------------------
untuk pengecekan : ketikan show mpls ldp neighbor

core#show mpls ldp neighbor
 Peer LDP Ident: 192.168.100.3:0; Local LDP Ident 192.168.100.1:0
 TCP connection: 192.168.100.3.26601 - 192.168.100.1.646
 State: Oper; Msgs sent/rcvd: 45/36; Downstream
 Up time: 00:32:49
 LDP discovery sources:
 GigabitEthernet2/0, Src IP addr: 192.168.10.14
 Addresses bound to peer LDP Ident:
 192.168.10.14   192.168.100.3
 Peer LDP Ident: 192.168.100.2:0; Local LDP Ident 192.168.100.1:0
 TCP connection: 192.168.100.2.31760 - 192.168.100.1.646
 State: Oper; Msgs sent/rcvd: 45/44; Downstream
 Up time: 00:32:32
 LDP discovery sources:
 GigabitEthernet1/0, Src IP addr: 192.168.10.9
 Addresses bound to peer LDP Ident:
 192.168.10.9    192.168.100.2
core#

PE1#sh mpls ldp neighbor
 Peer LDP Ident: 192.168.100.1:0; Local LDP Ident 192.168.100.2:0
 TCP connection: 192.168.100.1.646 - 192.168.100.2.31760
 State: Oper; Msgs sent/rcvd: 43/44; Downstream
 Up time: 00:31:35
 LDP discovery sources:
 GigabitEthernet1/0, Src IP addr: 192.168.10.10
 Addresses bound to peer LDP Ident:
 192.168.10.10   192.168.100.1   192.168.10.13
PE1#

PE2#show mpls ldp neighbor
 Peer LDP Ident: 192.168.100.1:0; Local LDP Ident 192.168.100.3:0
 TCP connection: 192.168.100.1.646 - 192.168.100.3.26601
 State: Oper; Msgs sent/rcvd: 37/45; Downstream
 Up time: 00:25:54
 LDP discovery sources:
 GigabitEthernet1/0, Src IP addr: 192.168.10.13
 Addresses bound to peer LDP Ident:
 192.168.10.10   192.168.100.1   192.168.10.13
PE2#

Kelima:Buat Router Virtual

---------------PE1-----------------------
ip vrf cnc1
 rd 100:1
 route-target export 100:1
 route-target import 100:1
!
interface GigabitEthernet2/0
 ip vrf forwarding cnc1
 ip address 192.168.10.2 255.255.255.252

---------------PE2-----------------------
ip vrf cnc1
 rd 100:1
 route-target export 100:1
 route-target import 100:1
!
interface GigabitEthernet2/0
 ip vrf forwarding cnc1
 ip address 192.168.10.17 255.255.255.252

-----------------------------------------
untuk pengecekan : ketikan show ip vrf (name)

Keenam: Menambahkan Routing DiRouter Virtual

---------------PE1-----------------------

router ospf 100 vrf cnc1
 log-adjacency-changes
 redistribute bgp 100 subnets
 network 10.0.0.0 0.255.255.255 area 0
 network 192.0.0.0 0.255.255.255 area 0
-----------------------------------------

---------------PE2-----------------------
router ospf 100 vrf cnc1
 log-adjacency-changes
 redistribute bgp 100 subnets
 network 10.0.0.0 0.255.255.255 area 0
 network 192.0.0.0 0.255.255.255 area 0
-----------------------------------------
untuk pengecekan : ketikan show ip vrf (name)

PE1#sh ip route vrf cnc1

Routing Table: cnc1
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2
 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
 ia - IS-IS inter area, * - candidate default, U - per-user static route
 o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

 192.168.10.0/30 is subnetted, 2 subnets
C       192.168.10.0 is directly connected, GigabitEthernet2/0
B       192.168.10.16 [200/0] via 192.168.100.3, 00:21:01
 10.0.0.0/32 is subnetted, 2 subnets
O       10.14.200.1 [110/2] via 192.168.10.1, 00:24:00, GigabitEthernet2/0
B       10.14.200.2 [200/2] via 192.168.100.3, 00:21:01
PE1#

PE2#sh ip route vrf cnc1

Routing Table: cnc1
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2
 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
 ia - IS-IS inter area, * - candidate default, U - per-user static route
 o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

 192.168.10.0/30 is subnetted, 2 subnets
B       192.168.10.0 [200/0] via 192.168.100.2, 00:16:32
C       192.168.10.16 is directly connected, GigabitEthernet2/0
 10.0.0.0/32 is subnetted, 2 subnets
B       10.14.200.1 [200/2] via 192.168.100.2, 00:16:32
O       10.14.200.2 [110/2] via 192.168.10.18, 00:19:02, GigabitEthernet2/0
PE2#

Ketujuh: Aktifkan MP-BGP

---------------PE1-----------------------
router bgp 100
 bgp router-id 192.168.100.2
 bgp log-neighbor-changes
 neighbor 192.168.100.3 remote-as 100
 neighbor 192.168.100.3 update-source Loopback0
 !
 address-family ipv4
 neighbor 192.168.100.3 activate
 no auto-summary
 no synchronization
 exit-address-family
 !
 address-family vpnv4
 neighbor 192.168.100.3 activate
 neighbor 192.168.100.3 send-community both
 exit-address-family
 !
 address-family ipv4 vrf cnc1
 redistribute connected
 redistribute ospf 100 vrf cnc1 match internal external 1 external 2
 no synchronization
 exit-address-family
!
-----------------------------------------

---------------PE2-----------------------
router bgp 100
 bgp router-id 192.168.100.3
 bgp log-neighbor-changes
 neighbor 192.168.100.2 remote-as 100
 neighbor 192.168.100.2 update-source Loopback0
 !
 address-family ipv4
 neighbor 192.168.100.2 activate
 no auto-summary
 no synchronization
 exit-address-family
 !
 address-family vpnv4
 neighbor 192.168.100.2 activate
 neighbor 192.168.100.2 send-community both
 exit-address-family
 !
 address-family ipv4 vrf cnc1
 redistribute connected
 redistribute ospf 100 vrf cnc1 match internal external 1 external 2
 no synchronization
 exit-address-family
-----------------------------------------

Kedelapan: Mengaktifkan CE dan Pengujian End-to-end

---------------cnc1_a--------------------

cnc1_a#sh run
!
version 12.4
!
hostname cnc1_a
!
enable secret 5 $1$3b6r$LdDX1wajQUqjGJPOpxH0F1
!
ip cef
!
interface Loopback0
 ip address 10.14.200.1 255.255.255.255
!
interface GigabitEthernet1/0
 ip address 192.168.10.1 255.255.255.252
 negotiation auto
!
ip forward-protocol nd
router ospf 100
 log-adjacency-changes
 redistribute connected subnets
 network 10.0.0.0 0.255.255.255 area 0
 network 192.168.0.0 0.0.255.255 area 0
!
line con 0
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
 password 7 xxxx
 login
!
end

cnc1_a#
-----------------------------------------

--------------cnc1_b---------------------

cnc1_b#sh run
!
version 12.4
!
hostname cnc1_b
!
enable secret 5 $1$BNrz$gJwJXNoaDp5X0F2ViVllF/
ip cef
!
interface Loopback0
 ip address 10.14.200.2 255.255.255.255
!
interface GigabitEthernet1/0
 ip address 192.168.10.18 255.255.255.252
 negotiation auto
!
ip forward-protocol nd
router ospf 100
 log-adjacency-changes
 redistribute connected subnets
 network 10.0.0.0 0.255.255.255 area 0
 network 192.168.0.0 0.0.255.255 area 0
!
line con 0
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
 password xxxx
 login
!
end

cnc1_b#
-----------------------------------------

untuk pengecekan : pergunakan perintah ping,traceroute dan telnet

cnc1_a#pi
Protocol [ip]:
Target IP address: 10.14.200.2
Repeat count [5]: 100
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 10.14.200.2, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (100/100), round-trip min/avg/max = 236/518/1796 ms
cnc1_a#

cnc1_a#traceroute 10.14.200.2

Type escape sequence to abort.
Tracing the route to 10.14.200.2

 1 192.168.10.2 192 msec 884 msec 712 msec
 2 192.168.10.10 [MPLS: Labels 16/19 Exp 0] 384 msec 500 msec 400 msec
 3 192.168.10.17 [MPLS: Label 19 Exp 0] 336 msec 372 msec 288 msec
 4 192.168.10.18 448 msec 1292 msec 592 msec
cnc1_a#

cnc1_a#telnet 10.14.200.2
Trying 10.14.200.2 ... Open

User Access Verification

Password:
cnc1_b>

cnc1_b#pi
Protocol [ip]:
Target IP address: 10.14.200.1
Repeat count [5]: 100
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 10.14.200.1, timeout is 2 seconds:
!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!
Success rate is 98 percent (98/100), round-trip min/avg/max = 284/548/1412 ms
cnc1_b#tra
cnc1_b#traceroute 10.14.200.1

Type escape sequence to abort.
Tracing the route to 10.14.200.1

 1 192.168.10.17 236 msec 252 msec 184 msec
 2 192.168.10.13 [MPLS: Labels 17/19 Exp 0] 436 msec 1740 msec 608 msec
 3 192.168.10.2 [MPLS: Label 19 Exp 0] 584 msec 1252 msec 424 msec
 4 192.168.10.1 864 msec 292 msec *
cnc1_b#
cnc1_b#telnet 10.14.200.1
Trying 10.14.200.1 ... Open

User Access Verification

Password:
cnc1_a>

"------------Sekian dulu, semoga bermanfaat------------------"
ref: cisco
     Antonio Soares,CCIE#18473

About

Ads 300 x 600

Blogroll

 
 
Blogger Templates