Not often needed, sometimes in cases of dedicated point-to-point links.
Using "ip"
Usage:
# /sbin/ip -6 route add /
dev ¬ metric 1
Example:
# /sbin/ip -6 route add 2000::/3 dev eth0 metric 1
Metric “1” is used here to be compatible with the metric used by route, because the default metric on using “ip” is “1024”.
Using...
CS121 SNMP/Web Adapter host template
Personal experience: Remember to increase the timout of the SNMP per CS121 in Device properties. Those adapters are responding with a big delay hitting 2000ms. If you won't Cacti will drop all responds and some graphs might not repond as should be. cacti_host_template_ups_-_cs121.xml Description: CS121 SNMP/Web...
I have revised the Advanced Ping Template to version 1.3. In this new version, I have added the following:
1) Ability to ping using either ICMP, TCP, or UDP protocols 2) Ability to choose the port number to ping (TCP, UDP) 3) Improved timeout logic so that you don't get gaps in your graph when a host in not available. 4) Improved Ping.php by using socket_select call whose timeout syntax is consistent between various PHP OS platforms 5) Cleaned up the Template that was causing...
File: /etc/resolv.conf - host name resolver configuration file
search name-of-domain.com - Name of your domain or ISP's domain if using their name servernameserver XXX.XXX.XXX.XXX - IP address of primary name servernameserver XXX.XXX.XXX.XXX - IP address of secondary name server This configures Linux so that it knows...
File Description /etc/resolve.conf List DNS servers for internet domain name resolution /etc/hosts Lists hosts to be resolved locally (not by DNS) /etc/nsswitch.conf List order of host name search. Typically look at local files, then NIS server, then DNS server....
To set up the host name of the SUSE Linux 10 machine and the addresses of your Domain Name System servers, select the Host name and name server button. A screen like that shown in Figure 1-24 appears.
The host name of your SUSE Linux 10 machine can be anything you like, such as a person's name, a descriptive name, or something random. The only thing that you have to bear in mind is that the host name and domain name can contain only letters and numbers as well a hyphen or an underscore...
1、Logged in as root, check which timezone your machine is currently using by executing `date`. You'll see something like Mon 17 Jan 2005 12:15:08 PM PST, PST in this case is the current timezone.2、Change to the directory /usr/share/zoneinfo here you will find a list of time zone regions. Choose the most appropriate region, if you live in Canada or the US this directory is the "America" directory.3、If you wish, backup the previous timezone configuration by copying it to a different...
What is the Domain Name System(DNS? The DNS is the glue that keeps the Internet together. DNS translates domain name(example.com) to an IP address and vice versa. It's much easier for us to remember names than numbers.
DNS is defined in Request for Comments (RFCs) 1034 and 1035.
Basically, any major Linux distro can be used as a DNS, Web, E-mail, and FTP server, and Suse is not an exception. All in one box and one static IP address. That's all you need! Of course, I am talking about an...
You have to restart the NTP process every time you make a change to the configuration file for the changes to take effect on the running process.
To get NTP configured to start at boot, use the line:
[root@bigboy tmp]# chkconfig ntpd on
To start, stop and restart NTP after booting, follow these examples:
[root@bigboy tmp]# service ntpd start[root@bigboy tmp]# service ntpd stop[root@bigboy tmp]# service ntpd restart
Testing And Troubleshooting NTP
After configuring and starting NTP...
on server
# yum install ntp
# chkconfig ntpd on
# vi /etc/ntp.conf
add a line
restrict default ignore
restrict 20.51.1.5 mask 255.255.255.248
server 202.54.1.5
(Replace 202.54.1.5 and mask with actual remote ISP or ntp.org NTP server IP. Save and close the file.)
then client configuration
#vi /etc/ntp.conf
add a line like
server
restrict mask
#iptables -F
#ntpdate -b
now all is done
|