static route הגדרה ב- Windows - טכנולוגיית מידע - IT - HWzone פורומים
עבור לתוכן
  • צור חשבון

static route הגדרה ב- Windows


alexrebiner

Recommended Posts

יש לי תחנה  XP שיש לה שני כרטיסי (כל כרטיס עם כתובות שונות).

על מנת לגרום לתחנה זו לצאת לשרת טרמינל עלי להגדיר עליה static route

ע"י הפקודה:

route add 10.0.0.1 mask 255.255.0.0 10.0.0.120 10.0.0.2

הבעיה פה שאחרי אתחול המחשב מאבד את ההגדרה הזאת.

יש למישהו רעיון אך ניתן להכניס את זה בסקריפט או דרך אחרת תתקבל בברכה. 

קישור לתוכן
שתף באתרים אחרים

C:\Users\multicore>route /?

Manipulates network routing tables.

ROUTE [-f] [-p] [-4|-6] command [destination]
                  [MASK netmask]  [gateway] [METRIC metric]  [IF interface]

  -f           Clears the routing tables of all gateway entries.  If this is
               used in conjunction with one of the commands, the tables are
               cleared prior to running the command.

  -p           When used with the ADD command, makes a route persistent across
               boots of the system. By default, routes are not preserved
               when the system is restarted. Ignored for all other commands,
               which always affect the appropriate persistent routes. This
               option is not supported in  95.

צריך להריץ רק פעם אחת. בגלל זה זה persistent.

הניתוב נשמר ב registry.

קישור לתוכן
שתף באתרים אחרים

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

×
  • צור חדש...