:::: MENU ::::

Blog tentang materi IT atau ilmu teknologi.

  • Suitable for all screen sizes

  • Easy to Customize

  • Customizable fonts.

" Berbagilah Walau Setetes "

Monday, 16 October 2017











Dalam topologi di atas  Kita akan mengkonfigurasi:

1.IP Address
2.Routing BGP dan OSPF
3.VLAN
4.DHCP SERVER
5.TUNNEL GRE




  1. SETTING IP ADDRESS


  • ·         ROUTER ISP-A
Router>en         
Router#conf
Router(config)#hostname ISP-A
ISP-A(config)#int fa0/0
ISP-A(config-if)#no sh
ISP-A(config-if)#ip address 1.1.1.1 255.255.255.0
ISP-A(config-if)#ex
ISP-A(config)#int ser0/0/0
ISP-A(config-if)#no sh
ISP-A(config-if)#ip address 3.3.3.1 255.255.255.0
ISP-A(config-if)#int ser0/0/1
ISP-A(config-if)#no sh
ISP-A(config-if)#ip address 11.11.11.1 255.255.255.0

  • ·         ROUTER ISP-B
Router>en
Router#conf
Router(config)#hostname ISP-B
ISP-B (config)#int fa0/0
ISP-B (config-if)#no sh
ISP-B (config-if)#ip address 2.2.2.1 255.255.255.0
ISP-B (config-if)#int ser0/0/0
ISP-B (config-if)#no sh
ISP-B (config-if)#ip address 3.3.3.2 255.255.255.0
ISP-B (config-if)#int ser0/0/1
ISP-B (config-if)#no sh
ISP-B (config-if)#ip address 12.12.12.1 255.255.255.0

  • ·         R-SBY
Router>en
Router#conf
Router(config)#hostname R-SBY
R-SBY(config)#int ser0/0/0
R-SBY(config-if)#no sh
R-SBY(config-if)#ip address 11.11.11.2 255.255.255.0
R-SBY(config-if)#int fa0/0
R-SBY(config-if)#no sh
R-SBY(config-if)#int fa0/0.10
R-SBY(config-subif)#encapsulation dot1Q 10
R-SBY(config-subif)#ip address 10.10.10.1 255.255.255.0
R-SBY(config-subif)#int fa0/0.20
R-SBY(config-subif)#encapsulation dot1Q 20
R-SBY(config-subif)#ip address 20.20.20.1 255.255.255.0

  • ·         R-JKT
Router>en
Router#conf
Router(config)#hostname R-JKT
R-JKT(config)# int ser0/0/0                                  
R-JKT(config-if)#no sh
R-JKT(config-if)#ip address 12.12.12.2 255.255.255.0
R-JKT(config-if)#int fa0/0
R-JKT(config-if)#no sh
R-JKT(config-if)#int fa0/0.30
R-JKT(config-subif)#encapsulation dot1Q 30
R-JKT(config-subif)#ip address 30.30.30.1 255.255.255.0
R-JKT(config-subif)#int fa0/0.40
R-JKT(config-subif)#encapsulation dot1Q 40
R-JKT(config-subif)#ip address 40.40.40.1 255.255.255.0



2.DHCP SERVER

  • ·         R-SBY

R-SBY(config)#ip dhcp pool vlan10
R-SBY(dhcp-config)#defa
R-SBY(dhcp-config)#default-router 10.10.10.1
R-SBY(dhcp-config)#net
R-SBY(dhcp-config)#network 10.10.10.0 255.255.255.0
R-SBY(dhcp-config)#dns 11.11.11.2
R-SBY(dhcp-config)#ip dhcp pool vlan20
R-SBY(dhcp-config)#def
R-SBY(dhcp-config)#default-router 20.20.20.1
R-SBY(dhcp-config)#net
R-SBY(dhcp-config)#network 20.20.20.0 255.255.255.0
R-SBY(dhcp-config)#dns 11.11.11.2

  • ·         R-JKT
R-JKT(config)#ip dhcp pool vlan30
R-JKT(dhcp-config)#default-router 30.30.30.1
R-JKT(dhcp-config)#network 30.30.30.0 255.255.255.0
R-JKT(dhcp-config)#dns 12.12.12.2
R-JKT(dhcp-config)#ip dhcp pool vlan40
R-JKT(dhcp-config)#default-router 40.40.40.1
R-JKT(dhcp-config)#network 40.40.40.0 255.255.255.0
R-JKT(dhcp-config)#dns 12.12.12.2


3.Setting VLAN di SWICTH
  • ·         SW1
Switch>en
Switch#conf
Switch(config)#hostnam S-SBY
S-SBY(config)#vlan 10
S-SBY(config-vlan)#name vlan10
S-SBY(config-vlan)#vlan 20
S-SBY(config-vlan)#name vlan20
S-SBY(config-vlan)#ex
S-SBY(config)#int fa0/1
S-SBY(config-if)#switchport mode trunk
S-SBY(config-if)#int fa0/2
S-SBY(config-if)#switchport mode access
S-SBY(config-if)#switchport access vlan 10
S-SBY(config-if)#int fa0/3
S-SBY(config-if)#switchport mode access
 S-SBY(config-if)#switchport access vlan 20

  • SW2
Switch>en
Switch#conf
Switch(config)#hostname S-JKT
S-JKT(config)#vlan 30
S-JKT(config-vlan)#name vlan30
S-JKT(config-vlan)#vlan 40
S-JKT(config-vlan)#name vlan40
S-JKT(config-vlan)#ex
S-JKT(config)#int fa0/1
S-JKT(config-if)#switchport mode trunk
S-JKT(config-if)#int fa0/2
S-JKT(config-if)#switchport mode access
S-JKT(config-if)#switchport access vlan 30
S-JKT(config-if)#int fa0/3
S-JKT(config-if)#switchport mode access
S-JKT(config-if)#switchport access vlan 40

 Konfigurasi IP pada client secara DHCP


 


 


4.ROUTING 

  • ISP-A
Router>en
Router#conf
Router(config)#hostname ISP-A
ISP-A(config)#router bgp 100
ISP-A(config-router)#neighbor 3.3.3.2 remote-as 101
ISP-A(config-router)#network 1.1.1.0 mask255.255.255.0
ISP-A(config-router)#network 1.1.1.0 mask 255.255.255.0
ISP-A(config-router)#network 11.11.11.0 mask 255.255.255.0
ISP-A(config-router)#redistribute ospf 1
ISP-A(config-router)#ex
ISP-A(config)#router ospf 1
ISP-A(config-router)#network 3.3.3.0 0.0.0.255 area 1
ISP-A(config-router)#network 1.1.1.0 0.0.0.255 area 1
ISP-A(config-router)#network 11.11.11.0 0.0.0.255 area 1
ISP-A(config-router)#redistribute bgp 100 subnets


  • ISP-B
ISP-B(config)#router bgp 101
ISP-B(config-router)#neighbor 3.3.3.1 remote-as 100
ISP-B(config-router)#network 2.2.2.0 mask 255.255.255.0
ISP-B(config-router)#network 12.12.12.0 mask 255.255.255.0
ISP-B(config-router)#redistribute ospf 1
ISP-B(config-router)#ex
ISP-B(config)#router ospf 1
ISP-B(config-router)#network 2.2.2.0 0.0.0.255 area 1
ISP-B(config-router)#network 12.12.12.0 0.0.0.255 area 1
ISP-B(config-router)#network 3.3.3.0 0.0.0.255 area 1
ISP-B(config-router)#redistribute bgp 101 subnets
 


  •  R-SBY
R-SBY(config)#router ospf 1
R-SBY(config-router)#network 11.11.11.0 0.0.0.255 area 1
R-SBY(config-router)#network 30.30.30.0 0.0.0.255 area 1
R-SBY(config-router)#network 40.40.40.0 0.0.0.255 area 1
  •  R-JKT
R-JKT(config)#router ospf 1
R-JKT(config-router)#network 12.12.12.0 0.0.0.255 area 1
R-JKT(config-router)#net 30.30.30.0 0.0.0.255 area 1
R-JKT(config-router)#net 40.40.40.0 0.0.0.255 area 1
  

5.TUNNEL GRE 
  • R-SBY
R-SBY(config)#int tunnel 10
R-SBY(config-if)#ip address 100.100.100.1 255.255.255.252
R-SBY(config-if)#tunnel source serial 0/0/0
R-SBY(config-if)#tunnel destination 12.12.12.2
R-SBY(config-if)#tunnel mode gre ip
  • R-JKT
R-JKT(config)#int tunnel 10
R-JKT(config-if)#ip address 100.100.100.2 255.255.255.252
R-JKT(config-if)#tunnel source serial 0/0/0
R-JKT(config-if)#tunnel destination 11.11.11.2
R-JKT(config-if)#tunnel mode gre ip

Kemudian kita lihat apakah,Tunnel sudah aktif.




Kemudian kita Routing Statik 
R-SBY(config)#ip route 30.30.30.0 255.255.255.0 100.100.100.2
R-SBY(config)#ip route 40.40.40.0 255.255.255.0 100.100.100.2

R-JKT(config)#ip route 10.10.10.0 255.255.255.0 100.100.100.1
R-JKT(config)#ip route 20.20.20.0 255.255.255.0 100.100.100.1

Kemudian coba ping dari salah satu Client. Jika berhasil maka Tunnel berhasil...


























0 komentar:

Fail Over dengan Recursive Gateway di MikroTIK

Mikrotik Mensupport adanya 2 link atau lebih, kita bisa mengaturnya  untuk menggunakan kedua-dua nya atau mengunakan salah satu nya, dengan...

Advertisement

" Jasa REMOTE JARINGAN berbasis LAN ( Mikrotik, Tenda, Totolink, TP-LINK, Ubiquiti, Linksys )
A call-to-action text Contact us