04-27-2001
This is an easy one. Create a file named /etc/defaultrouter than contains the IP of the gateway. You can also put the hostname of the gateway but it will have to be defined in /etc/hosts
-Chuck
10 More Discussions You Might Find Interesting
1. Solaris
I have a machine that has developed a strange network problem. Anytime it sends an FTP file somewherwe, no problem. When it is the target machine, extremely slow. I checked the /var/adm/messages file and found a few of these:
SUNW,hme0 : No response from Ethernet network : Link down -- cable... (2 Replies)
Discussion started by: hshapiro
2 Replies
2. UNIX for Dummies Questions & Answers
Folks;
I've read a lot of material on using LDAP for authentication in Solaris & non of them was clear or have any examples.
Could any one give me a hand on how to setup/configure LDAP to authenticate users when they try to login to Solaris 10 server i have?
Help will be greatly appreciated (0 Replies)
Discussion started by: Katkota
0 Replies
3. Solaris
As you can see by the following text, we have a multi-homed host defined in our network:
bash-2.05# nslookup ldaptest
Server: usat0x40.atd.gmeds.com
Address: 10.1.14.14
Name: ldaptest.atd.gmeds.com
Addresses: 10.1.16.142, 10.1.16.141
I turned off nscd (didn't think I needed to)... (5 Replies)
Discussion started by: pzxkys
5 Replies
4. Solaris
hi..
I have a question because there are files on Solaris and will not let me change the root user is the owner.
excuse is that I come from a Linux environment and I like to learn Solaris
thank (5 Replies)
Discussion started by: cejodrake
5 Replies
5. What is on Your Mind?
Hi,
Last year, I took Solaris 9 part 1 certification and passed. Due to many things in my life I never took part 2. I am ready to take it now. But I see every one is using Solaris 10 now. In my company, we use 10 on few boxes but mostly we are still on Solaris 9.
so my question is should... (1 Reply)
Discussion started by: samnyc
1 Replies
6. Solaris
Hi,
OS = Solaris 5.10
I need to check the settings of SEMMNI, can't find any /etc/system file and sysdef is not showing me any useful information so I ran prctl -i project default instead.
Can anyone please confirm whether the SEMMNI setting is the value as below?
zone.max-sem-ids
... (2 Replies)
Discussion started by: newbie_01
2 Replies
7. Solaris
I have an old sun v890 server running solaris 9. Apparently we need to be running solaris 10. I don't know much about the server history, there isn't any documentation. I hesitant to rebuild from scratch and loose user configuration settings etc...
How difficult is it to upgrade to solaris... (10 Replies)
Discussion started by: Kjons76
10 Replies
8. UNIX for Dummies Questions & Answers
Hello folks;
I'm trying to install Solaris 10 x86 on SUN X4150 box with 6 disks in it, the question is how can i create a Virtual disk like RAID 0 before i install Solaris.
When i boot up i don't see any option to go and create my raid before the installation begin.
Thanks in advance for any... (2 Replies)
Discussion started by: Katkota
2 Replies
9. Solaris
Hello all.
I am new hear and would like to ask a question regarding to the Solaris Crash Analysis Tool.
We are analyzing the results of "thread summary" but not quite sure what the asterisk represents.
Following are the items that asterisk were attached.
50* threads sleeping on a semaphore (49... (1 Reply)
Discussion started by: YuW
1 Replies
10. Solaris
Currently we are having solaris 11.1 SRU 11.1.21.4.1 installed on server. We need to upgrade it to solaris 11.2 SRU 11.2.9.5.0
Is it possible to upgrade to SRU 11.2.9.50 directly by downloading repo files or do I need to upgrade to 11.2 first and then upgrade to SRU 11.2.9.5.0? (1 Reply)
Discussion started by: sureshsun
1 Replies
routes(4) Kernel Interfaces Manual routes(4)
NAME
routes - Specifies Internet routing information to the routing tables
SYNOPSIS
/etc/routes
DESCRIPTION
Static routes can be defined in the /etc/routes file. The /etc/routes file identifies static routes that are automatically added to the
network routing tables with the /usr/sbin/route add command. The /sbin/init.d/route script contains the /usr/sbin/route add command that
is executed for each entry in the /etc/routes file when the network is restarted on the system or the system is rebooted.
The general format of an entry in the /etc/routes file is: Dest Name1 Name2
The following is a brief description of each element in an /etc/routes file entry: A keyword that indicates whether the route is to a net-
work or to a host. The two possible keywords are -net and -host. The name or address of the destination network or host. Name1 can be
either a symbolic name (as used in the /etc/hosts or /etc/networks file) or an Internet address specified in dotted-decimal format. The
name or address of the gateway host to which messages should be forwarded. Name2 can be either a symbolic name (as used in the /etc/hosts
file) or an Internet address specified in dotted-decimal format.
The routes file is a Context-Dependent Symbolic Link (CDSL) and must be maintained as such. See the System Administration manual for more
information.
EXAMPLES
To specify a route to a network through a gateway host with an entry in the /etc/routes file, enter:
-net net2 host4
This example specifies a route to a network, net2, through the gateway host4. To specify a route to a host through a gateway host
with an entry in the /etc/routes file, enter:
-host host2 host4
This example specifies a route to a host, host2, through the gateway host4. To specify a route to a default gateway host with an
entry in the /etc/routes file, enter:
default 130.9.0.5
This example specifies a route to a default gateway with an Internet address of 130.9.0.5.
FILES
Contains the /usr/sbin/routed add command.
RELATED INFORMATION
Commands: route(8)
Daemons: gated(8), routed(8)
Files: gated.conf(4)
Network Administration delim off
routes(4)