Solved

problem in adding a virtual host to Solaris 8

Posted on 2001-07-31
1
911 Views
Last Modified: 2013-12-27
Hi, I'm trying to add IP address to hmeo
This is what I'm getting:
Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
mars/% ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 213.150.25.230 netmask ffffffe0 broadcast 213.150.25.255
        ether 8:0:20:b7:e8:ed
mars/% ifconfig hme0:1 192.168.1.88 netmask 255.255.255.0
ifconfig: SIOCGLIFNETMASK: hme0:1: no such interface
mars/%

anyone can help ?
0
Comment
Question by:ido_br
1 Comment
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
ID: 6338210
You are getting that failure because you haven't created the interface before trying to configure it. The sequence needs to be:

# ifconfig hme0:1 plumb
# ifconfig hme0:1 192.168.168.1.88 netmask 255.255.255.0

See "man ifconfig" for details and more information.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now