From owner-freebsd-questions@freebsd.org Mon Feb 20 00:56:33 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11212CE629A for ; Mon, 20 Feb 2017 00:56:33 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CCA251D10 for ; Mon, 20 Feb 2017 00:56:32 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x22a.google.com with SMTP id g18so18977006ioe.0 for ; Sun, 19 Feb 2017 16:56:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=lJ51x55HiBWBzH7vSCfgGGeXd4FmOgIjrYL+5WBMnVg=; b=rsRz9HCR4h+Rl8jmra4nwHMZKDtnS33Epnmur7e0/XuEf5D9fq8nHMtchefQbaGiTA FIOqUtl83E2o2XRoQfoumP36K1UTomWw/Phi+tUOGL8wo+DgEJYNF0rxM16HNrkwJqVW mskywISriof7k2le2TX4CIT2RBV49Cg2U0s1irivXGAhzAGxp3rid6MTzvY7xvmOc3lx NPtfDkWKlIT02ApEClu7PTFECrzZ+BUSe6WP6FwXay8lnRbHhU97VUgUEhSkgAglDfIO EHa4vrl7dcMEOgRFz4j9XvQdlOT01KVbXO8QPtet39/w2tEbgpGRZ8EK3GAoPIqE2ETc tZDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=lJ51x55HiBWBzH7vSCfgGGeXd4FmOgIjrYL+5WBMnVg=; b=D6Fpw/nCXUfiIKWyWJRyAvwKoDorqhJF+2l3yBeBqgehi5y/Nyb22Vx+qu0DuoCyWF a99ONmXznFjyR5mvwB5EFh7mK+ZxOOxx709/MUXsNbeVwcCXP7/+HQUY/RzK9eryWREW 6goQUTkd/p6CDQW3JTVJ+WYpo96cYu0sPL6bhSjayQds8gRmR75s+MnxDmkUkN7pqeoE RrKh2yiCdRl4rKR3DolJ7xYBTKPAN79yxPeoP0t9CsHpnxtN3pYV3EeEKsIgBxm64j2V xbSf4Rt/+zWLf+1oA4wMS182lqTWMy7Nz7JUbPKXjautw8epTKpV6jcooDyPaD2zXXr9 EuPQ== X-Gm-Message-State: AMke39nZ5b16hG69Pu0NB+Neuhpa7FgLk2wvmhYPYecqXadmOPmK7vry+oIWLKa4KJontw== X-Received: by 10.107.30.148 with SMTP id e142mr14782010ioe.81.1487552192169; Sun, 19 Feb 2017 16:56:32 -0800 (PST) Received: from [10.0.10.3] (cpe-24-165-207-226.neo.res.rr.com. [24.165.207.226]) by smtp.googlemail.com with ESMTPSA id i203sm8409778ioi.45.2017.02.19.16.56.31 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 19 Feb 2017 16:56:31 -0800 (PST) Message-ID: <58AA3EE3.50400@gmail.com> Date: Sun, 19 Feb 2017 19:57:07 -0500 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Ben Woods CC: "freebsd-questions@freebsd.org" Subject: Re: vimage and ipv4 addresses References: <58A4D488.20709@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2017 00:56:33 -0000 Ben Woods wrote: > > On Thu, 16 Feb 2017 at 6:22 am, Ernie Luzar > wrote: > > Testing RELEASE 11.0 vimage. Using the bridge/epair method to configure > network access for vnet jails. Issuing "ifconfig epairXb ipv4-address" > command. A single ip address works fine, but if I say > 10.0.10.2,10.10.10.3 I get error saying "bad value" If I issue the > ifconfig command two times, once using each ip address then only the > last ip address issued shows on the epairxb ifconfig list in the vnet > jail. Is this telling me that a vnet jail can only have a single ipv4 ip > address? Is the syntax of the command incorrect? > > On the other hand doing basically the same thing with ipv6 does not work > that way. If I issue "ifconfig epairXb int6 ipv6-address" using a single > ipv6 ip address it works fine, but if I say fc00::2,fc00::3 I get error > saying "bad value" If I issue the ifconfig command two times, once using > each ip address then both ipv6 address issued shows on the epairxb > ifconfig list in the vnet jail. > > Any input greatly appreciated > > > > I believe you need to use the alias keyword to set multiple ip addresses > on an interface. > > See this handbook article on how to set it in /etc/rc.conf > > https://www.freebsd.org/doc/handbook/configtuning-virtual-hosts.html > > > See the ifconfig(8) man page for how to set it on the fly: > > http://man.freebsd.org/ifconfig > > > Good luck! > > -Ben > > -- > > -- > From: Benjamin Woods > woodsb02@gmail.com Thanks for the pointer. Get things working now.