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 1O9j2E-0008MZ-Bf for garchives@archives.gentoo.org; Wed, 05 May 2010 18:09:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88DF8E095D for ; Wed, 5 May 2010 18:09:25 +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 A3703E071D for ; Wed, 5 May 2010 17:35:47 +0000 (UTC) Received: by vws3 with SMTP id 3so222920vws.40 for ; Wed, 05 May 2010 10:35:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=z2VjvyRwkTNQVDq2ZVQomVhmoBT75+xUDkFFQsLQLvY=; b=k1az0e0+x4vfFTT4HF9vNPIVxJSisXt1HPzTFEq9KqH6mCRgXkKj8x9A9xhFs+lnJo Hyas03phtkvbBSS9j2ld6x4vccBFjyCnUBWYAjqc7QXE0Dqo5ZJtjfbkq9abSS/B9+4e AWQOdq1U3VznCYx72GpfusQYQhOvcqbAHdziI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=FtblqaiuDCJ7DjmVpGyfYLPfw62VOdvAt0l+WnN1xEpsfmGgT/s/LMSYtIXrNOtMQj oKK2qGzZIT+Ob8p3ZYvRO02hfeGSw4lEkbPNpUrT9tCLD6mMO+mQ9zGxIcbCcD/JzKmD 62+fEnZRQH6n3eH5CfZTUpLdkwU2n/CzHq4o0= 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.62.199 with SMTP id y7mr647410vch.80.1273080946715; Wed, 05 May 2010 10:35:46 -0700 (PDT) Received: by 10.220.169.8 with HTTP; Wed, 5 May 2010 10:35:46 -0700 (PDT) Date: Thu, 6 May 2010 01:35:46 +0800 Message-ID: Subject: [gentoo-user] arping network profile issue From: Zhou Rui To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=e0cb4e887f4999a5170485dc41ab X-Archives-Salt: 0f2cfa1d-c8d9-4513-abab-4232d24a6315 X-Archives-Hash: d9f668778cef5e78970a641f8d13834d --e0cb4e887f4999a5170485dc41ab Content-Type: text/plain; charset=UTF-8 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? $ cat /etc/conf.d/net # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). dns_domain="vm" config_eth0=( "arping" ) gateways_eth0=( "192.168.1.254,,192.168.1.114 192.168.1.1,,192.168.1.114" ) #config_eth0=( "192.168.1.114/24" ) #dns_servers_eth0=( "8.8.8.8 8.8.4.4" ) #routes_192168001001=( "default via 192.168.1.1" ) config_192168001254=( "192.168.1.114/24" ) routes_192168001254=( "default via 192.168.1.254" ) dns_servers_eth0=( "8.8.8.8 8.8.4.4" ) fallback_eth0=( "dhcp" ) dhcp_eth0="nodns" $ sudo arping2 -0 -r -c 1 -i eth0 -S 192.168.1.114 192.168.1.254 00:1d:xx:xx:xx:xx Thanks for your help. -- BR, Zhou Rui --e0cb4e887f4999a5170485dc41ab Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi folks,
I setup a network interface to switch in two different networ= k with different gateways using config_eth0=3D( "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 o= ut?

$ cat /etc/conf.d/net
# This blank confi= guration will automatically use DHCP for any net.*
# scripts in /= etc/init.d. =C2=A0To create a more complete configuration,
# plea= se review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).

dns_dom= ain=3D"vm"
config_eth0=3D( "arping" )

gateways_eth0=3D( "192.168.1.254,,192.168.1.114 192.= 168.1.1,,192.168.1.114" )

#config_eth0=3D( "192.168.1.114/24" )
#dns_servers_eth0=3D( "8.8.= 8.8 8.8.4.4" )
#routes_192168001001=3D( "default via 19= 2.168.1.1" )

config_192168001254=3D( "192.168.1.114/24" )
routes_192168001254=3D( &= quot;default via 192.168.1.254" )

dns_servers= _eth0=3D( "8.8.8.8 8.8.4.4" )

fallback_eth0=3D( "dhcp" )
dhcp_eth= 0=3D"nodns"

$ sudo arping2 -0 -r -c 1 -i= eth0 -S 192.168.1.114 192.168.1.254
00:1d:xx:xx:xx:xx

Thanks for your help.

--
BR,
Zhou Rui
--e0cb4e887f4999a5170485dc41ab--