Date: Thu, 29 Oct 1998 08:38:36 -0800 (PST) From: David Wolfskill <dhw@whistle.com> To: freebsd-questions@FreeBSD.ORG, neilson@www.nugate.com Cc: neilson@nugate.com Subject: Re: route to host on directly attached network Message-ID: <199810291638.IAA17377@pau-amma.whistle.com> In-Reply-To: <CMM.0.90.4.909630660.neilson@www.nugate.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Wed, 28 Oct 98 19:11:00 PST >From: "D. Alex Neilson" <neilson@www.nugate.com> >Route problem: Tell host 10.10.10.10 that host 10.10.11.11 > is directly reachable via interface vx1 >If 10.10.11.11 has ethernet address 04:20:38:af:eb:4c, it'd be >kewl if this would work > route add -host 10.10.11.11 04:20:38:af:eb:4c -interface vx1 >but of course it doesn't. Can I avoid ifconfig-ing a 10.10.11.0-net >address into 10.10.10.10 to make it work? Sure; just use a netmask that is appropriate for the actual network configuration. In the case you describe, if 10.10.11.11 is, in fact "directly reachable via" an interface with an IP address of 10.10.10.10, it would seem that a netmask of 255.255.0.0 (or bigger, such as 255.0.0.0) is appropriate for the network in question. david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 `v 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?199810291638.IAA17377>