Sponsored Content
Full Discussion: ARP address resoluton
Special Forums Cybersecurity ARP address resoluton Post 20828 by Perderabo on Monday 6th of May 2002 07:56:27 AM
Old 05-06-2002
ARP does not take care of address uniqueness. That's not arp's job. It assumes the addresses are unique and will fail if they are not.

Your second question does not compute for me. I would assume that you are running slip or ppp or something like that. If you really have a mutant ISP that is assigning you a MAC address, you need to determine which type of mac address it is. If it's a ethernet address, your ISP could apply for a block of ethernet addresses. The ethernet address has two parts: a manufacturer id and unique address within the manufacturer id. Other lans work the same way.

To support their switchover product, HP would give out ethernet addresses not assigned to any hardware. All of HP's addresses are unique to HP. And it's up to HP to make sure that they don't give out the same address twice.
 

10 More Discussions You Might Find Interesting

1. IP Networking

multiple arp replies

Can someone tell me if I tweak the destination field in an arp request for TCP connection to match it with the the mac addresses of different recivers in an ethernet as the packet passes through them in short each one catches the arp request and replies, what would happen I mean will the sender of... (2 Replies)
Discussion started by: Rakesh Ranjan
2 Replies

2. Solaris

ARP Cache

Dear all, We are testing two of our servers for mq series connectivity. The scenario is, when one machine is shutting down it's services there are some scripts that do a dns update, which removes the ip address and relates it to the ip address of the other node on our dns server, and the update... (7 Replies)
Discussion started by: earlysame55
7 Replies

3. HP-UX

HW Address and arp

I was checking nettl output for a unstable telnet to my server. this is part of output: ### ***********************************STREAMS/UX*******************************@#% Timestamp : Sun Jun 22 EETDST 2008 22:14:47.492899 Process ID : Subsystem ... (4 Replies)
Discussion started by: xramm
4 Replies

4. IP Networking

Modifying ARP frames

Hi All, Is there any way to modify or filter the ARP frames?? thanks! (2 Replies)
Discussion started by: lagigliaivan
2 Replies

5. Red Hat

Arp Problem

Dear All i have a linux proxy server which has RHEL-5 64 bit, it has two interfaces, it has the following details eth0=10.200.14.42 eth3=10.201.14.42 default gateway=10.201.14.254 one static route=192.168.0.0/24 gw 10.200.14.254 i am facing a problem when i ping 10.201.14.42 from... (2 Replies)
Discussion started by: surfer24
2 Replies

6. UNIX for Advanced & Expert Users

arp questions

Can someone please explain this output to me. Why doesn't ifconfig show the same info? ~ $ arp -a ? (10.71.0.1) at 00:1b:21:2b:eb:0c on eth0 (4 Replies)
Discussion started by: cokedude
4 Replies

7. IP Networking

Protection against arp spoofing

Hi, I'm trying to find a way to protect my network against arp spoofing. What it is: An attacker sends fake arp packets in the network, identifying himself as the router. All network traffic is then redirected to this attacker. How to protect myself: In my opinion, the best possible... (2 Replies)
Discussion started by: chrisperry
2 Replies

8. IP Networking

necessary ARP request?

Hello, I have 2 clients with Unix installed. host1: eth0 (192.168.5.10) & eth1 (192.168.10.10) host2: eth0 (192.168.10.20) I've connected host1-eth1 to host2-eth0. host1-eth0 isn't connected. I started 'tcpdump' on wonder that host2 got ARP requests for 192.168.5.10. Any idea why host1... (2 Replies)
Discussion started by: daWonderer
2 Replies

9. War Stories

What arp -s is good for

A customer appears to have drastically misunderstood our instructions for connecting to our WAN. He set his PC IP address to the same as one of the bridges. :mad: :wall: This caused much confusion on the network, to put it mildly. He called to complain about the poor performance of the network... (13 Replies)
Discussion started by: Corona688
13 Replies

10. Red Hat

[RedHat] ARP issue

Hello, I am setting up a new RedHat server with two network interfaces. These interfaces are on different subnets, and connected to the same firewall. I'm trying to reach a remote IP. It works fine from the first interface. The second interface however, is making ARP requests instead of... (0 Replies)
Discussion started by: Wanou85
0 Replies
ETHERS(3)						   BSD Library Functions Manual 						 ETHERS(3)

NAME
ethers, ether_line, ether_aton, ether_ntoa, ether_ntohost, ether_hostton -- Ethernet address conversion and lookup routines LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/types.h> #include <sys/socket.h> #include <net/ethernet.h> int ether_line(const char *l, struct ether_addr *e, char *hostname); struct ether_addr * ether_aton(const char *a); char * ether_ntoa(const struct ether_addr *n); int ether_ntohost(char *hostname, const struct ether_addr *e); int ether_hostton(const char *hostname, struct ether_addr *e); DESCRIPTION
These functions operate on ethernet addresses using an ether_addr structure, which is defined in the header file <netinet/if_ether.h>: /* * The number of bytes in an ethernet (MAC) address. */ #define ETHER_ADDR_LEN 6 /* * Structure of a 48-bit Ethernet address. */ struct ether_addr { u_char octet[ETHER_ADDR_LEN]; }; The function ether_line() scans l, an ASCII string in ethers(5) format and sets e to the ethernet address specified in the string and h to the hostname. This function is used to parse lines from /etc/ethers into their component parts. The ether_aton() function converts an ASCII representation of an ethernet address into an ether_addr structure. Likewise, ether_ntoa() con- verts an ethernet address specified as an ether_addr structure into an ASCII string. The ether_ntohost() and ether_hostton() functions map ethernet addresses to their corresponding hostnames as specified in the /etc/ethers database. ether_ntohost() converts from ethernet address to hostname, and ether_hostton() converts from hostname to ethernet address. RETURN VALUES
ether_line() returns zero on success and non-zero if it was unable to parse any part of the supplied line l. It returns the extracted ether- net address in the supplied ether_addr structure e and the hostname in the supplied string h. On success, ether_ntoa() returns a pointer to a string containing an ASCII representation of an ethernet address. If it is unable to convert the supplied ether_addr structure, it returns a NULL pointer. Likewise, ether_aton() returns a pointer to an ether_addr structure on success and a NULL pointer on failure. The ether_ntohost() and ether_hostton() functions both return zero on success or non-zero if they were unable to find a match in the /etc/ethers database. NOTES
The user must insure that the hostname strings passed to the ether_line(), ether_ntohost() and ether_hostton() functions are large enough to contain the returned hostnames. NIS INTERACTION
If the /etc/ethers contains a line with a single + in it, the ether_ntohost() and ether_hostton() functions will attempt to consult the NIS ethers.byname and ethers.byaddr maps in addition to the data in the /etc/ethers file. SEE ALSO
yp(8), ethers(5) BUGS
The ether_aton() and ether_ntoa() functions returns values that are stored in static memory areas which may be overwritten the next time they are called. HISTORY
This particular implementation of the ethers library functions were written for and first appeared in FreeBSD 2.1. BSD
April 12, 1995 BSD
All times are GMT -4. The time now is 08:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy