Sponsored Content
Full Discussion: Network Ip
Top Forums UNIX for Dummies Questions & Answers Network Ip Post 2666 by 98_1LE on Tuesday 29th of May 2001 08:57:02 AM
Old 05-29-2001
ifcongig will work, but only until the box is rebooted. Then it will revert back. If you want to make the change permanant, you also need to edit the /etc/hosts & /etc/hostname.{interface} and possibly the /etc/nodename files under Solaris. The files are probably different under another flavor of UNIX. If you edit these files and reboot, you don't need to do the ifconfig command.
 

8 More Discussions You Might Find Interesting

1. Programming

Help in developing a Network Appliation to monitor pc in a network

I am developing a Network Appliation to monitor computers in a network. Specs are App monitors the current web page viewed in each system App also can shutdown the computer in the network App can show all process run by each computer in the network I am now confused how to start my... (2 Replies)
Discussion started by: valaparambil88
2 Replies

2. IP Networking

ssh server is attachable from local network not from another network

hello i have a ubuntu ssh server that i can acess from any of my comnputers but only if they are on the same wireless network as the server. i tested trhis my tehtehring my samsung blackjack to my windows partition and installing openssh to windows it works when windows is on the wireless but no... (1 Reply)
Discussion started by: old noob
1 Replies

3. UNIX for Advanced & Expert Users

Network Shell Script & Blade Logic & Network Security

I am going to take up a position in Data & Network Security. I would need to write network shell scripts doing the following task: Going to around 2000 servers and findout which groups has access to each servers and which ids are there in each group that has access. I need to implement... (1 Reply)
Discussion started by: pinnacle
1 Replies

4. Solaris

configure zones to have different network interface and network

i need to configure a zone to use different interface (bge2) than global and have connected to completely different network switch & to use its own defaultrouter and hosts file .. is it possible ..if so ..how ? Thanks (9 Replies)
Discussion started by: skamal4u
9 Replies

5. UNIX and Linux Applications

Access to network interface (Mac-network)

Hi, I'm a italian student. For my thesis I develop a gateway with protocol 6lowpan. For that I must access to network interface to develope my personal stack based on standard 802.15.4. Can you help me? I need an explanation for that. (0 Replies)
Discussion started by: berny88
0 Replies

6. Solaris

No network cable But Network interface is UP and Running

I've one Netra 240 After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces. I tried to restart and plumb/unplumb with no luck. ifconfig -a... (7 Replies)
Discussion started by: samer.odeh
7 Replies

7. Red Hat

Network becomes slow and return fast only after restart network

Hi, I have 2 machines in production environment: 1. redhat machine for application 2. DB machine (oracle) The application doing a lot of small read&writes from and to the DB machine. The problem is that after some few hours the network from the application to the DB becomes very slow and... (4 Replies)
Discussion started by: moshesa
4 Replies

8. IP Networking

I would like to monitor network traffic for a computer on my network

My son does homework on a school laptop. I was thinking about setting up a gateway on my home network, so that I can monitor web traffic and know if he is doing his homework without standing over his shoulder. Ideally I would like to use the Raspberry Pi Model b that I already have. However, I... (15 Replies)
Discussion started by: gandolf989
15 Replies
hosts(4)						     Kernel Interfaces Manual							  hosts(4)

NAME
hosts - host name data base DESCRIPTION
The file associates Internet (IP) addresses with official host names and aliases. This allows a user to refer to a host by a symbolic name instead of an Internet address. This file contain all addresses for local interfaces that needs at boot time (see ifconfig(1M)). When using the name server (see named(1M)), or Network Information Service (see ypserv(1M)), this file often serves as a backup when the server is not running. In such circumstances, it is a common practice for to contain a few addresses of machines on the local network. should contain a single line for each host with the following information: internet_address official_host_name aliases The internet_address can be an IPv4 or IPv6 address specified in the conventional Internet dot notation. See inet(3N) or inet6(3N) for more information on Internet address manipulation routines. aliases are other names by which a host is known. They can substitute for the official_host_name in most commands. For example: In this example, users can use remote login on by using the command: instead of If your system is in a domain naming environment, an official host name consists of the full domain extended host name. For example: (space or tab character). Items are separated by any number or combination of space or tab characters (blanks). A character indicates the beginning of a comment. Characters from the to the end of the line are not interpreted by routines that search the file. Trailing blanks are allowed at the end of a line. For the Internet, this file is normally created from the official host database maintained at the Network Information Control Center (NIC), although local changes may be required to bring it up to date with respect to unofficial aliases and/or unknown hosts. Host names can contain any printable character other than a white space, newline, or comment character. EXAMPLES
See AUTHOR
was developed by the University of California, Berkeley. SEE ALSO
gethostent(3N), inet(3N), nsswitch.conf(4). hosts(4)
All times are GMT -4. The time now is 08:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy