Network configuration sytax


 
Thread Tools Search this Thread
Operating Systems HP-UX Network configuration sytax
# 1  
Old 10-19-2006
Network configuration sytax

I'm adding additional route on hpux 11.22 and syntax seems to be wrong to me. However the application works and everything else.
Old systax in netconf file.
LANCONFIG_ARGS[0]=ether
ROUTE_GATEWAY[0]=xxx.xx.xx.xx
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]=default
Note: There are no double Quotations? is this normal to have it?
How would I add right syntax for additional route? without or with quotations. Thanks!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

network configuration on openbsd

Hi all, I got following configuration problem I need to configure tiny network on openbsd I got server1 with 3 interfaces vic0 em0 em1 The interface vic0 on server1 has follwoing IP 172.16.1.1 em0 firstly I would like to configure network under em0 (I have assigned to em0 following... (1 Reply)
Discussion started by: kvok
1 Replies

2. Solaris

Problem in network configuration

Hi everybody, I have a very strange problem ; if somebody could help me it would be very kind. I'll try to explain my problem. I have 2 unix machines absolutely identical running solaris 9. For network reasons I need to change the IP address of the 2 machines. I proceed exactly the same on the... (11 Replies)
Discussion started by: aribault
11 Replies

3. Solaris

Network configuration

Hi I have installed Solaris 5.10 on Intel x86 machine (standalone). I want to access internet through solaris. How should I configure the network? Is static IP or DHCP advisable? (5 Replies)
Discussion started by: johnl
5 Replies

4. UNIX for Dummies Questions & Answers

network configuration

I am using solaris 10, my internet works alright but each time i reboot i keep loosing my connection. I will have to use the ifconfig iprb0 192.168.1.xx netmask 255.255.255.0 up and Route add default 192.168.1.xxx command to gain back my internet. I know there is a better way of addressing... (1 Reply)
Discussion started by: seyiisq
1 Replies

5. SCO

Network Configuration

I have a SCO 5.07 Server and I am trying to get it on my network. I have edited the /etc/hosts file and /etc/rc2.d/s99route . I has connectivity on the NIC card but not sure if I am forgetting another file. Thanks! (2 Replies)
Discussion started by: andrewd
2 Replies

6. UNIX for Dummies Questions & Answers

Network Configuration Commands.....

I need to know what commands I will need to use to change a host name, IP Address, and network configurations (routerings, dns, etc) and a Unix SCO machine. Also, if there is any short tutorials on using the commands, i would defiently like that information. Thanks!!! (1 Reply)
Discussion started by: HandleX
1 Replies

7. Solaris

network configuration

hi again... i configured my network settings sometiime ago using the sys-unconfig command.the active link was rtls0. there was some problem with the network so i changed the ISP. now when im trying to reconfigure the system wit sys-unconfig, it tries to configure the network on rtls1 (and shows... (1 Reply)
Discussion started by: strider
1 Replies

8. HP-UX

HP-UX Network Configuration

Hi, I have installed a HP-UX B.11.00 U 9000/800 Server in one of the domain. And I'm also able to telnet/ping into this server from systems in the same domain. But I'm not able to telnet/ping into this server from a different domain. So, what shoud need to do to achieve this... (6 Replies)
Discussion started by: S.Vishwanath
6 Replies

9. IP Networking

Network Configuration for SunSparsh 5.8

Hi, I need to configure the Network for a Sun Solaris systems. The OS info is SunOS Sparsh 5.8 Generic_108528-13 Sun4u Sparc SUNW,Ultra-250. Please do let me know, how shall I shart with & more in configuring the Network. Below is the list of Network Configuration I need to Make ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies

10. UNIX for Dummies Questions & Answers

Network configuration in Solaris 8

Hi. I have installed Solaris 8 and I am trying to configure the network settings. For some reason every time I reboot, my card loses its configuration. I can run ifconfig and the only IP address bound to my card (on either interface) is 127.0.0.1. I can change that to a valid IP address on my... (8 Replies)
Discussion started by: Ask Me
8 Replies
Login or Register to Ask a Question
ROUTE(8)						      System Manager's Manual							  ROUTE(8)

NAME
route - manually manipulate the routing tables SYNOPSIS
/sbin/route [ -f ] [ -n ] [ command args ] DESCRIPTION
Route is a program used to manually manipulate the network routing tables. It normally is not needed, as the system routing table manage- ment daemon, routed(8), should tend to this task. Route accepts two commands: add, to add a route, and delete, to delete a route. All commands have the following syntax: /sbin/route command [ net | host ] destination gateway [ metric ] where destination is the destination host or network, gateway is the next-hop gateway to which packets should be addressed, and metric is a 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. If 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 dis- tinguished from those 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 a host, respectively. Otherwise, if the destination has a ``local address part'' of INADDR_ANY, or if the destination is the symbolic name of a network, then the route is assumed to be to a network; otherwise, it is pre- sumed 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 sym- bolic names specified for a destination or gateway are looked up first as a host name using gethostbyname(3N). If this lookup fails, get- netbyname(3N) is then used to interpret the name as that of a network. Route uses a raw socket and the SIOCADDRT and SIOCDELRT ioctl's to do its work. As such, only the super-user may modify the routing tables. If the -f option is specified, route will ``flush'' the routing tables of all gateway entries. If this is used in conjunction with one of the commands described above, the tables are flushed prior to the command's application. The -n option prevents attempts to print host and network names symbolically when reporting actions. 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 gethostbyname), the gateway address is printed numerically as well as symbolically. ``delete [ host | network ] %s: gateway %s flags %x'' As above, but when deleting an entry. ``%s %s done'' When the -f flag is specified, each routing table entry 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 wasn't 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(8), XNSrouted(8) 4.2 Berkeley Distribution November 16, 1996 ROUTE(8)