Modul Routing Statik

Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

RoutingStatik

DivisiTraining
PTUFOAKSESSUKSESLUARBIASA
Jakarta
[email protected]

Konsep

Digunakanuntukpengaturanjalurantar
networkseqmentberdasarkanipaddress
tujuan(asal)padaosilayernetwork.
Tiapnetworkseqmentmempunyaisubnet
networkyangberbedabeda.
Memungkinkankitamelakukanpemantauan
danpengelolaanjaringanyanglebihbaik
Lebihaman(firewallfilteringlebihmudah)
Trafikbroadcasthanyakonsentrasidisetiap
subnet.

Destination

Alamattujuandannetworkmask

0.0.0.0/0=semuanetwork

Gateway

Datagramyangdapatdicapaimelaluibeberapa
interface

Pref.Source

Parameter

Alamattujuanpaket,meninggalkanroutermelaluiip
ini

Distance

Jarakadministrasidarirute

Cekgateway

Ping(paketicmp)

Arp

Ruleakandidisablejikagatewayunchreable.

AturanRouting

Routingstatic

Berdasarkanalamattujuan

Policyroute(kebijakanrouting)

IProuteroute

IProuteRule

Digunakanuntukrouting(berdasarkantandaroute)
Digunakanuntuktableroute(berdasarkan
mark,dst,src,dll)

Workshop

10.20.20.1

10.10.10.1

Konfigurasi

Pertama:

Dstaddress=0.0.0.0/0

Gateway=10.20.20.1

Chek=ping

Distance=10(prioritas)

Kedua:

Dstaddress=0.0.0.0/0

Gateway=10.10.10.1

Distance=20

Workshop2

Defaultgateway=10.10.10.1
Untuksmtp(tcpport25)gunakandefault
gateway10.10.10.2
Gunakanmangle

Markrouting

GunakanIProuterule

Newpolicyroutingrulesrcaddr=lanaction
=lookuptable=smtproute

Newpolicyroutingruleroutingmark=smtproute
action=lookuptable=smtproute

IPRoutesRoutes

IPRoutesRule

Formoreadvanceroutingrules,wecanset
acertainroutemarkedpacket
Anypacketmatchwithdestination/source
Toaroutetable.

SimpleRouting

Workshop1

TABELROUTING
RouterDatabase

Dstaddress=0.0.0.0/0gateway =192.168.3.2
Dstaddress=192.168.3.8/30gateway =192.168.3.2
Dstaddress =192.168.3.28/30gateway =192.168.3.2

RouterA

Dstaddress=0.0.0.0/0gateway =192.168.3.1
Dstaddress =192.168.3.8/30gateway=5.5.5.2
Dstaddress =192.168.3.28/30gateway =4.4.4.2

RouterB

Dstaddress =0.0.0.0/0gateway =5.5.5.1

RouterC

Dstaddress =0.0.0.0/0gateway =4.4.4.1


Dstaddress =192.168.3.28/30gateway =7.7.7.2

RouterD

Dstaddress =0.0.0.0/0gateway =7.7.7.1

Workshop2

TABELROUTING
RouterA

Dstaddress=0.0.0.0/0gateway =202.155.3.10(Internet)
Dstaddress=10.10.10.0/24gateway=10.165.165.7
Dstaddress =172.16.16.0/24gateway =10.165.165.7

RouterB

Dstaddress =0.0.0.0/0gateway =10.165.165.1


Dstaddress=4.4.4.0/30gateway =13.13.13.3
Dstaddress=5.5.5.0/30gateway =13.13.13.3
Dstaddress=172.16.16.28/30gateway =13.13.13.3
Dstaddress=172.16.16.0/24gateway =13.13.13.3

RouterC

Dstaddress=0.0.0.0/0gateway =13.13.13.1
Dstaddress =4.4.4.0/30gateway =5.5.5.2
Dstaddress =172.16.16.28/30gateway =5.5.5.2

RouterD

Dstaddress =0.0.0.0/0gateway =5.5.5.1


Dstaddress =172.16.16.28/30gateway =4.4.4.2

RouterE

Dstaddress =0.0.0.0/0gateway =4.4.4.1

You might also like