Sponsored Content
Top Forums Shell Programming and Scripting Print all Host on local network Post 302679487 by RudiC on Tuesday 31st of July 2012 05:00:52 AM
Old 07-31-2012
This pertains to linux machines, may be different on others:
arp -a dumps your machine's "Address Resolution Protocol" cache, i.e. your active connections.
ping -b pings the entire local network BUT machines have to be setup to answer.

Last edited by RudiC; 07-31-2012 at 06:11 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

local host setup

I am running Redhat 7.2. I am using a router with dhcp setup for my computer. When logging in, I get the error "dhcppc1 not found". My router assigned that host name to my pc for dhcp. It says to modify the /etc/hosts file to keep from having any problems. Everything seems to be working ok... (2 Replies)
Discussion started by: jeremiebarber
2 Replies

2. UNIX for Advanced & Expert Users

sendmail : connect local host (brocken)

hi there I've got a strange problem with a webserver box (suse linux 7.2). My MTA is sendmail, and when I tried manually send a mail. Sendmail -v "user@something" < /etc/hosts The Server tried "simon@localhost... Connecting to local..." but nothing happend and the system hold on. This... (3 Replies)
Discussion started by: mrsaint
3 Replies

3. UNIX for Dummies Questions & Answers

local host

Dear Guys , Please again , i could not find a solution for my server linux red hat 9 . when i leave it about more than 5 min ideal it goes to something like sleep mode and all services stop and even TCP/IP .. what shall i do ??? another thing please , when i installed the server , i gave... (3 Replies)
Discussion started by: tamemi
3 Replies

4. Solaris

How to delete the files from local host to remote host

Hi all, i am copying .gz files from production server to development server using "scp" command.my requirement is after copying .gz files i want to delete old .gz files(two days back) in development server from production server. like this way i need to delelte .log ,.z and .dmp files... (3 Replies)
Discussion started by: krishna176
3 Replies

5. 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

6. UNIX for Advanced & Expert Users

Help! How to find the local host after few ssh hops to remote host???

I do a ssh to remote host(A1) from local host(L1). I then ssh to another remote(A2) from A1. When I do a who -m from A2, I see the "connected from" as "A1". => who -m userid pts/2 2010-03-27 08:47 (A1) I want to identify who is the local host who initiated the connection to... (3 Replies)
Discussion started by: gomes1333
3 Replies

7. Shell Programming and Scripting

ssh to multiple hosts and saving the output in the local host

hi I have a script to login from a host "A" to a list of hosts in a file and perform some commands inside it...its somethin like this for i in `cat file` do ssh -t $i " command1 ; command2; ..." done I wanna save the outputs in a file in the current host "A" i.e from where I am... (3 Replies)
Discussion started by: ningy
3 Replies

8. Shell Programming and Scripting

Copy a file from local host to a list of remote hosts --- perl script

Hi friends, i need to prepare a script ( in perl) i have a file called "demo.exe" in my local unix host. i have a list of remote hosts in a file "hosts.txt" now i need to push "demo.exe" file to all the hosts in "hosts.txt" file. for this i need to prepare a script(in perl, but shell... (5 Replies)
Discussion started by: siva kumar
5 Replies

9. Shell Programming and Scripting

Set variable to path that does not exist on local host

Can anyone suggest a workaround zone_5.org='/qaz/qwe/path/tns.osn' output /home/bingo/XXX_script.sh: line 180: zone_5.org=/qaz/qwe/path/tns.osn: no parent The path does not exist on the local machine, the allocation used to work till the server was upgraded. Red Hat Enterprise Linux... (2 Replies)
Discussion started by: squrcles
2 Replies

10. Shell Programming and Scripting

Copy local files to single remote host but multiple folders using rsync

I'm trying to copy a file myfile.scr from my local Linux server to multiple folders on remote AiX server using single rsync command. Below command helps me copy the file "myfile.scr" from my localhost to a remote host folder "/app/deployment/tmpfiles" rsync --delay-updates -F --compress... (1 Reply)
Discussion started by: mohtashims
1 Replies
rarpd(1M)																 rarpd(1M)

NAME
rarpd - Reverse Address Resolution Protocol daemon SYNOPSIS
config_file] [interface_name] DESCRIPTION
the Reverse Address Resolution Protocol daemon, implements the server portion of the Reverse Address Resolution Protocol [1]. It responds to RARP requests providing the requested client IP address. Rarpd can be started during boot-time initialization. To do so, set the vari- able with in Options are: Print debugging information. Use the specified config_file database instead of interface_name Respond to requests over just this interface. The configuration file database contains hardware address to IP address mappings. Other than comment lines (which begin with a '#') and blank lines, all lines are considered client entries. A client entry is of the form: hardware_address WHITE_SPACE ip_address where hardware_address consists of (colon-separated hexadecimal bytes, and ip_address consists of (dot-seperated decimal bytes. For exam- ple: # # hardware addr IP addr # # ethernet clients 08:00:09:26:ec:19 15.13.136.68 08:00:09:17:0a:93 15.13.136.74 # # 100VG clients 08:00:09:63:5d:f5 190.20.30.103 # # FDDI clients 08:00:09:09:53:4c 192.20.30.98 There must be exactly 6 hardware address bytes. There must be exactly 4 protocol address bytes. The following signals have the specified effect when sent to the process using the kill(1) command: Causes server to read the config file and reload database. Dumps current data base and cache to RETURN VALUE
Exit status is 1 if the command fails, and error messages are written to stderr and/or syslog. Typically, the daemon will continue answer- ing requests until externally interrupted. LIMITATIONS
1. The daemon supports only ethernet, 100VG and FDDI network interfaces. 2. The daemon supports only 4 byte Internet Protocol addresses. 3. The and programs cannot be run on the same interface at the same time. AUTHOR
was developed by HP. SEE ALSO
rarpc(1M). [1] R. Finlayson, T. Mann, J.C. Mogul, M. Theimer, "Reverse Address Resolution Protocol", RFC 903. rarpd(1M)
All times are GMT -4. The time now is 06:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy