Solved

problem in adding a virtual host to Solaris 8

Posted on 2001-07-31
1
908 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

758 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

18 Experts available now in Live!

Get 1:1 Help Now