Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Feb 2000 14:40:42 +0200
From:      "Dimitar Peikov" <mitko@koral.bg>
To:        <freeBSD-questions@FreeBSD.ORG>
Subject:   Routing host
Message-ID:  <017f01bf82b2$30d02480$0700a8c0@koral.bg>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_017B_01BF82C2.F42E3B00
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: 7bit

How can I route host via -interface?

#route add -host 192.168.1.1 -netmask 255.255.255.255 -interface xxx

or

#route add -host 192.168.1.1 -interface xxx

because bouth of these commands add ARP alias to interface 'xxx'. When
delete ARP entry - route is missed too.

Where I am wrong?

Dimitar Peikov
----------------------
E-mail: mitko@koral.bg

------=_NextPart_000_017B_01BF82C2.F42E3B00
Content-Type: text/html;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dkoi8-r" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>How can I route host via =
-interface?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>#route add -host 192.168.1.1 -netmask=20
255.255.255.255 -interface xxx</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>or</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>#route add -host 192.168.1.1 -interface =

xxx</FONT></DIV></DIV></FONT><FONT face=3DArial size=3D2></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>because bouth of these commands add ARP =
alias to=20
interface 'xxx'. When delete ARP entry - route is missed =
too.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Where I am wrong?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Dimitar =
Peikov<BR>----------------------<BR>E-mail:=20
<A =
href=3D"mailto:mitko@koral.bg">mitko@koral.bg</A></FONT></DIV></BODY></HT=
ML>

------=_NextPart_000_017B_01BF82C2.F42E3B00--



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?017f01bf82b2$30d02480$0700a8c0>