Sponsored Content
Special Forums IP Networking IP Addressing with Digital Unix Post 8277 by Optimus_P on Tuesday 9th of October 2001 10:28:05 AM
Old 10-09-2001
both.

man ifconfig
man route

ifconfig sets the ip to a given interface and route adds a route for that ip
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Digital Unix OSFI problem

Hi guyes ,,,, One particular server (Operating system is Digital Unix OSFI) only responds to http requestes by Internet Explorer, and display empty page when the same page is hit through Netscape Navigator :) any help ? good luck (2 Replies)
Discussion started by: t_zone
2 Replies

2. Programming

Addressing UDP datagrams in UNIX

I am having troble to send a UNIX datagram to a NT machine. I didn`t realize yet how to define the destination address on the sendto() function call.Simply writing "xxx.zz.yy.pp" for the IP and xxxx for the socket doesn´t work!!! Can anyone help me with that? Thanks (4 Replies)
Discussion started by: psilva
4 Replies

3. UNIX for Advanced & Expert Users

Commands on Digital Unix equivalent to for "top" and "sar" on other Unix flavour

Hi, We have a DEC Alpha 4100 Server with OSF1 Digital Unix 4.0. Can any one tell me, if there are any commands on this Unix which are equivalent to "top" and "sar" on HP-UX or Sun Solaris ? I am particularly interested in knowing the CPU Load, what process is running on which CPU, etc. ... (1 Reply)
Discussion started by: sameerdes
1 Replies

4. UNIX for Dummies Questions & Answers

RAM size in Digital unix

Hi All Im currntly working on a digital unix machine and must know what is the amount of MB\GB instaled ( i do not have physical access to the machine). can anyone help me here? 10x!!!!!!!!!!!!!!! (1 Reply)
Discussion started by: dindan100
1 Replies

5. UNIX for Dummies Questions & Answers

What is meant by Kernel Parameter "dflssiz" in Digital Unix (OSF)

Hi, We have a Digital Unix Server with OSF. There's a Kernel Parameter "dflssiz" on this server. I just want to know, what it means. Thanks (2 Replies)
Discussion started by: sameerdes
2 Replies

6. UNIX for Dummies Questions & Answers

Proxy server on Digital UNIX V4.0E ?

Hello everyone, im searching an proxy server for Digital UNIX V4.0E... someone got an idea ? (pre-compiled package would be the best :p) (0 Replies)
Discussion started by: alvoryx
0 Replies

7. HP-UX

digital unix vdump restore in hp ux11i

Could you pls give a solution how to resotore the backup taken from digital unix using vdump to hp ux11i. (1 Reply)
Discussion started by: jestinabel
1 Replies

8. UNIX for Dummies Questions & Answers

Modem setup under Digital Unix

Hi All, I am trying to set up a modem (using SLIP) on a Digital (well it used to be) AlphaStation running Digital Unix V7E. I assume that I have to put an entry into /remote but can anyone suggest the contents and formatting. Apologies for being so naive but I'm an ex VMS person. Thanks and... (1 Reply)
Discussion started by: Roslynlea
1 Replies

9. UNIX for Dummies Questions & Answers

run digital unix 4.0 in vmware?

Hi, I need to know if it is possible to install a Digital Unix 4.0 in a vmware. Is this possible at all? thank you trstn (1 Reply)
Discussion started by: trstn
1 Replies

10. UNIX for Advanced & Expert Users

dd using Digital Unix Tru64

Hi I am posting this in this area because I couldn't find a better place. I am trying to make exact copies of my disk that I use in an old DEC3000. I loaded the one disk then used dd dd if=/dev/rrz0c of=/dev/rrz1c I started this a 6pm last night here in Wales. It is now 2pm the next day,... (4 Replies)
Discussion started by: mndavies
4 Replies
IFCONFIG.IF(5)						      BSD File Formats Manual						    IFCONFIG.IF(5)

NAME
ifconfig.if -- interface-specific configuration files or variables DESCRIPTION
The ifconfig.if files or variables contain information regarding the configuration of each network interface. ifconfig.if is processed by /etc/rc.d/network at system boot time. For each interface (nnX) that is to be configured, there should be either an ifconfig_nnX variable in rc.conf(5), or an /etc/ifconfig.nnX file (such as the ifconfig_fxp0 variable or the /etc/ifconfig.fxp0 file for the fxp0 interface). Only characters allowed in sh(1) variables names should be used for nnX (ascii(7) uppercase and lowercase letters, digits, and underscore). The variable or file will get evaluated only if the interface exists on the system. Multiple lines can be placed in a variable or file, and will be evaluated sequentially. In the case of a variable, semicolons may be used instead of newlines, as described in rc.conf(5). <backslash><newline> sequences in files are ignored, so long logical lines may be made up of several shorter physical lines. Normally, a line will be evaluated as command line arguments to ifconfig(8). ``ifconfig nnX'' will be prepended on evaluation. Arguments with embedded shell metacharacters should be quoted in sh(1) style. If the line is equal to ``dhcp'', dhcpcd(8) will be started for the interface. However, it is instead recommended that dhcpcd is set to true in rc.conf(5) and any per interface configuration or restriction is done in dhcpcd.conf(5). If a line is empty, or starts with '#', the line will be ignored as comment. If a line starts with '!', the rest of line will get evaluated as shell script fragment. Shell variables declared in /etc/rc.d/network are accessible but may not be modified. The most useful variable is $int, as it will be bound to the interface being configured with the file. For example, the following illustrates static interface configuration: # IPv4, with an alias inet 10.0.1.12 netmask 255.255.255.0 media 100baseTX inet 10.0.1.13 netmask 255.255.255.255 alias # let us have IPv6 address on this interface inet6 2001:db8::1 prefixlen 64 alias # have subnet router anycast address too inet6 2001:db8:: prefixlen 64 alias anycast The following illustrates dynamic configuration setup with dhclient(8) and rtsol(8): up # autoconfigure IPv4 address !dhclient $int # autoconfigure IPv6 address. Be sure to set $ip6mode to autohost. !rtsol $int The following example sets a network name for a wireless interface (using quotes to protect special characters in the name), and starts dhcpcd(8): ssid 'my network' dhcp The following example is for dynamically-created pseudo interfaces like gif(4). Earlier versions of /etc/rc.d/network required an explicit 'create' command for such interfaces, but creation is now handled automatically. up # configure IPv6 default route toward the interface !route add -inet6 default ::1 !route change -inet6 default -ifp $int FILES
/etc/rc.d/network SEE ALSO
rc.conf(5), ifconfig(8) BSD
April 7, 2011 BSD
All times are GMT -4. The time now is 09:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy