0% found this document useful (0 votes)
78 views13 pages

Konfigurasi Routing Statis Dan Dinamis

The document discusses the configuration of static and dynamic routing. It provides the IP addressing schemes for 10 LAN networks and describes the configuration of 4 routers to connect the networks, including assigning IP addresses to interfaces and enabling routing between the networks. Static routes are configured on routers 1 and 4 to route between the connected networks.

Uploaded by

Puspita Triani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views13 pages

Konfigurasi Routing Statis Dan Dinamis

The document discusses the configuration of static and dynamic routing. It provides the IP addressing schemes for 10 LAN networks and describes the configuration of 4 routers to connect the networks, including assigning IP addresses to interfaces and enabling routing between the networks. Static routes are configured on routers 1 and 4 to route between the connected networks.

Uploaded by

Puspita Triani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

KONFIGURASI ROUTING STATIS DAN DINAMIS

Gambar jarinagn sebelum dikonfigurasi

Setelah itu tentukan class ip masing masing 10 LAN :


LAN 1 : 65.0.0.0/8
LAN 2 :75.0.0.0/8
LAN 3 : 85.0.0.0/8
LAN 4: 129.0.0.0/16
LAN 5: 135.0.0.0/16
LAN 6: 145.0.0.0/16
LAN 7:172.0.0.0/16
LAN 8: 191.0.0.0/16
LAN 9 : 192.0.0.0/24
LAN 10 : 198.0.0.0/24

Setelah itu lalu masukan IP ADDRES pada PC1


Dengan
IP ADDRES : 65.0.0.2
SUB NET MASK : 255.0.0.0
Setelah itu lalu masukan IP ADDRES pada PC2
Dengan
IP ADDRES : 198.0.0.2
SUB NET MASK : 255.255.255.0

Lalu masukan IP ADDRES pada PC3


Dengan
IP ADDRES : 85.0.0.2
SUB NET MASK : 255.0.0.0

Lalu masukan IP ADDRES pada PC0


Dengan
IP ADDRES : 172.0.0.2
SUB NET MASK : 255.255.0.0
Setelah semuanya komputer di kasih IP ADDRES kemudian sambungkan tiap PC dan Routernya
masing masing .

KONFIGURASI MENYAMBUNGKAN ROUTER 1


Router>ena
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 198.0.0.1 255.255.255.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up


Router(config-if)#exit
Router(config)#int se3/0
Router(config-if)#ip add 145.0.0.1 255.255.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial3/0, changed state to down


Router(config-if)#exit
Router(config)#int se6/0
Router(config-if)#ip add 135.0.0.1 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial6/0, changed state to down


Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 192.0.0.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#

KONFIGURASI MENYAMBUNGKAN ROUTER 2

Router>ena
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 65.0.0.1 255.0.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up


exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se3/0
Router(config-if)#ip add 75.0.0.1 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial3/0, changed state to down


Router(config-if)#exit
Router(config)#int se7/0
Router(config-if)#ip add 145.0.0.1 255.255.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial7/0, changed state to down


Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 192.0.0.1 255.255.255.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

KONFIGURASI MENYAMBUNGKAN ROUTER 3

Router>ena
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 85.0.0.0
% Incomplete command.
Router(config-if)#ip add 85.0.0.1 255.0.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)#int se3/0
Router(config-if)#ip add 75.0.0.1 255.0.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial3/0, changed state to up

Router(config-if)#exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up

Router(config)#int se6/0
Router(config-if)#ip add 135.0.0.1 255.255.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial6/0, changed state to up

Router(config-if)#exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial6/0, changed state to up

Router(config)#int se2/0
Router(config-if)#ip add 129.0.0.1 255.255.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Router(config)#
Router#
%SYS-5-CONFIG_I: Configured from console by console

KONFIGURASI MENYAMBUNGAKN ROUTER 4

Router>ena
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se2/0
Router(config-if)#ip add 129.0.0.1 255.255.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

Router(config-if)#exit
Router(config)#in
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
t
% Incomplete command.
Router(config)#int se7/0
Router(config-if)#ip add 145.0.0.1 255.255.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial7/0, changed state to up

Router(config-if)#ex
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial7/0, changed state to up

Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se3/0
Router(config-if)#ip add 145.0.0.1 255.255.0.0
% 145.0.0.0 overlaps with Serial7/0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
% 145.0.0.0 overlaps with Serial7/0
Serial3/0: incorrect IP address assignment
Router(config-if)#exit
Router(config)#int se3/0
Router(config-if)#ip add 145.0.0.1 255.255.0.0
% 145.0.0.0 overlaps with Serial7/0
Router(config-if)#int se3/0
Router(config-if)#ip add 191.0.0.1 255.255.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial3/0, changed state to up

Router(config-if)#exit
Router(config)#int f
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up

% Incomplete command.
Router(config)#int fa0/0
Router(config-if)#ip add 172.0.0.1 255.255.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)#

KONFIGURASI ROUTER 1(AGAR STATIS)

