Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Set the Default Route on Solaris Set Default par Solaris Route

Setting the default route on Solaris is easy. Setting default maršrutā Solaris ir vienkārši. If you are trying to just set the route temporarily you can use the route command: Ja jūs mēģināt tikai noteikts maršruts pagaidām varat izmantot maršrutu komandu:

route add default <ipaddress> maršruts pievienot default <ipaddress>

Example: Piemērs:

route add default 192.168.1.1 maršruts pievienot default 192.168.1.1

If you want the route to be persisted when you reboot the system, you will need to set the route in the /etc/defaultrouter file. Ja jūs vēlaties ceļš, kas pastāvēja, kad pārstartēt sistēmu, Jums būs nepieciešams noteikt maršrutu / etc / defaultrouter failu.

/etc/defaultrouter / etc / defaultrouter

Example: Piemērs:

echo 192.168.1.1 > /etc/defaultrouter echo 192.168.1.1> / etc / defaultrouter

Note that Solaris 10 includes “zones” that can also configure this same behavior. Ņemiet vērā, ka Solaris 10 attiecas uz "zonu", kas arī var konfigurēt šo pašu uzvedību. There will be more articles covering this in the future. Būs vairāk rakstu par to nākotnē.

This article was originally written on 12/1/06 Tagged with: Šis pants tika sākotnēji rakstīts uz 12/1/06 tagged with: Solaris Solaris

Daily Email Updates Daily Email Updates

You can get our how-to articles in your inbox each day for free. Jūs varat saņemt mūsu how-to rakstus savā pastkastītē katru dienu par brīvu. Just enter your name and email below: Vienkārši ievadiet jūsu vārdu un e-pasta zemāk:


Name: Vārds:
Email: E-pasts:

Comments (1) Komentāri (1)

  1. Jadi Jadi

    great article. liels raksts. solved one of my problems in my first days on solaris atrisināt viena no manām problēmām manas pirmās dienas Solaris :) thank you GEEK paldies Geek :)


Our Friends Our Friends
Getting Started Getting Started


About How-To Geek Par How-To Geek
What Is That Process? Kas ir šis process?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. All Rights Reserved.