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
VLAN-INTERFACES(5)						   File formats 						VLAN-INTERFACES(5)

NAME
/etc/network/interfaces (vlan) - vlan extensions for the interfaces(5) file format DESCRIPTION
/etc/network/interfaces contains network interface configuration information for the ifup(8) and ifdown(8) commands. This manpage describes the vlan extensions to the standard interfaces(5) file format. Primary extensions exist to make and destroy vlan interfaces, secondary extensions exist for ipv4 interface manipulation which are gener- ally needed when using (a lot of) vlans. VLAN CREATION
Vlan interface definitions exist of the vlan interface name, and an optional 'raw-device' parameter. Vlan interfaces are numbered 1 to 4095. You have the option to have interface names zero-padded to 4 numbers, or just the plain digits without leading zero. The following example shows four ways to create a vlan with id 1 on interface eth0. They all result in different names. iface eth0.1 inet static address 192.168.1.1 netmask 255.255.255.0 iface vlan1 inet static vlan-raw-device eth0 address 192.168.1.1 netmask 255.255.255.0 iface eth0.0001 inet static address 192.168.1.1 netmask 255.255.255.0 iface vlan0001 inet static vlan-raw-device eth0 address 192.168.1.1 netmask 255.255.255.0 # We don't have br support out of the box iface br0.2 inet static vlan-raw-device br0 address 192.168.1.1 netmask 255.255.255.0 # Aliases are ignored iface br0.2:1 inet static address 192.168.1.1 netmask 255.255.255.255 EXTRA IFACE OPTIONS
Usually someone who uses vlans also wants to do some other manipulations with the ip stack or interface. vlan-raw-device devicename Indicates the device to create the vlan on. This is ignored when the devicename is part of the vlan interface name. ip-proxy-arp 0|1 Turn proxy-arp off or on for this specific interface. This also works on plain ethernet like devices. ip-rp-filter 0|1|2 Set the return path filter for this specific interface. This also works on plain ethernet like devices. hw-mac-address mac-address This sets the mac address of the interface before bringing it up. This works on any device that allows setting the hardware address with the ip command. AUTHOR
This manpage was adapted from interfaces(5) by Ard van Breemen <ard@kwaak.net> SEE ALSO
vconfig(8) interfaces(5) vlan September 30 2007 VLAN-INTERFACES(5)
All times are GMT -4. The time now is 09:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy