Date: Mon, 18 Nov 2002 09:23:36 +0500 From: "Dmitry A. Bondareff" <freebsd@mmk.ru> To: "Karl Timmermann" <timmerk@tcimet.net>, <freebsd-net@FreeBSD.ORG> Subject: Re: Arp and Route Commands Message-ID: <006901c28eba$43829dd0$02010101@wall> References: <F3F3295E-FA6E-11D6-B39A-0030656EB864@tcimet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! If you need route throw router with MAC 00:00:ca:13:4b:54 do like this: route add -net 10.10.10.0 -interface eth1 route add default 10.10.10.1 If the network 10.10.10.0 routing by your FreeBSD box: you must add route on the central router to network 10.10.10.0 throw your FreeBSD. For Cisco ex: ip route 10.10.10.0 255.255.255.0 x.x.x.x where x.x.x.x - IP address of FreeBSD box. Regards, Dimasic. ----- Original Message ----- From: "Karl Timmermann" <timmerk@tcimet.net> To: <freebsd-net@FreeBSD.ORG> Sent: Monday, November 18, 2002 1:55 AM Subject: Arp and Route Commands > 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 majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > 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?006901c28eba$43829dd0$02010101>