Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2002 14:59:21 +0200 (EET)
From:      Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To:        Karl Timmermann <timmerk@tcimet.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Arp and Route Commands
Message-ID:  <200211211259.gALCxLvC000349@pm514-9.comsys.ntu-kpi.kiev.ua>
In-Reply-To: <08177E36-FA6F-11D6-B39A-0030656EB864@tcimet.net.lucky.freebsd.questions>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 17 Nov 2002 20:56:55 +0000 (UTC) in lucky.freebsd.questions, Karl Timmermann wrote:
> Hello,
> 
> 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

arp -s 10.10.10.0 00:00:ca:13:4b:54
arp -s 10.10.10.0 00:00:ca:13:4b:54

> route add -net 10.10.10.0 netmask 255.255.255.0 dev eth1

route add -net 10.10.10.0 -netmask 255.255.255.0 -interface eth1

> route add default gw 10.10.10.0 dev eth1

route add default 10.10.10.0 -interface eth1

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?200211211259.gALCxLvC000349>