Sponsored Content
Full Discussion: adding routes in Solaris
Operating Systems Solaris adding routes in Solaris Post 302097933 by Brad_52000 on Wednesday 29th of November 2006 12:58:56 PM
Old 11-29-2006
Thanks for the reply, if this files not exist, do I create a file name routes, and if this is the case will the entries follow this format

10.0.83.5 10.0.97.249

10.0.83.5 is the destination and .249 is the gateway, just asking the proper file layout.

Thanks again.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Adding an interface to solaris?

I have a quad ethernet card in my sun box, and only 3 of them are visable when I "ifconfig -a". How do I activate the the 4th one? I think it is solaris 5.6. Thanks. Marc (1 Reply)
Discussion started by: mmaniscalco
1 Replies

2. UNIX for Advanced & Expert Users

Adding Fonts to Solaris 2.8

Does anyone know the location where to place a series of new fonts, so its asseble by general applications (equiv. to C:\WINNT\Fonts) in WIN2000. Thanks (2 Replies)
Discussion started by: Breen
2 Replies

3. UNIX for Dummies Questions & Answers

adding interfaces in solaris 9

Hi, Have a solaris 9 e420, one onboard nic. Now I added a quad nic card. I have never had more than a single interface. Any help on setting this new card up? or links? PLease? ; thanks! (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

4. UNIX for Dummies Questions & Answers

Adding an additional harddrive in solaris 9

Hello, I have a system which a new harddrive was installed for additional space. I now need to mount the drive and transfer data from /home to the new drive with a mount point named /home. How do I go about doing this? Thanks in advance. (5 Replies)
Discussion started by: GLJ@USC
5 Replies

5. Solaris

Adding a user twice to Solaris OS

is it possible to add a user twice to solaris server with the same id? i have been added twice in the past week and that is messing up one application that i am using which authenticate against the os. (10 Replies)
Discussion started by: basel
10 Replies

6. Solaris

Problem with routes in Solaris 10

Hello All, I have a Solaris 10 machine with 4 physical network interfaces configured viz. igb0, e1000g0, igb2 and e1000g2. Out of these interfaces, I am routing all my normal monitoring and O&M activities via. igb0 and e1000g0 interfaces. However, I am facing an issue on one of the... (4 Replies)
Discussion started by: mystition
4 Replies

7. Solaris

Adding User in Solaris Error.....

Hi all, when I type this command useradd -d /home/ram89 -m ram89 it gives an error unable to create home directory. Why so ? How to create user in Solaris? The perfect method? Please guide me. Thanks in advance Manali. (5 Replies)
Discussion started by: manalisharmabe
5 Replies

8. Solaris

New to Solaris (Checking/Adding network and harddisk)

Hi all, As per the topic goes, q1) how do i check remotely (over ssh) - how many physical network interfaces I really have ? -- if an interface exists before and it got plug out, it must not be show again. -- i tried dladm show-link and ifconfig -a, but it seems to show a previously... (4 Replies)
Discussion started by: javanoob
4 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)
All times are GMT -4. The time now is 10:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy