From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 14:49:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 230071065672 for ; Tue, 1 Sep 2009 14:49:09 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com [209.85.211.191]) by mx1.freebsd.org (Postfix) with ESMTP id D09F28FC29 for ; Tue, 1 Sep 2009 14:49:08 +0000 (UTC) Received: by ywh29 with SMTP id 29so31019ywh.33 for ; Tue, 01 Sep 2009 07:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=LNFOW//vHZeSwbICcX0UdEPCtLSM6IkFRW0l9yspnA8=; b=ZYGfsxhJpVFt0ZUh6VzerLyl+aoIK4SQfAklmhfKqjxDBvUcc/cj8S9X35sUAkXZyS wESZUiXgp+hwS5DQC57qVaqi41/9l3nhSzPoaXFq7jnUrsl9GRUSHh/Jl6boRsX/Bi1C o65nhNzkac4JZF73WSstJBncdWDVe8Cp6opr0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=UO6i8M4uY7ngL54h4R6gzfA0lqMVvELWIWrYZ9lAmn3AY9gZlD6jteHNWgrxM3dkC6 wbXjikP1mAiTzxc16qy40TwUtXZ3BI8RlJAFX7Ee9phb5jbUYMQ61aOtl+JUTWwtEH/b lI50BdmDNrcPpxzPclvLMrpCj0D/2ILvfVvd8= MIME-Version: 1.0 Received: by 10.150.238.12 with SMTP id l12mr11785647ybh.125.1251816548287; Tue, 01 Sep 2009 07:49:08 -0700 (PDT) In-Reply-To: <4f760c6a0909010620u691e4e0et9e5d624443cc2a8f@mail.gmail.com> References: <4f760c6a0909010620u691e4e0et9e5d624443cc2a8f@mail.gmail.com> Date: Tue, 1 Sep 2009 09:49:08 -0500 Message-ID: <6201873e0909010749m359888eby25e8d3aae9e1d36d@mail.gmail.com> From: Adam Vande More To: claudiu vasadi Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: ifconfig -alias - removed wrong ip ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 14:49:09 -0000 On Tue, Sep 1, 2009 at 8:20 AM, claudiu vasadi wrote: > Hello guys, > > > I have a 7.2-stable Freebsd running on a 2.66 Ghz 478 socket mobo with 1 GB > DDR1 ram. > > I added another ip on my rl0 interface, brought it up, everything was fine > (until i screwed it up :( ). I wanted then to remove the alias IP but i > wrote a wrong command (ifconfig rl0 -alias) and since then I have no access > to the box. I then turned to my vmware FreeBSD to reproduce the situation > and I was stuned to find out that that command I wrote, removes the > "normal" > IP and not the alias one. OK, normaly (I think) i should be able to connect > to the alias IP..... well, It's not the case > > > 2 things here: > > 1.) Is it normal for the ifconfig rl0 -alias to remove the "normal" IP and > not the alias one ? (I think that by this syntax it could be right but the > parameter "-alias" is specified and the OS should know to remove the alias > IP and not the normal IP) > Yes > 2) I dnt really understand why am I not able to connect to the second > (alias) ip? It seems that somehow it's dependant to the "normal" one > Yup, you need to re-init networking to regain access. > > > I must say I was not really reading the handbook for the 2nd point here.... > will do it now though > > > > PS: box is 3 countryes away from me so manual intervention is out of the > question (although I have some sort of online-suport (If my 73 years old > grandmother can be called that :)) ) ) > probably easiest thing to do is have her reboot. Of course you can also have her type /etc/rc.d/netif restart assuming your /etc/rc.conf is set correctly. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Adam Vande More