Set the Default Route on Solaris Numatytasis maršrutas Solaris
Setting the default route on Solaris is easy. Parametrai pagal nutylėjimą maršruto Solaris yra paprasta. If you are trying to just set the route temporarily you can use the route command: Jei bandote tiesiog nustatyti maršrutą laikinai galite naudoti komandą Route:
route add default <ipaddress> route add default <ipaddress>
Example: Pavyzdys
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. Jei norite, kad maršrutas tęsiasi, kai jums reikia perkrauti sistemą, jums reikės nustatyti maršrutą į / etc / defaultrouter failas.
/etc/defaultrouter / etc / defaultrouter
Example: Pavyzdys
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. Atkreipkite dėmesį, kad Solaris 10 apima "zonose", kad gali taip pat nustatyti tą pačią problemą. There will be more articles covering this in the future. Bus daugiau straipsniai apie tai ateityje.

Daily Email Updates Dienos paštas Atnaujinimai
You can get our how-to articles in your inbox each day for free. Galite gauti mūsų kaip prie straipsnių į Jūsų pašto dėžutę kasdien nemokamai. Just enter your name and email below: Tiesiog įveskite vardą ir elektroninio pašto adresą žemiau:



great article. puikus straipsnis. solved one of my problems in my first days on solaris išspręsti vieną iš mano problemų, mano pirmos dienos Solaris
thank you GEEK ačiū GEEK 