R1
config terminal
router eigrp 1
network 172.16.13.0
network 172.16.164.0
network 192.168.5.0
end
R2
config terminal
router eigrp 1
network 172.16.13.0
network 172.16.10.0
network 192.168.6.0
end
Testing
show ip eigrp neighbour
show ip route
config terminal
router eigrp 1
network 172.16.13.0
network 172.16.164.0
network 192.168.5.0
end
config terminal
router eigrp 1
network 172.16.13.0
network 172.16.10.0
network 192.168.6.0
end
show ip eigrp neighbour
show ip route
config terminal
router rip
version 2
network 172.16.1.0
network 172.16.2.0
end
config terminal
router rip
version 2
network 172.16.2.0
network 192.168.1.0
end
show ip route
config terminal
interface gig0/0
ip address 172.16.1.1 255.255.255.0
no shutdown
exit
interface se0/0/0
ip address 172.16.2.1 255.255.255.252
clock rate 64000
no shutdown
exit
ip route 192.168.1.0 255.255.255.0 172.16.2.2
config terminal
interface gig0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit
interface se0/0/0
ip address 172.16.2.2 255.255.255.252
no shutdown
exit
ip route 192.168.1.0 255.255.255.0 172.16.2.1
for (nilai_awal;nilai_kawalan;nilai_perubahan)
{
Proses looping
}
for ( i=1; i<=10; i++)
{
cout<< i ;
}
while(nilai_kawalan)
{
proses looping
}
int i=1;
while(i!=0)
{
cin >> i;
}
do
{
proses looping;
}while(nilai_kawalan);
do
{
cin >> i;
}while(i!=0);