Date: Fri, 22 Oct 1999 09:58:44 +0200 From: Graham Wheeler <gram@cequrux.com> To: Ruslan Ermilov <ru@ucb.crimea.ua>, Graham Wheeler <gram@cequrux.com> Cc: hackers@FreeBSD.ORG Subject: Re: aliasing a point-to-point interface Message-ID: <9910220959290C.17915@cequrux.com> In-Reply-To: <19991021202957.C83927@cequrux.com> References: <99102118512208.17915@cequrux.com> <19991021202957.C83927@cequrux.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Oct 1999, Ruslan Ermilov wrote: > On Thu, Oct 21, 1999 at 06:50:07PM +0200, Graham Wheeler wrote: > > Hi all > > > > Is it possible to assign an IP alias to a point to point interface (in my case, > > a sync PPP interface)? It doesn't seem to be possible, but perhaps I'm > > missing something... > > Yup, that's possible but is somewhat tricky: > > # ifconfig ptpN inet X.X.X.X X.X.X.X alias > # route delete -host X.X.X.X > # route add -host X.X.X.X -gateway 127.1 > # ping X.X.X.X I should have mentioned that ip forwarding is turned off so that routing via the loopback interface is not an option... -- Dr Graham Wheeler E-mail: gram@cequrux.com Cequrux Technologies Phone: +27(21)423-6065/6/7 Firewalls/Virtual Private Networks Fax: +27(21)24-3656 Data/Network Security Specialists WWW: http://www.cequrux.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9910220959290C.17915>