Computing.Net > Forums > Unix > sco hosts

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

sco hosts

Reply to Message Icon

Name: krba
Date: November 30, 2004 at 05:06:46 Pacific
OS: DOS, Windows, Programming
CPU/Ram: AMD, P4...
Comment:

In sco unix I have:

/etc/hosts

# @(#)hosts 1.2 Lachman System V STREAMS TCP source
# SCCS IDENTIFICATION
127.0.0.1 localhost
223.252.254.1 scosysv scosysv.default.com
223.252.254.118 pc019 pc019.default.com
223.252.254.109 pc010 Jura PC-NFS24A04767
223.252.254.1 host1 host1.default.com
223.252.254.201 host0 host0.default.com
223.252.254.218 doc doc.default.com

Now I want to append new address:

192.160.2.76 my my.default.com


close the host file... and what next?

How to -hm- "(re)compile"?

(tried with mkhost, but w/o success).

Can I put a range of addresses:
192.160.2.76 - 100
(meaning:
192.160.2.76
192.160.2.77
...
192.160.2.99
192.160.2.100)

or one by one?

Thanx.




Sponsored Link
Ads by Google

Response Number 1
Name: thepubba
Date: December 1, 2004 at 09:34:44 Pacific
Reply:

You do not have to recompile an /etc/hosts file. Add in the IP and the host alias and close the file. You should then be able to ping the host alias.

You cannot use a range of IPs. There would be no way for them to resolve to a host name or alias.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: sco hosts

PPP on SCO Host Sys V www.computing.net/answers/unix/ppp-on-sco-host-sys-v/1059.html

networking win98 and SCO OS 5.0.5 www.computing.net/answers/unix/networking-win98-and-sco-os-505/684.html

SCO OpenServer Host + networking www.computing.net/answers/unix/sco-openserver-host-networking/1069.html