Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2002 17:20:33 -0500
From:      Karl Timmermann <timmerk@tcimet.net>
To:        "Martin J. Muench" <mjm@codito.de>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Arp and Route Commands [sorry]
Message-ID:  <C9C187AE-FA7A-11D6-B39A-0030656EB864@tcimet.net>
In-Reply-To: <20021117225844.D280-100000@codito.mine.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, I should have tried this out before sending the other email. 
Your new route comand works, but the arp command says:

set: can only proxy for 10.10.10.0

Any ideas?

Thanks again,

Karl


set: can only proxy for 10.10.10.0
On Sunday, November 17, 2002, at 04:59 PM, Martin J. Muench wrote:

>> I'm new to the list and was hoping maybe someone could help me. These
>> commands work in Linux (and in this order), but not in FreeBSD/Mac OS 
>> X
>> as the arp and route commands are different:
>>
>> arp -s 10.10.10.0 00:00:ca:13:4b:54 -i eth1
>> arp -s 10.10.10.0 00:00:ca:13:4b:54 -i eth1
>> route add -net 10.10.10.0 netmask 255.255.255.0 dev eth1
>> route add default gw 10.10.10.0 dev eth1
>>
>> anyone know how i would change these commands to work with the FreeBSD
>> versions of arp and route?
>
> arp -s 10.10.10.0 00:00:ca:13:4b:54
> route add -net 0.0.0.0 10.10.10.0 255.255.255.0
>
> These should work just fine.
>
> Btw: reading the manpages arp(8) and route(8) might be a good idea.
>
>   - mjm
>


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C9C187AE-FA7A-11D6-B39A-0030656EB864>