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>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=koi8-r" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>How can I route host via -interface?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>#route add -host 192.168.1.1 -netmask 
255.255.255.255 -interface xxx</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>or</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT face=Arial size=2>#route add -host 192.168.1.1 -interface 
xxx</FONT></DIV></DIV></FONT><FONT face=Arial size=2></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>because bouth of these commands add ARP alias to 
interface 'xxx'. When delete ARP entry - route is missed too.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Where I am wrong?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Dimitar Peikov<BR>----------------------<BR>E-mail: 
<A href="mailto:mitko@koral.bg">mitko@koral.bg</A></FONT></DIV></BODY></HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?017f01bf82b2$30d02480$0700a8c0>