Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

problem in adding a virtual host to Solaris 8

Posted on 2001-07-31
1
Medium Priority
?
934 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 200 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

963 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