problem in adding a virtual host to Solaris 8

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 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet netmask ffffffe0 broadcast
        ether 8:0:20:b7:e8:ed
mars/% ifconfig hme0:1 netmask
ifconfig: SIOCGLIFNETMASK: hme0:1: no such interface

anyone can help ?
Who is Participating?
jlevieConnect With a Mentor Commented:
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 netmask

See "man ifconfig" for details and more information.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.