f



arp -s PROBLEM: cannot intuit interface index...

OS: FreeBSD 6.0-RELESASE
Problem description:
  I want to add a permanent item to my arp list. I use:
    arp -s 192.168.1.118 00:50:ba:dd:23:12
  System replies:
    cannot intuit interface index and type for 192.168.1.118

Why this happens? Please help me. Thanks.

0
Favorites
8/1/2006 1:49:55 AM
comp.unix.bsd.freebsd.misc 13187 articles. 1 followers. Post Follow

2 Replies
2912 Views

Similar Articles

[PageSpeed] 20

Favorites wrote:
> OS: FreeBSD 6.0-RELESASE
> Problem description:
>   I want to add a permanent item to my arp list. I use:
>     arp -s 192.168.1.118 00:50:ba:dd:23:12
>   System replies:
>     cannot intuit interface index and type for 192.168.1.118
> 
> Why this happens? Please help me. Thanks.
> 

Never seen the error, never had to add static ARP entry.  The error 
sounds like:

   You're NIC is on LAN 192.168.0.x/24 (OR anything non-192.168.1.x)
   You're trying to add an entry to 192.168.1.x/24
   ARP cannot identify what interface would be used to reach that address.

Please post your ifconfig and/or network config.
0
Tim
8/1/2006 4:52:49 AM
my Ethernet card configure:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
lnc0: flags=3D108843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT>
mtu 1500
	inet6 fe80::20c:29ff:fe98:cd6%lnc0 prefixlen 64 scopeid 0x1
	inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
	ether 00:50:ba:33:23:16
lnc1: flags=3D108843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT>
mtu 1500
	inet6 fe80::20c:29ff:fe98:ce0%lnc1 prefixlen 64 scopeid 0x2
	inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
	ether 00:50:ba:33:23:17
plip0: flags=3D108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
	inet 127.0.0.1 netmask 0xff000000

my Router table:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif
Expire
default               192.168.2.1        UGS         0        0   lnc1
127.0.0.1           127.0.0.1          UH          0        0    lo0
192.168.1           link#1             UC          0        0   lnc0
192.168.2           link#2             UC          0        0   lnc1

Internet6:
Destination                       Gateway                       Flags
   Netif Expire
::1                                    ::1                           UH
         lo0
fe80::%lnc0/64                    link#1                        UC
   lnc0
fe80::20c:29ff:fe98:cd6%lnc0      00:0c:29:98:0c:d6             UHL
    lo0
fe80::%lnc1/64                    link#2                        UC
   lnc1
fe80::20c:29ff:fe98:ce0%lnc1      00:0c:29:98:0c:e0             UHL
    lo0
fe80::%lo0/64                     fe80::1%lo0                   U
    lo0
fe80::1%lo0                       link#4                        UHL
    lo0
ff01::/32                         ::1                           U
    lo0
ff02::%lnc0/32                    link#1                        UC
   lnc0
ff02::%lnc1/32                    link#2                        UC
   lnc1
ff02::%lo0/32                     ::1                           UC
    lo0

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
arp -a
? (192.168.1.118) at 00:50:ba:dd:32:a6 on lnc0 [ethernet]
? (192.168.2.1) at 00:50:ba:33:23:17 on lnc1 permanent [ethernet]
? (192.168.2.2) at 00:50:ba:33:23:18 on lnc1 [ethernet]

arp -s 192.168.1.119 00:50:ba:dd:32:a7

NO ERROR REPLY!!!
I don't know why. But "cannot intuit interface index" displayed before.



Tim Judd =E5=86=99=E9=81=93=EF=BC=9A

> Favorites wrote:
> > OS: FreeBSD 6.0-RELESASE
> > Problem description:
> >   I want to add a permanent item to my arp list. I use:
> >     arp -s 192.168.1.118 00:50:ba:dd:23:12
> >   System replies:
> >     cannot intuit interface index and type for 192.168.1.118
> >
> > Why this happens? Please help me. Thanks.
> >
>
> Never seen the error, never had to add static ARP entry.  The error
> sounds like:
>
>    You're NIC is on LAN 192.168.0.x/24 (OR anything non-192.168.1.x)
>    You're trying to add an entry to 192.168.1.x/24
>    ARP cannot identify what interface would be used to reach that address.
>=20
> Please post your ifconfig and/or network config.

0
Favorites
8/2/2006 7:29:43 AM
Reply: