Gentoo Archives: gentoo-user

From: Zhou Rui <ghoulr@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: arping network profile issue
Date: Wed, 05 May 2010 18:12:13
Message-Id: y2z79dfdffe1005051038i2bfd49c3se80b716462b69ccb@mail.gmail.com
In Reply to: [gentoo-user] arping network profile issue by Zhou Rui
1 Sorry it's a test profile, to avoid misunderstanding, post my profile here,
2 and this file not working too.
3
4 $cat /etc/conf.d/net
5 # This blank configuration will automatically use DHCP for any net.*
6 # scripts in /etc/init.d. To create a more complete configuration,
7 # please review /etc/conf.d/net.example and save your configuration
8 # in /etc/conf.d/net (this file :]!).
9
10 dns_domain="vm"
11 config_eth0=( "arping" )
12
13 gateways_eth0=( "192.168.1.254,,192.168.1.114 192.168.1.1,,192.168.1.114" )
14
15 config_192168001001=( "192.168.1.114/24" )
16 routes_192168001001=( "default via 192.168.1.1" )
17
18 config_192168001254=( "192.168.1.114/24" )
19 routes_192168001254=( "default via 192.168.1.254" )
20
21 dns_servers_eth0=( "8.8.8.8 8.8.4.4" )
22
23 fallback_eth0=( "dhcp" )
24 dhcp_eth0="nodns"
25
26 2010/5/6 Zhou Rui <ghoulr@×××××.com>
27
28 > Hi folks,
29 > I setup a network interface to switch in two different network with
30 > different gateways using config_eth0=( "arping" ), and I can get gateway mac
31 > when use arping2 command directly.
32 > But the /etc/init.d/net.eth0 start always fails, can you help me to find
33 > the issue out?
34 >
35 > $ cat /etc/conf.d/net
36 > # This blank configuration will automatically use DHCP for any net.*
37 > # scripts in /etc/init.d. To create a more complete configuration,
38 > # please review /etc/conf.d/net.example and save your configuration
39 > # in /etc/conf.d/net (this file :]!).
40 >
41 > dns_domain="vm"
42 > config_eth0=( "arping" )
43 >
44 > gateways_eth0=( "192.168.1.254,,192.168.1.114 192.168.1.1,,192.168.1.114" )
45 >
46 > #config_eth0=( "192.168.1.114/24" )
47 > #dns_servers_eth0=( "8.8.8.8 8.8.4.4" )
48 > #routes_192168001001=( "default via 192.168.1.1" )
49 >
50 > config_192168001254=( "192.168.1.114/24" )
51 > routes_192168001254=( "default via 192.168.1.254" )
52 >
53 > dns_servers_eth0=( "8.8.8.8 8.8.4.4" )
54 >
55 > fallback_eth0=( "dhcp" )
56 > dhcp_eth0="nodns"
57 >
58 > $ sudo arping2 -0 -r -c 1 -i eth0 -S 192.168.1.114 192.168.1.254
59 > 00:1d:xx:xx:xx:xx
60 >
61 > Thanks for your help.
62 >
63 > --
64 > BR,
65 > Zhou Rui
66 >
67
68
69
70 --
71 BR,
72 Zhou Rui

Replies

Subject Author
Re: [gentoo-user] Re: arping network profile issue Mick <michaelkintzios@×××××.com>