Hi, I am wondering how I can find the network address under following situation.
Things available:
1. An active network drop without knowing any details about the network.
2. I have windows, Linux, and Solaris machine available to use.
Things to achieve:
1. Find out the... (5 Replies)
I'm trying to find the IP address of a print queue. I tried this, but nada.
cat /etc/hosts | lp -d lp01
Looked in the hosts file but it's not there (2 Replies)
I connect to my client's network via VPN. We have a UNIX box there & I would like to know IP address of my PC when I connect to UNIX box using Putty software. I checked this command - /usr/sbin/ifconfig -a and it showed me the output
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232... (4 Replies)
Hello,
I got a list of IP address from which I would like to remove the duplicates. I cat the file and pipe it to uniq -u or uniq -c, I got the same output with all the duplicates. Can anybody please tell me how I can remove the duplicates IPs from this file? This is what I used.
cat filename |... (3 Replies)
Hi all,
I am new to this forum and this is my first question :). Using Red hat Linux.I tried to find file which stores IP address based on different helps given in this forum but did not get success. Here is the system details:
-bash-3.2$ lsb_release -a
LSB Version: ... (2 Replies)
I'm trying to remotely probe a range of IP addresses. First I need a list of IP addresses for a very small geographic area. I've had a lot of trouble obtaining them. I would like to find a database or something.
Suppose I do get the data. Can I see if that IP address is in use by someone? Can I... (2 Replies)
Hi,
I am trying to write a script that will check all used IP on the server and then print me an addressees that are not in use. Problem is in comparing two variables
#!/bin/bash
NETSTAT=$(netstat -ntp | awk '{ print $4 }' | grep -v "127.0.0.1" | cut -d ":" -f1 | grep "^"|sort | uniq )... (6 Replies)
Discussion started by: nemesis911
6 Replies
LEARN ABOUT HPUX
arp
arp(7P)arp(7P)NAME
arp - Address Resolution Protocol
DESCRIPTION
ARP is a protocol used to dynamically map between DARPA Internet and hardware station addresses. It is used by all LAN drivers.
ARP caches Internet-to-hardware station address mappings. When an interface requests a mapping for an address not in the cache, ARP queues
the message that requires the mapping, and broadcasts a message on the associated network requesting the address mapping if the encapsula-
tion method has been enabled for the interface. If a response is provided, the new mapping is cached and any pending message is transmit-
ted. ARP queues at most one packet while waiting for a mapping request to be responded to; only the most recently ``transmitted'' packet
is kept.
To facilitate communications with systems that do not use ARP, calls are provided to enter and delete entries in the Internet-to-hardware
station address tables.
Application Usage:
Each call takes the same structure as an argument. sets an ARP entry, gets an ARP entry, and deletes an ARP entry. These calls can be
applied to any socket descriptor s, but only by the super-user. The structure contains:
The address family for the must be for the it must be The only flag bits that can be written are and Fibre Channel hosts only support the
flag. causes the entry to be permanent. specifies that the ARP code should respond to ARP requests for the indicated host coming from
other machines. This allows a host to act as an ARP server, which may be useful in convincing an ARP-only machine to talk to a non-ARP
machine.
ARP watches passively for hosts impersonating the local host (i.e., a host that responds to an ARP mapping request for the local host's
address).
DIAGNOSTICS
This message printed on the console screen means that
ARP has discovered another host on the local network that responds to mapping requests for its own Internet address.
WARNINGS
To enable the encapsulation method, use the command (see ifconfig(1M)).
AUTHOR
ARP was developed by the University of California, Berkeley.
SEE ALSO ifconfig(1M), inet(3N), lan(7), arp(1M).
RFC826, Dave Plummer, Network Information Center, SRI.
arp(7P)