Sponsored Content
Operating Systems Solaris How to configure IP in SUN Machine Post 302259400 by saurabh84g on Tuesday 18th of November 2008 03:21:21 AM
Old 11-18-2008
IP address

Quote:
Originally Posted by daya.pandit
Hi Experts,

I am new for solaris, i am using Solaris10,can you anyone assist me how to configure IP in my machine.

Thanks

Use ifconfig -a ( to check ip address)

To set ip address use,

ifconfig <interface name> < ip address> netmask <netmask>

ex: ifconfig hme0 10.40.44.2 netmask 255.255.255.0
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to configure tape drive on SUN

I am trying to configure DAT Tape drive on SUN E220 system but I don't have SUN keyboard. I am using a tty terminal k/b. What are my alternavtives? Is there any way to send interupts to the system on OK prompt using tty kb for probe SCSI. Thanks in advance. (2 Replies)
Discussion started by: s_aamir
2 Replies

2. Solaris

How can i Configure TCP Keepalive on sun solaris 9 machine?

I've installed sun solaris 9 and i need to know how can i enable TCP Keepalive to ping socket connections every 300 seconds? Thanks, Mohammed Amin (1 Reply)
Discussion started by: m_amin
1 Replies

3. Solaris

How to configure NIS in sun 10

Hi...., I'm having two intel system.both the system i installed sun sol 10.now i wan't to configure NIS .Pls tell me step by step configuration for server and client.pls Help me any body......... :mad: Rgds, Jay (4 Replies)
Discussion started by: rjay.com
4 Replies

4. Solaris

Configure second NIC on Sun E450

I wanted to configure a second NIC card on a different IP on my Sun E450 server. Currently, I have hme0. when I ran the command : ifconfig hme1 <ip address> netmask <subnet mask> broadcast + up I got the following error message: ifconfig: SIOCGIFFLAGS: hme1: no such interface Any idea... (3 Replies)
Discussion started by: Remi
3 Replies

5. Linux

how to configure nfs with in the same machine

Hi All, I installed the Linux on VMWare. Now i want to configure the NFS. is that possible to configure NFS ? because i am having only one Machine. Please give me the details ASAP. Thanks in advance... Regards, Sridhar. (3 Replies)
Discussion started by: sridhusha
3 Replies

6. UNIX for Dummies Questions & Answers

how configure printer in sun solaris

Hi, I am working in sun solaris server.I have Kyocera FS-1030D KX printer in my network .I have configured this printer for windows.I want to configure same printer to sun solaris.Is this possible.Give me some ideas. (2 Replies)
Discussion started by: arulkumar
2 Replies

7. Ubuntu

./configure command Error while trying to install GCC compiler on unix machine

Hi, I need to install the GCC compiler on a my Linus machine. First step is to run the ./configure command and here we need to specify ./configure --target="target machine name (CPU type-Manufacturer-OS) or other way would be just give the command ./configure and it guesses the target name... (11 Replies)
Discussion started by: viji19812001
11 Replies

8. Solaris

Configure Sun Cluster

Hi, I am configuring the sun cluster between two nodes. It is asking me to create a filesystem called globaldevices in root and mount it permanently. I created a new slice c0t0d0s3 and created a filesytem /globaldevices. How can I mount it permanently. I know we have to do it /etc/vfstab, but... (3 Replies)
Discussion started by: gunnervarma
3 Replies

9. UNIX for Dummies Questions & Answers

Linux Tip: How to Configure PPP for dialup for a single machine?

I shall explain how to setup PPP on your Linux machine, so that you can connect to the Internet using an external modem and a Dialup connection. This article explains the setup for the superuser alone (Not normal users).My Setup : My external modem (56kbps) is connected to the Serial Port :... (0 Replies)
Discussion started by: EliteHussar
0 Replies

10. Solaris

Sun is not able to ssh another machine of sun

My one Sun machine is not able to ssh another machine of Sun. Although I have configured the ssh successfully ( SunOS sunbox2 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Blade-2500 ) ERROR bash-2.05# ssh sunbox2 /etc/ssh/ssh_config: line 34: Bad configuration option: PermitRootLogin... (0 Replies)
Discussion started by: z_haseeb
0 Replies
netmasks(4)                                                        File Formats                                                        netmasks(4)

NAME
netmasks - network mask database SYNOPSIS
/etc/inet/netmasks /etc/netmasks DESCRIPTION
The netmasks file contains network masks used to implement IP subnetting. It supports both standard subnetting as specified in RFC-950 and variable length subnetting as specified in RFC-1519. When using standard subnetting there should be a single line for each network that is subnetted in this file with the network number, any number of SPACE or TAB characters, and the network mask to use on that network. Network numbers and masks may be specified in the conventional IP `.' (dot) notation (like IP host addresses, but with zeroes for the host part). For example, 128.32.0.0 255.255.255.0 can be used to specify that the Class B network 128.32.0.0 should have eight bits of subnet field and eight bits of host field, in addition to the standard sixteen bits in the network field. When using variable length subnetting, the format is identical. However, there should be a line for each subnet with the first field being the subnet and the second field being the netmask that applies to that subnet. The users of the database, such as ifconfig(1M), perform a lookup to find the longest possible matching mask. It is possible to combine the RFC-950 and RFC-1519 form of subnet masks in the net- masks file. For example, 128.32.0.0 255.255.255.0 128.32.27.0 255.255.255.240 128.32.27.16 255.255.255.240 128.32.27.32 255.255.255.240 128.32.27.48 255.255.255.240 128.32.27.64 255.255.255.240 128.32.27.80 255.255.255.240 128.32.27.96 255.255.255.240 128.32.27.112 255.255.255.240 128.32.27.128 255.255.255.240 128.32.27.144 255.255.255.240 128.32.27.160 255.255.255.240 128.32.27.176 255.255.255.240 128.32.27.192 255.255.255.240 128.32.27.208 255.255.255.240 128.32.27.224 255.255.255.240 128.32.27.240 255.255.255.240 128.32.64.0 255.255.255.192 can be used to specify different netmasks in different parts of the 128.32.0.0 Class B network number. Addresses 128.32.27.0 through 128.32.27.255 have a subnet mask with 28 bits in the combined network and subnet fields (often referred to as the subnet field) and 4 bits in the host field. Furthermore, addresses 128.32.64.0 through 128.32.64.63 have a 26 bits in the subnet field. Finally, all other addresses in the range 128.32.0.0 through 128.32.255.255 have a 24 bit subnet field. Invalid entries are ignored. SEE ALSO
ifconfig(1M), inet(7P) Postel, Jon, and Mogul, Jeff, Internet Standard Subnetting Procedure, RFC 950, Network Information Center, SRI International, Menlo Park, Calif., August 1985. V. Fuller, T. Li, J. Yu, K. Varadhan, Classless Inter-Domain Routing (CIDR): an Address Assignment and Aggregation Strategy, RFC 1519, Network Information Center, SRI International, Menlo Park, Calif., September 1993. T. Pummill, B. Manning, Variable Length Subnet Table For IPv4, RFC 1878, Network Information Center, SRI International, Menlo Park, Calif., December 1995. NOTES
/etc/inet/netmasks is the official SVr4 name of the netmasks file. The symbolic link /etc/netmasks exists for BSD compatibility. SunOS 5.10 7 Jan 1997 netmasks(4)
All times are GMT -4. The time now is 11:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy