Sponsored Content
Full Discussion: solaris 8 network
Operating Systems Solaris solaris 8 network Post 302215224 by veer on Tuesday 15th of July 2008 11:24:42 PM
Old 07-16-2008
use route add command for the default gateway.
Login as root and fire:
#route add default 192.168.2.167
The ouput will be:
#add net default: gateway 192.168.2.167

Then do netstat -rn as usual and also try to ping thru the gateway out to some host.

Make the changes permanent so that they are available after booting too.
#vi /etc/defaultrouter
AND append IP address: 192.168.2.167
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

About Sun Solaris Network

The infomation: Sun Ultra10 (SPARC),OS Solaris 8 I finished installed Solaris8 on my workstation, i want configure the net. When i run ,'ifconfig -a ' ,i did't find my familiar 'hme0,hme1' network interface,my interface is good and the reticle is connected correctly. Pls help me, tell me how... (2 Replies)
Discussion started by: q30
2 Replies

2. Solaris

network on solaris

Withouth being physically at the server, is there a way to tell if the network cable is unplugged? (6 Replies)
Discussion started by: csaunders
6 Replies

3. Solaris

Solaris Network question

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

4. Solaris

Getting solaris on my network

I have a solaris x86 box that ive been having trouble getting on my network, anyone know a good guide that can take me through it step by step? (1 Reply)
Discussion started by: xtremepancakez
1 Replies

5. Solaris

Network Solaris

Hi gurus, I need book to learn about network in Solaris 9 Thanks (2 Replies)
Discussion started by: mass1123
2 Replies

6. Solaris

Getting Solaris machine into Network

I have installed solaris x86 on a standalone PC. Now I have connected a LAN cable to it. What do I do next for further configuration or to access internet from that solaris machine? (16 Replies)
Discussion started by: panchpan
16 Replies

7. Solaris

Network on solaris

Hi, i have installed solaris on virtual box in my desktop, i wanted to know how to make it network enabled(nated network). Nated network means it will use same IP as of my windows right? so is it possible that using the same IP i can enable the network on this virtual box. Thanks in advance. (3 Replies)
Discussion started by: amult
3 Replies

8. Solaris

Solaris 10.8 installation over network

Hi, I'm very new to Solaris world and istarted my learnign with a Blade T6320 Server. I was trying to install Solaris 10.8 from a DVD image over the network. But from the client(the machine which i want to install Solaris) when i tried boot net , i am getting a message like " cannto find... (5 Replies)
Discussion started by: jerinvjose
5 Replies

9. Solaris

Install Solaris 10 through network

Hi all, I got a Fujitsu P650 server running on Solaris 9 and we are going to re-install Solaris 10 . W have a build server in a different IP segment. So we setup a boot server and /etc/ethers and /etc/bootparams are all updated. When I issue boot net -install, I'm getting the following... (3 Replies)
Discussion started by: mohzub
3 Replies

10. Solaris

Network Interface -- Solaris

Dear All, I have a solaris Server in which I have 4 network interfaces , out of which only one is used . So all the applications are using this interface . The interface speed is 1000Mbps . I find no hardware issue or packets g being dropped. But i find that no of Input and Output... (4 Replies)
Discussion started by: jegaraman
4 Replies
route(8c)																 route(8c)

Name
       route - manually manipulate the routing tables

Syntax
       /etc/route [ -f ] [ -n ] command args ]

Description
       The  program  is  used  to manipulate the network routing tables manually.  However, normally it is not needed, as the system routing table
       management daemon, should tend to this task.

       The program accepts two commands: add, to add a route and delete, to delete a route.

       All commands have the following syntax:

	    /etc/route command [ net | host ] destination gateway [ metric ]

       In this syntax, destination is a host or network for which the route is to, gateway is the gateway to which packets  should  be	addressed,
       and  metric  is	an  optional count indicating the number of hops to the destination.  The metric is required for add commands.	It must be
       zero if the destination is on a directly-attached network, and nonzero if the route utilizes one or more gateways.

       When adding a route with metric 0, the gateway given is the address of this host on the common network, indicating the interface to be used
       for  transmission.   Routes to a particular host are distinguished from routes to a network by interpreting the Internet address associated
       with destination.  The optional keywords net and host force the destination to be interpreted as a network or host, respectively.   If  the
       destination  has  a local address part of INADDR_ANY, then the route is assumed to be to a network. Otherwise, it is presumed to be a route
       to a host.  If the route is to a destination connected via a gateway, the metric should be greater than 0.  All	symbolic  names  specified
       for a destination or gateway are looked up first as a host name using If this lookup fails, is then used to interpret the name as that of a
       network.

       The command uses a raw socket and the SIOCADDRT and SIOCDELRT ioctls to do its work.  As such, only the superuser can  modify  the  routing
       tables.

Options
       -f   Flushes  the routing tables of all gateway entries.  If is used with one of the commands described above, the tables are flushed prior
	    to the command's application.

       -n   Prevents attempts to print host and network names symbolically when reporting actions.

Restrictions
       The change operation is not implemented.  Therefore, you should first add the new route, and then delete the old one.

Diagnostics
       add [host | network] %s: gateway %s flags %x"
       The specified route is being added to the tables.  The values printed are from the routing table entry supplied in the ioctl call.  If  the
       gateway	address  used  was not the primary address of the gateway (the first one returned by the gateway address is printed numerically as
       well as symbolically.

       delete [ host | network] %s: gateway %s flags %x
       The specified route is being deleted from the tables.  The values printed are from the routing table entry supplied in the ioctl call.	If
       the  gateway  address used was not the primary address of the gateway (the first one returned by the gateway address is printed numerically
       as well as symbolically.

       %s %s done
       When the flag is specified, each routing table entry that is deleted is indicated with a message of this form.

       Network is unreachable
       An attempt to add a route failed because the gateway listed was not on a directly-connected network.  The next-hop gateway must be given.

       not in table
       A delete operation was attempted for an entry which was not present in the tables.

       routing table overflow
       An add operation was attempted, but the system was low on resources and was unable to allocate memory to create the new entry.

See Also
       intro(4n), routed(8c)

																	 route(8c)
All times are GMT -4. The time now is 07:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy