Set the Default Route on Solaris Set Default Route na Solaris
Setting the default route on Solaris is easy. Nastavitev privzete poti na Solaris je enostavno. If you are trying to just set the route temporarily you can use the route command: Če poskušate samo določiti pot začasno lahko uporabite ukaz pot:
route add default <ipaddress> route add default <ipaddress>
Example: Primer:
route add default 192.168.1.1 route add 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. Če želite, da pot, ki se še vedno obstajali, ko odmevajoč sistem, boste morali nastaviti poti v / etc / defaultrouter datoteke.
/etc/defaultrouter / etc / defaultrouter
Example: Primer:
echo 192.168.1.1 > /etc/defaultrouter 192.168.1.1 echo> / etc / defaultrouter
Note that Solaris 10 includes “zones” that can also configure this same behavior. Upoštevajte, da Solaris 10 vključuje "območja" lahko nastavite tudi tako, da se to isto obnašanje. There will be more articles covering this in the future. Na voljo bo več člankov, ki zajemajo to v prihodnosti.

Daily Email Updates Dnevni Email Updates
You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:



great article. velik člen. solved one of my problems in my first days on solaris rešiti enega od mojih problemov v mojem prvih dneh na Solaris
thank you GEEK hvala Geek 