Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 1998 00:27:15 +0200
From:      Robert Turnwald <r.turnwald@choin.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   arp -s only for one ed-interface
Message-ID:  <19980420002715.39343@orange.ma.choin.net>

next in thread | raw e-mail | index | archive | help
Hi FreeBSD-people,

on a Linux-system there is a -i option for the "arp"-command. With
this option I can specify an interface, e. g. 
# arp -i eth0 <IP> <MAC> pub                                                                                  
                                                                                                              
How can I do this with FreeBSD?


my problem:
I have to route a few IPs to an internal network. The router has to know 
which packets he has  to route, so I use the "arp" command.

1. route add -host <IPintern> -interface ed1
2. # arp -s <IPintern> <MACed0> pub

But now the route (1.) shows to ed0, and I can not specify a certain Interface 
with the arp-command (this works with Linux)

Is there any solution?

thanks
bye
robert.

-- 

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r o b e r t  t u r n w a l d 

r.turnwald@choin.net
or reply !
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980420002715.39343>