Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2001 20:15:54 -0300 (ART)
From:      Fernando Gleiser <fgleiser@cactus.fi.uba.ar>
To:        Peter Warrick <peter@guest-tek.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Redhat Linux Route command translated to FreeBSD?
Message-ID:  <20010724201354.T75434-100000@cactus.fi.uba.ar>
In-Reply-To: <200107242240.QAA21661@mail.guest-tek.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Let's say the interface's name is xl0 in FreeBSD, then you say

route add -host 1.2.3.4 -interface xl0

Or, man route for more details. =0)


			Fer



On Tue, 24 Jul 2001, Peter Warrick wrote:

> Anyone have any idea what the direct translation of this redhat command
> would be to BSD??
>
> route add -host 1.2.3.4 dev eth1:0
>
> eth1:0 is an alias on the eth1 network. eth1:0's IP is 1.2.3.1. What
> that command does is say that 1.2.3.4 is directly connected to the
> eth1:0 network. This means that  it is routing this 1.2.3.4 IP to
> 1.2.3.1. Even though these addresses seem to be on the same subnet. They
> actually aren't in my configuration.
>
> Thanks for any help.. I've been stuck on getting this to work on my BSD
> box for about a month now. :(
>
> Pete
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


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?20010724201354.T75434-100000>