OVH Cloud OVH Cloud

probleme avec arp -s

8 réponses
Avatar
patpro ~ Patrick Proniewski
bonjour,

je ne parviens pas à faire "fonctionner" la commande arp -s :

# arp -s une.add.ip.xyz 00:c0:b7:6f:63:f2
cannot intuit interface index and type for une.add.ip.xyz

# arp -s une.add.ip.xyz 00:c0:b7:6f:63:f2 pub
cannot intuit interface index and type for une.add.ip.xyz

# arp -s une.add.ip.xyz 00:c0:b7:6f:63:f2 temp
cannot intuit interface index and type for une.add.ip.xyz

# arp -s une.add.ip.xyz 00:c0:b7:6f:63:f2 temp pub
cannot intuit interface index and type for une.add.ip.xyz

une idée ?

Il s'agit d'assigner une IP a un rack de prises APC pilotables. mon
powerbook est sur le même subnet, tout le cablage RJ45 fonctionne...
Est ce que c'est sensé fonctionner sur MacOS X ?


patpro

8 réponses

Avatar
laurent.pertois
patpro ~ Patrick Proniewski wrote:

Il s'agit d'assigner une IP a un rack de prises APC pilotables. mon
powerbook est sur le même subnet, tout le cablage RJ45 fonctionne...
Est ce que c'est sensé fonctionner sur MacOS X ?


Je n'utilise pas mais le man d'arp précise :

-s hostname ether_addr
Create an ARP entry for the host called hostname with the Ether-
net address ether_addr. The Ethernet address is given as six hex
bytes separated by colons. The entry will be permanent unless
the word temp is given in the command. If the word pub is given,
the entry will be "published"; i.e., this system will act as an
ARP server, responding to requests for hostname even though the
host address is not its own.



hostname, pas adresse IP, je ne sais pas si ça joue ou non mais dans les
messages d'erreur il râle sur cette partie de ta commande.

--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.

Avatar
patpro ~ Patrick Proniewski
In article <1gsqu5v.1dsxbvlfa0exeN%,
(Laurent Pertois) wrote:

hostname, pas adresse IP, je ne sais pas si ça joue ou non mais dans les
messages d'erreur il râle sur cette partie de ta commande.


oui, ça aurait pu, mais en réalité, suite à un test fait par un lecteur
de fr.comp.os.bsd, ça passe avec l'IP, donc mon soucis doit se situer
ailleurs...
Je vais néanmoins tester avec un hostname, si j'en trouve un pour cette
IP, et voir ce qu'il en retourne. Je posterais ici si ça fonctionne.

patpro

Avatar
patpro ~ Patrick Proniewski
In article ,
patpro ~ Patrick Proniewski wrote:

In article <1gsqu5v.1dsxbvlfa0exeN%,
(Laurent Pertois) wrote:

hostname, pas adresse IP, je ne sais pas si ça joue ou non mais dans les
messages d'erreur il râle sur cette partie de ta commande.


oui, ça aurait pu, mais en réalité, suite à un test fait par un lecteur
de fr.comp.os.bsd, ça passe avec l'IP, donc mon soucis doit se situer
ailleurs...
Je vais néanmoins tester avec un hostname, si j'en trouve un pour cette
IP, et voir ce qu'il en retourne. Je posterais ici si ça fonctionne.


en fait j'avais déconné avec l'IP cible, si je prends la bonne ça
fonctionne.

merci ;))

patpro


Avatar
laurent.pertois
patpro ~ Patrick Proniewski wrote:

oui, ça aurait pu, mais en réalité, suite à un test fait par un lecteur
de fr.comp.os.bsd, ça passe avec l'IP, donc mon soucis doit se situer
ailleurs...


Mais a-t-on la même arp sur bsd et Mac OS X ?

Je vais néanmoins tester avec un hostname, si j'en trouve un pour cette
IP, et voir ce qu'il en retourne. Je posterais ici si ça fonctionne.


Merci.

--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.

Avatar
patpro ~ Patrick Proniewski
In article <1gsqv8q.dd19a71erg8mvN%,
(Laurent Pertois) wrote:

patpro ~ Patrick Proniewski wrote:

oui, ça aurait pu, mais en réalité, suite à un test fait par un lecteur
de fr.comp.os.bsd, ça passe avec l'IP, donc mon soucis doit se situer
ailleurs...


Mais a-t-on la même arp sur bsd et Mac OS X ?


probablement, mais le test a été fait sur un 10.3

patpro


Avatar
laurent.pertois
patpro ~ Patrick Proniewski wrote:

en fait j'avais déconné avec l'IP cible, si je prends la bonne ça
fonctionne.


Rhalalalala, ils ne sont pas fauchés à Lyon 2 :)

Tiens, j'ai eu des stagiaires l'année dernière de Lyon 2, il me
semble...

--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.

Avatar
laurent.pertois
patpro ~ Patrick Proniewski wrote:

Mais a-t-on la même arp sur bsd et Mac OS X ?


probablement, mais le test a été fait sur un 10.3


Vu ta dernière réponse, tout va bien.

--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.


Avatar
patpro ~ Patrick Proniewski
In article <1gsqvif.1w8dhcz8womjsN%,
(Laurent Pertois) wrote:

patpro ~ Patrick Proniewski wrote:

en fait j'avais déconné avec l'IP cible, si je prends la bonne ça
fonctionne.


Rhalalalala, ils ne sont pas fauchés à Lyon 2 :)


ha ça, au pole web on est bien loti, c'est clair !
Et puis c'est chouette d'avoir des rack de prises pilotables par le web,
ça évite d'avoir a se taper 2*40 min de tram ou 2*20 min de taxi en
pleine nuit pour appuyer sur un bouton.


Tiens, j'ai eu des stagiaires l'année dernière de Lyon 2, il me
semble...


ha oui ? marrant, c'est plutôt une fac de lettre/psycho/... Cela dit y'a
un IUT qui doit faire de l'info je crois.

patpro