Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 1999 20:29:57 +0300
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        Graham Wheeler <gram@cequrux.com>
Cc:        hackers@FreeBSD.org
Subject:   Re: aliasing a point-to-point interface
Message-ID:  <19991021202957.C83927@relay.ucb.crimea.ua>
In-Reply-To: <99102118512208.17915@cequrux.com>; from Graham Wheeler on Thu, Oct 21, 1999 at 06:50:07PM %2B0200
References:  <99102118512208.17915@cequrux.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA of the
ru@ucb.crimea.ua	United Commercial Bank,
ru@FreeBSD.org		FreeBSD committer,
+380.652.247.647	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age


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?19991021202957.C83927>