Sponsored Content
Operating Systems Solaris Configuring TP Ethernet in SPARCstation 5 Solaris 8 Post 302145914 by porter on Thursday 15th of November 2007 07:32:41 PM
Old 11-15-2007
Then create one, eg

Code:
$ cat /etc/hosts
#
# Internet host table
#
127.0.0.1       localhost
192.168.40.5   your.long.name yourshortname  loghost

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

aggregate ethernet ports under Solaris

I have been looking for info on how to aggregate 2 ore 3 NIC's into into one big pipe. Any advice would be appreciated. -Chuck (4 Replies)
Discussion started by: 98_1LE
4 Replies

2. Filesystems, Disks and Memory

ethernet card for Solaris

Hi, How can i check the speed of the Ethernet card that my Sun server has and also how can i change it to full Duplex if it is set to half duplex? What is the file that takes care of this? (3 Replies)
Discussion started by: i2admin
3 Replies

3. IP Networking

Solaris 9 Ethernet Card Problems

I keeping plumbing my ethernet card and assigning it an IP address and netmask, but after I reboot it keeps losing this information. Can anyone help me solve this problem? I am using the command: ifconfig hme0 plumb <IP Address> netmask <Subnet Mask> broadcast + up I am running Solaris 9 OS. (2 Replies)
Discussion started by: saucierm
2 Replies

4. UNIX for Advanced & Expert Users

determining ethernet port speed in solaris

i purchased, what was labeled as a 4-port fast ethernet sbus card from ebay. i installed it in my ultra1, and it seems to be working fine. how can i determine if the card is infact a fast ethernet card vs. the standard ethernet 4-port card? (7 Replies)
Discussion started by: xyyz
7 Replies

5. SCO

Configuring Broadcom BCM5721 NetXtreme Gigabit Ethernet

Hi, I have my server which has LAN with above model build onboard my Dell Server, I got this driver from SCO Unix website but yet to identify the following option: 1. PCI Slot- 2. Bus- 3. Device- 4. Function- Would anyone please kindly advice what should the... (0 Replies)
Discussion started by: spiderweb
0 Replies

6. Solaris

[Please Help] ethernet problem on solaris

Hi All, i have a problem with my database server using sun machine v440 and sunOS 5.9 on ethernet, i've checked on system log /var/adm/messages and found much error messages like shown below : Sep 21 16:14:48 dbs genunix: WARNING: ce0: fault detected external to device; service degraded Sep... (2 Replies)
Discussion started by: bucci
2 Replies

7. Solaris

Configuring TP Ethernet SS5 Solaris 8

Hey. how do i configure the Lance Ethernet in my SS5 i must use DHCP to get Internet access. i have tried sys-unconfig and ifconfig le0 plumb and dhcp. but no cigar. how do i configure ? i have had some problems with the /etc/hosts dir. it says it dosent exist and when i try to create it it says... (1 Reply)
Discussion started by: mads-nielsen
1 Replies

8. Solaris

How to get Solaris 8 x86 (32 bits) ethernet up on Vmware 6.x.x?

Hello professional, I am using Solaris 8 x86 (32 bits) running on Vmware 6.x.x my vmware configuration: config.version = "8" virtualHW.version = "6" scsi0.present = "TRUE" memsize = "1024" ide0:0.present = "TRUE" ide0:0.fileName = "Other.vmdk" ide1:0.present = "TRUE"... (0 Replies)
Discussion started by: draggy
0 Replies

9. Solaris

Sun Solaris ethernet interface

Hi, During the installation of solaris suppose I am configuring one ethernet interface that is primary but on my server there are 4 ethernet interfaces,because all other interface not configured, what is way to find out how many ethernet interfaces are there on Server, (6 Replies)
Discussion started by: manoj.solaris
6 Replies

10. Solaris

Solaris 11 ssh on machine with multiple Ethernet ports

I have a server with 6 Ethernet ports. 4 are the the motherboard based 1 GBE ports and 2 are 10 GBE ports on NICs. I have set these all up with static IP addresses and use the standard /etc/nsswitch.files. My IP addresses are net0 192.168.1.82 net1 192.168.2.82 and so on till net5... (4 Replies)
Discussion started by: ashlaw
4 Replies
HOSTS(5)						     Linux Programmer's Manual							  HOSTS(5)

NAME
hosts - static table lookup for hostnames SYNOPSIS
/etc/hosts DESCRIPTION
This manual page describes the format of the /etc/hosts file. This file is a simple text file that associates IP addresses with hostnames, one line per IP address. For each host a single line should be present with the following information: IP_address canonical_hostname [aliases...] Fields of the entry are separated by any number of blanks and/or tab characters. Text from a "#" character until the end of the line is a comment, and is ignored. Host names may contain only alphanumeric characters, minus signs ("-"), and periods ("."). They must begin with an alphabetic character and end with an alphanumeric character. Optional aliases provide for name changes, alternate spellings, shorter hostnames, or generic hostnames (for example, localhost). The Berkeley Internet Name Domain (BIND) Server implements the Internet name server for UNIX systems. It augments or replaces the /etc/hosts file or hostname lookup, and frees a host from relying on /etc/hosts being up to date and complete. In modern systems, even though the host table has been superseded by DNS, it is still widely used for: bootstrapping Most systems have a small host table containing the name and address information for important hosts on the local network. This is useful when DNS is not running, for example during system bootup. NIS Sites that use NIS use the host table as input to the NIS host database. Even though NIS can be used with DNS, most NIS sites still use the host table with an entry for all local hosts as a backup. isolated nodes Very small sites that are isolated from the network use the host table instead of DNS. If the local information rarely changes, and the network is not connected to the Internet, DNS offers little advantage. FILES
/etc/hosts NOTES
Modifications to this file normally take effect immediately, except in cases where the file is cached by applications. Historical notes RFC 952 gave the original format for the host table, though it has since changed. Before the advent of DNS, the host table was the only way of resolving hostnames on the fledgling Internet. Indeed, this file could be created from the official host data base maintained at the Network Information Control Center (NIC), though local changes were often required to bring it up to date regarding unofficial aliases and/or unknown hosts. The NIC no longer maintains the hosts.txt files, though looking around at the time of writing (circa 2000), there are historical hosts.txt files on the WWW. I just found three, from 92, 94, and 95. EXAMPLE
127.0.0.1 localhost 192.168.1.10 foo.mydomain.org foo 192.168.1.13 bar.mydomain.org bar 146.82.138.7 master.debian.org master 209.237.226.90 www.opensource.org SEE ALSO
hostname(1), resolver(3), resolver(5), hostname(7), named(8) Internet RFC 952 COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2002-06-16 HOSTS(5)
All times are GMT -4. The time now is 08:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy