Sponsored Content
Full Discussion: Sun 5.8 IFCONFIG INFo
Top Forums UNIX for Advanced & Expert Users Sun 5.8 IFCONFIG INFo Post 19584 by chameleon854 on Saturday 13th of April 2002 02:49:22 PM
Old 04-13-2002
Sun 5.8 IFCONFIG INFo

Hello I'm trying to get my sun box to keep its' ifconfig info after reboot. I can get it to keep the IP but it won't take the subnet mask. I'm using a /30 address.
thanks
Conley
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Info Needed in Seting up An apache Web Server on A Sun Sparc with Solaris 8

I need help in the form of the complete procedures necessary in setting up an Apache web server on a Sun Sparc running Solaris 8 David Johnston P.S New to the Unix arena (1 Reply)
Discussion started by: David Johnston
1 Replies

2. UNIX for Dummies Questions & Answers

ifconfig

I am trying to change an IP address on a machine running HPUX10 After I change it I can ping it from the outside but it completely locks the console. After a reboot it returns back to its previous IP. Any ideas?? Thanks Brian (7 Replies)
Discussion started by: breigner
7 Replies

3. OS X (Apple)

ifconfig

Hi, I type (as root) "ifconfig en1 ether aa:aa: " but it doesnt change the mac of my airport. Can anyone help me? Thx. (0 Replies)
Discussion started by: Jariya
0 Replies

4. Shell Programming and Scripting

ifconfig!!!!

why the ifconfig command is not working in my machine? it says "-bash: ifconfig: command not found" why its says that? actually i m looking for "how can I know the Network Interface Card physical address?" Requesting u all for help. thanks (3 Replies)
Discussion started by: moco
3 Replies

5. UNIX for Dummies Questions & Answers

ifconfig and ipconfig

hey, I know that ifconfig on linux systems is identical to win ipconfig. I wanted to know if there is a linux distribution (new or old) that uses the ipconfig command. thanks alot :) (2 Replies)
Discussion started by: tsmotix
2 Replies

6. Solaris

ifconfig -a not working

Hi All, I logged into a sun microsystems server box, using both a vnc session and a ssh session. I am able to use "ifconfig -a" in a ssh session, but the same on a vnc session says that its a invalid command. how is this possible, when i am logging into the same box through two different... (4 Replies)
Discussion started by: pardhuhere
4 Replies

7. IP Networking

ifconfig problem

Hi all, I am getting some error messages during bootup ifconfig :<hostname> bad address and some more messages related to it. I some how checked the /etc/hostanem.hme0 /etc/hosts file. Entries in these files were proper. If I am running the following command from root: ... (5 Replies)
Discussion started by: amit_sapre
5 Replies

8. Linux

ifconfig - information

Hi All, I need some info on ifconfig. ifconfig is available in Linux and Solaris. However the options available in Solaris is not there in Linux. 1. ifconfig -a == output is different in both OS. I am somewhat able to compare the output. But one thing I am not getting is after the flags... (2 Replies)
Discussion started by: ahamed101
2 Replies

9. Shell Programming and Scripting

not able to run ifconfig

Unable to run the ifconfig in my home dir.. I did add adding /sbin and /usr/sbin in th PATH But still unable to get that .. Am using red hat linux cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.3 (Tikanga) (3 Replies)
Discussion started by: mail2sant
3 Replies

10. Solaris

How to find FC info on Sun x86 system?

Hi, we have a Sun x4150 server connecting to Brocade switches. I need to get all WWN on the Sun server. Here is the result: # fcinfo hba-port No Adapters Found. # prtconf -vp | grep -i wwn # luxadm probe ERROR: No Fibre Channel Adapters found. # luxadm -e port ERROR: No Fibre Channel... (2 Replies)
Discussion started by: aixlover
2 Replies
IFCONFIG(8)						      System Manager's Manual						       IFCONFIG(8)

NAME
ifconfig - configure network interface parameters SYOPNSIS
/sbin/ifconfig interface address_family [ address [ dest_address ] ] [ parameters ] /sbin/ifconfig interface [ protocol_family ] DESCRIPTION
Ifconfig is used to assign an address to a network interface and/or configure network interface parameters. Ifconfig must be used at boot time to define the network address of each interface present on a machine; it may also be used at a later time to redefine an interface's address or other operating parameters. The interface parameter is a string of the form ``name unit'', e.g. ``en0''. Since an interface may receive transmissions in differing protocols, each of which may require separate naming schemes, it is necessary to specify the address_family, which may change the interpretation of the remaining parameters. The address families currently supported are ``inet'' and ``ns''. For the DARPA-Internet family, the address is either a host name present in the host name data base, hosts(5), or a DARPA Internet address expressed in the Internet standard ``dot notation''. For the Xerox Network Systems(tm) family, addresses are net:a.b.c.d.e.f, where net is the assigned network number (in decimal), and each of the six bytes of the host number, a through f, are specified in hexadecimal. The host number may be omitted on 10Mb/s Ethernet interfaces, which use the hardware physical address, and on interfaces other than the first. The following parameters may be set with ifconfig: up Mark an interface ``up''. This may be used to enable an interface after an ``ifconfig down.'' It happens automatically when setting the first address on an interface. If the interface was reset when previously marked down, the hardware will be re-initialized. down Mark an interface ``down''. When an interface is marked ``down'', the system will not attempt to transmit messages through that interface. If possible, the interface will be reset to disable reception as well. This action does not automatically disable routes using the interface. trailers Request the use of a ``trailer'' link level encapsulation when sending (default). If a network interface supports trailers, the system will, when possible, encapsulate outgoing messages in a manner which minimizes the number of memory to memory copy operations performed by the receiver. On networks that support the Address Resolution Protocol (see arp(4P); cur- rently, only 10 Mb/s Ethernet), this flag indicates that the system should request that other systems use trailers when sending to this host. Similarly, trailer encapsulations will be sent to other hosts that have made such requests. Cur- rently used by Internet protocols only. -trailers Disable the use of a ``trailer'' link level encapsulation. arp Enable the use of the Address Resolution Protocol in mapping between network level addresses and link level addresses (default). This is currently implemented for mapping between DARPA Internet addresses and 10Mb/s Ethernet addresses. -arp Disable the use of the Address Resolution Protocol. metric n Set the routing metric of the interface to n, default 0. The routing metric is used by the routing protocol (routed(8)). Higher metrics have the effect of making a route less favorable; metrics are counted as addition hops to the destination network or host. debug Enable driver dependent debugging code; usually, this turns on extra console error logging. -debug Disable driver dependent debugging code. netmask mask (Inet only) Specify how much of the address to reserve for subdividing networks into sub-networks. The mask includes the network part of the local address and the subnet part, which is taken from the host field of the address. The mask can be specified as a single hexadecimal number with a leading 0x, with a dot-notation Internet address, or with a pseudo-network name listed in the network table networks(5). The mask contains 1's for the bit positions in the 32-bit address which are to be used for the network and subnet parts, and 0's for the host part. The mask should contain at least the standard net- work portion, and the subnet field should be contiguous with the network portion. dstaddr Specify the address of the correspondent on the other end of a point to point link. broadcast (Inet only) Specify the address to use to represent broadcasts to the network. The default broadcast address is the address with a host part of all 1's. ipdst (NS only) This is used to specify an Internet host who is willing to receive ip packets encapsulating NS packets bound for a remote network. In this case, an apparent point to point link is constructed, and the address specified will be taken as the NS address and network of the destinee. Ifconfig displays the current configuration for a network interface when no optional parameters are supplied. If a protocol family is specified, Ifconfig will report only the details specific to that protocol family. Only the super-user may modify the configuration of a network interface. DIAGNOSTICS
Messages indicating the specified interface does not exit, the requested address is unknown, or the user is not privileged and tried to alter an interface's configuration. SEE ALSO
netstat(1), intro(4N), rc(8) 4.2 Berkeley Distribution November 16, 1996 IFCONFIG(8)
All times are GMT -4. The time now is 09:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy