RIP ו classless

MaD-d0g

New member
RIP ו classless

היי מישהו יודע מה עושה הפקודה Ip classless ? אני נתקל בה במהלך הלימוד ל CCNA, אך לא הצלחתי להבין במה בדיוק מדובר. האם מישהו יכול להסביר לו או להפנות אותי למקור מידע ? תודה
 

MaD-d0g

New member
לאא... לא בדיוק

תודה על הנסיון. אבל זה לא מסביר לי מה עומד מאחורי זה. בתכנית הלימודים של סיסקו כתוב הטקסט הבא:
This page will explain what the ip classless command is and how it is used. Sometimes a router receives packets destined for an unknown subnet of a network that has directly connected subnets. Use the ip classless global configuration command to instruct the Cisco IOS software to forward these packets to the best supernet route. A supernet route is a route that covers a greater range of subnets with a single entry. For example, if an enterprise uses the entire subnet 10.10.0.0 /16, then a supernet route for 10.10.10.0 /24 would be 10.10.0.0 /16. The ip classless command is enabled by default in Cisco IOS Software Release 11.3 and later. To disable this feature, use the no form of this command. When this feature is disabled any packets received that are destined for a subnet that falls within the subnetwork addressing scheme of the router will be discarded. IP classless only affects the operation of the forwarding processes in IOS. IP classless does not affect the way the routing table is built. This is the essence of classful routing. If one part of a major network is known, but the subnet toward which the packet is destined within that major network is unknown, the packet is dropped. The most confusing aspect of this rule is that the router only uses the default route if the major network destination does not exist in the routing table. A router by default assumes that all subnets of a directly connected network should be present in the routing table. If a packet is received with an unknown destination address within an unknown subnet of a directly attached network, the router assumes that the subnet does not exist. So the router will drop the packet even if there is a default route. To resolve this problem, configure ip classless on the router. This allows the router to ignore the classful boundaries of the networks in its routing table and simply route to the default route. -​
לצערי לא הצלחתי לקמפל את מה שכתוב כאן לגמרי
 

בעז 21

New member
אני אנסה להסביר.

קודם כל אני לא מומחה לזה, יש פה המון אנשים בהרבה יותר חזקים בתחום שאני בטוח שיתנו הסברים יותר טובים, אבל אני אנסה להסביר לך.. הרבה אנשים יגידו שIP CLASSLESS פשוט מאפשר לך להשתמש בכתובות מחוץ לגבולות הclassfull (שזה אומר class A,class B, class C - שזה אומר בעצם לאפשר subnetting ) זה טעות דבר ראשון. אותם אנשים הגיעו לטעות הזאת מהסיבה שכבר כמה שנים טובות כל נתב שיוצא מפס היצור של סיסקו מכיל defualt את הפקודה : ip classless . אתה יכול לראות שגם ברגע שאתה רושם no ip classless , אתה עדין יכול להשתמש בכתובות שהם מחוץ לגבולות הclassfull לדוגמא : 10.0.0.0/24 . לאחר שהבנו את הטעות הנפוצה נחזור להסבר. נגיד ויש לך את המצב המופיע בתמונה. יש לך נתב ראשי המחזיק רשת מסוימת בsubnet : *.*.*.10 (subnet לא ידוע..) ונתב שנמצא באתר מרוחק. הנתב המרוחק לא מריץ שום פרוטוקול ניתוב והוא מחזיק את ההגדרות הבאות:
interface Serial 0 ip address 10.1.2.2 255.255.255.0 ! interface Ethernet 0 ip address 10.1.1.1 255.255.255.0 ! ip route 0.0.0.0 0.0.0.0 10.1.2.1 ! no ip classless​
באמצעות ההגדרות האלה הנתב המרוחק יכול לגשת לאינטרנט, או לכל אתר הנמצא מאחורי הרשת של הנתב המרכזי של החברה אבל הוא לא יכול לגשת לשום אתר הנמצא בתוך הענן של *.*.*.10 הסיבה היא שהנתב יודע שני חלקים מעולם *.*.*.10 (*.10.1.1 ו *.10.1.2) והוא מניח שאין חלקים נוספים לעולם ה- *.*.*.10 ולכן הוא מפיל אותם. על מנת לתקן בעיה זאת יש לשנות את ההגדרה ל - ip classless . ועכשיו תקרא את ההסבר שפולי שלח לך, ואת ההסבר מהסילבוס שלך.. מקווה שהבנת. והכי חשוב מדובר פה על packeting switching וזה בכלל לא קשור לפרוטוקולי ניתוב.
 

shaichor

New member
CLASS

הוא למעשה השיטה בה הוקצו כתובות ה - IP בעבר, או נקרא לה השיטה המסורתית - פה אתה מכיר את A B C D E , כל אחת והמאפפינים שלה. המגבלה העיקרית היא שמלעשה היא הכתיבה מספר מוגבל של רשתות בכלל ותחנות בכל רשת בפרט -מה שיצר בעיה עם התפתחות האינטרנט ועולם ה- IP בכלל. כל מנת להתגבר על בעיות אלו - התחילו להקצות IP בשיטות שונות ומשונות כגון VLSM ו- CIDR שלמעשה כבר אינן משתמשות בשיטה המסורתית כלל - אלא בוחרות מספר ביטים מתוך הכתובת לייצוג תחנה ומספר ביטים לייצוג רשתות בצורה משתנה ולא מחולקת ל- CLASS כבעבר. ל- RIP יש 2 דורות - דור אחד אשר מכיר את עולם ה- CLASS המסורתי (שהולך ונעלם ברשתות הגדולות) ודור שני שמכיר בשיטות החדשות VLSM ו- CIDR הלא מחלקות ל- CLASS ועל כן הפקודה - IP CLASSLESS.
 
למעלה