Router>ena
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.0.0.0 255.255.255.0 se2/0
Router(config)#ip route 135.0.0.0 255.255.0.0 se6/0
Router(config)#ip route 191.0.0.0 255.255.0.0 se3/0
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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

C 135.0.0.0/8 is directly connected, Serial6/0


S 135.0.0.0/16 is directly connected, Serial6/0
C 145.0.0.0/16 is directly connected, Serial3/0
S 191.0.0.0/16 is directly connected, Serial3/0
C 192.0.0.0/24 is directly connected, Serial2/0
C 198.0.0.0/24 is directly connected, FastEthernet0/0

Router>
Router>ena
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 172.0.0.0 255.255.0.0 se3/0
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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

C 135.0.0.0/8 is directly connected, Serial6/0


S 135.0.0.0/16 is directly connected, Serial6/0
C 145.0.0.0/16 is directly connected, Serial3/0
S 172.0.0.0/16 is directly connected, Serial3/0
S 191.0.0.0/16 is directly connected, Serial3/0
C 192.0.0.0/24 is directly connected, Serial2/0
C 198.0.0.0/24 is directly connected, FastEthernet0/0
KONFIGURASI ROUTER 4(AGAR STATIS)
Router>ena
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 85.0.0.0 255.0.0.0 se2/0
Router(config)#exit

%SYS-5-CONFIG_I: Configured from console by console


Router#
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 65.0.0.0 255.0.0.0 se7/0
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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

S 65.0.0.0/8 is directly connected, Serial7/0


S 85.0.0.0/8 is directly connected, Serial2/0
C 129.0.0.0/16 is directly connected, Serial2/0
C 145.0.0.0/16 is directly connected, Serial7/0
C 172.0.0.0/16 is directly connected, FastEthernet0/0
C 191.0.0.0/16 is directly connected, Serial3/0
S 198.0.0.0/24 is directly connected, Serial3/0

KONFIGURASI ROUTER 2(DINAMIS)

Router>ena
Router#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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

C 65.0.0.0/8 is directly connected, FastEthernet0/0


C 75.0.0.0/8 is directly connected, Serial3/0
C 145.0.0.0/16 is directly connected, Serial7/0
C 192.0.0.0/24 is directly connected, Serial2/0
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#exit
Router(config)#router rip
Router(config-router)#network 65.0.0.0
Router(config-router)#network 75.0.0.0
Router(config-router)#network 145.0.0.0
Router(config-router)#network 192.0.0.0
Router(config-router)#exit
Router(config)#exit

%SYS-5-CONFIG_I: Configured from console by console


Router#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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

C 65.0.0.0/8 is directly connected, FastEthernet0/0


C 75.0.0.0/8 is directly connected, Serial3/0
C 145.0.0.0/16 is directly connected, Serial7/0
C 192.0.0.0/24 is directly connected, Serial2/0
Router#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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

C 65.0.0.0/8 is directly connected, FastEthernet0/0


C 75.0.0.0/8 is directly connected, Serial3/0
R 85.0.0.0/8 [120/1] via 75.0.0.2, 00:00:00, Serial3/0
R 129.0.0.0/16 [120/1] via 75.0.0.2, 00:00:00, Serial3/0
R 135.0.0.0/16 [120/1] via 75.0.0.2, 00:00:00, Serial3/0
C 145.0.0.0/16 is directly connected, Serial7/0
C 192.0.0.0/24 is directly connected, Serial2/0

MENYAMBUNGKAN IP ROUTE PC 1 KE PC 0
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 172.0.0.0 255.255.0.0 se7/0
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 198.0.0.0 255.255.255.0
% Incomplete command.
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

MENYAMBUNGKAN IP ROUTE PC 1 KE PC 2
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 198.0.0.0 255.255.255.0 se2/0
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

KONFIGURASI ROUTER 3(DINAMIS)


Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface Serial3/0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface Serial2/0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface Serial3/0
Router(config-if)#ip address 75.0.0.2 255.0.0.0
Router(config-if)#

Router con0 is now available

Press RETURN to get started.

Router>ena
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#network 85.0.0.0
Router(config-router)#network 135.0.0.0
Router(config-router)#exit
Router(config)#router rip
Router(config-router)#network 85.0.0.0
Router(config-router)#network 75.0.0.0
Router(config-router)#network 135.0.0.0
Router(config-router)#network 129.0.0.0
Router(config-router)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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

R 65.0.0.0/8 [120/1] via 75.0.0.1, 00:00:10, Serial3/0


C 75.0.0.0/8 is directly connected, Serial3/0
C 85.0.0.0/8 is directly connected, FastEthernet0/0
C 129.0.0.0/16 is directly connected, Serial2/0
C 135.0.0.0/16 is directly connected, Serial6/0
R 145.0.0.0/16 [120/1] via 75.0.0.1, 00:00:10, Serial3/0
R 192.0.0.0/24 [120/1] via 75.0.0.1, 00:00:10, Serial3/0
Router#
Router con0 is now available

Press RETURN to get started.

Router>ena
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 172.0.0.0 255.255.0.0 se2/0
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Setelah semuah router di KONFIGURASI hasilny seperti di bawah ini

You might also like