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 Thiết lập mặc định lộ trên Solaris

Setting the default route on Solaris is easy. Thiết lập các tuyến đường mặc định trên Solaris là dễ dàng. If you are trying to just set the route temporarily you can use the route command: Nếu bạn đang cố gắng thiết lập các tuyến đường chỉ là tạm thời, bạn có thể sử dụng lệnh tuyến đường:

route add default <ipaddress> tuyến đường thêm mặc định <ipaddress>

Example: Ví dụ:

route add default 192.168.1.1 tuyến đường thêm mặc định 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. Nếu bạn muốn các con đường để được tiếp tục tồn tại khi bạn khởi động lại hệ thống, bạn sẽ cần phải thiết lập các tuyến đường trong etc / file defaultrouter /.

/etc/defaultrouter / etc / defaultrouter

Example: Ví dụ:

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. Lưu ý rằng Solaris 10 bao gồm "khu" mà cũng có thể cấu hình hành vi này như nhau. There will be more articles covering this in the future. Sẽ có bài viết này bao gồm hơn trong tương lai.

This article was originally written on 12/1/06 Tagged with: Bài viết này ban đầu được viết ngày 12/1/06 Tagged với: Solaris Solaris

Daily Email Updates Email cập nhật hàng ngày

You can get our how-to articles in your inbox each day for free. Bạn có thể làm thế nào chúng tôi vào các bài viết trong hộp thư của bạn mỗi ngày miễn phí. Just enter your name and email below: Chỉ cần nhập tên và email của bạn dưới đây:


Name: Tên:
Email: Email:

Comments (1) Comment (1)

  1. Jadi Jadi

    great article. những bài báo. solved one of my problems in my first days on solaris giải quyết một trong những vấn đề của tôi trong ngày đầu tiên của tôi trên solaris :) thank you GEEK cảm ơn bạn geek :)


Our Friends Bạn bè của chúng tôi
Getting Started Bắt đầu


About How-To Geek Giới How-To Geek
What Is That Process? Quá trình đó là gì?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
mDNSResponder.exe mDNSResponder.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. Bản quyền © 2006-2009 HowToGeek.com. All Rights Reserved. Tất cả các quyền.