From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OAcYL-000779-Py for garchives@archives.gentoo.org; Sat, 08 May 2010 05:26:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 970BFE055D; Sat, 8 May 2010 05:25:02 +0000 (UTC) Received: from mail-vw0-f53.google.com (mail-vw0-f53.google.com [209.85.212.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 6F224E055D for ; Sat, 8 May 2010 05:25:02 +0000 (UTC) Received: by vws18 with SMTP id 18so192989vws.40 for ; Fri, 07 May 2010 22:25:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=0o9eEjnVpOoJpHYEnXzrBPLrCcQRBHJVcTry8Hrw/Pk=; b=TWvCdSqI52cY+/xOccKBgn2ii2Ju9BXfeySj4Na8s2KSXrRMDoYh5i1czcZ6QGqt74 ABmT/DRE6JzmerG8TUkZsQAXDFdtZeuf0YJaKgStoyt3rs2mamVJUG0i2vSyYxqybK0l kS3n07tSEDkf3W2yAua1TacswKObYoxCC0EPw= 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 :content-type; b=Qc25G4ERuaQ1GbQcbhkihtIWq7dOx/y18HHXG9sn90O17ApUG22vIsevelr+/Z3Hy9 1n+ZuOyCGsD42JxQQhEj2Pr9Q4q4ds4oWG85J9yQICYBlG8yzN+nPZIqL4tgGAcR4PtM e1GAm+In/eu8PFnUuZJKAtjWmOFAgc6vuWwQY= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.220.47.219 with SMTP id o27mr810071vcf.69.1273296301998; Fri, 07 May 2010 22:25:01 -0700 (PDT) Received: by 10.220.169.8 with HTTP; Fri, 7 May 2010 22:25:01 -0700 (PDT) In-Reply-To: <4BE3F9DD.7060302@jaftan.com.au> References: <4BE3F9DD.7060302@jaftan.com.au> Date: Sat, 8 May 2010 13:25:01 +0800 Message-ID: Subject: Re: [gentoo-user] arping network profile issue From: Zhou Rui To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=0016e6476154c6414e04860e658e X-Archives-Salt: 1af8e4d1-74aa-43c0-86e0-78f0d4716431 X-Archives-Hash: 5d61c11fd2162468544b844d6ba3d96b --0016e6476154c6414e04860e658e Content-Type: text/plain; charset=UTF-8 What I want is finding a gateway out with ARP, and then assign the correct gateway/route table, stuff in the configuration can be found in /etc/conf.d/net.example. BTW, what's "IP level stuff" meaning? thanks. 2010/5/7 Adam > On 05/06/10 03:35, Zhou Rui wrote: > > Hi folks, > > I setup a network interface to switch in two different network with > > different gateways using config_eth0=( "arping" ), and I can get gateway > mac > > when use arping2 command directly. > > But the /etc/init.d/net.eth0 start always fails, can you help me to find > the > > issue out? > > I cant understand what you're trying to achieve. IP will always do the > arp for you so just set up the IP level stuff and whatever you're trying > to do should work. > > > dns_domain="vm" > > config_eth0=( "arping" ) > > AFAICT This means you want to try to find a free address in the > 169.254.x.x auto self configuration range - is that what you want? > > > gateways_eth0=( "192.168.1.254,,192.168.1.114 192.168.1.1,,192.168.1.114" > ) > > As none of those addresses are local, they cant be used as a gateway for > a 169.254 address. > > -- BR, Zhou Rui --0016e6476154c6414e04860e658e Content-Type: text/html; charset=UTF-8 What I want is finding a gateway out with ARP, and then assign the correct gateway/route table, stuff in the configuration can be found in /etc/conf.d/net.example.
BTW, what's "IP level stuff" meaning? thanks.

2010/5/7 Adam <adam@jaftan.com.au>
On 05/06/10 03:35, Zhou Rui wrote:
> Hi folks,
> I setup a network interface to switch in two different network with
> different gateways using config_eth0=( "arping" ), and I can get gateway mac
> when use arping2 command directly.
> But the /etc/init.d/net.eth0 start always fails, can you help me to find the
> issue out?

I cant understand what you're trying to achieve. IP will always do the
arp for you so just set up the IP level stuff and whatever you're trying
to do should work.

> dns_domain="vm"
> config_eth0=( "arping" )

AFAICT This means you want to try to find a free address in the
169.254.x.x auto self configuration range - is that what you want?

> gateways_eth0=( "192.168.1.254,,192.168.1.114 192.168.1.1,,192.168.1.114" )

As none of those addresses are local, they cant be used as a gateway for
a 169.254 address.




--
BR,
Zhou Rui
--0016e6476154c6414e04860e658e--