We investigate the differences between the effects of geomagnetic storms due to Interplanetary Coronal Mass Ejections (ICME) and due to Stream Interaction Regions or Corotating Interaction Regions (SIR/CIR) on the ionospheric F2-layer during the maximum of solar cycle 24. We have created a unique list of the ICME- and SIR/CIR-driven geomagnetic storm events for the time interval between November 2012 and October 2014. Finally, 42 clear ICME and 34 clear SIR/CIR events were selected for this analysis. The individual geomagnetic storm periods were grouped by seasons, time of day, and local time of Dstmin and were analyzed using three different methods: linear correlation analysis using 4-hour averages of foF2 parameters and the geomagnetic indices (1st), daily variation of deltafoF2 (2nd), and 3D plotting: geomagnetic indices vs. time vs. deltafoF2 (3rd). The main phase day of the ICME- and SIR/CIR-induced geomagnetic storms was our main focus. We used manually evaluated ionospheric foF2 parameters measured at the Sopron ionosonde station and the geomagnetic indices (Kp, Dst, and AE) for this analysis. We have found that in most cases, the variation of the Dst index is the best indicator of the impact caused in the F2 layer. We conclude as well that the representation of the data by the third method gives a better description of the ICME and SIR/CIR-triggered storm behavior. In addition, our investigation shows that the SIR/CIR-related perturbations can be predicted with greater accuracy with the second method.