Re: Arp and Route Commands

2002-11-21 Thread Andrey Simonenko
On Sun, 17 Nov 2002 20:56:55 + (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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Arp and Route Commands

2002-11-17 Thread Karl Timmermann
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
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?


Thanks!

Karl


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message