Re: [gentoo-user] arping network profile issue

2010-05-08 Thread Adam
On 05/08/10 15:25, Zhou Rui wrote: What I want is finding a gateway out with ARP, and then assign the correct gateway/route table, You cant discover a router with ARP. ARP finds the MAC address of a host that's associated with a given IP address. Ways of getting a ipv4 gateway are; - manual

Re: [gentoo-user] arping network profile issue

2010-05-08 Thread Zhou Rui
I found this in gentoo wiki, and the same configuration in /etc/conf.d/net.example http://en.gentoo-wiki.com/wiki/Network_profiles_with_arping I guess, it works like, first you find a specific IP/MAX pair w/ ARP, then a manual configuration according the IP/MAC. 2010/5/8 Adam a...@jaftan.com.au

Re: [gentoo-user] arping network profile issue

2010-05-07 Thread 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

Re: [gentoo-user] arping network profile issue

2010-05-07 Thread Zhou Rui
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 a...@jaftan.com.au On 05/06/10 03:35, Zhou Rui wrote: Hi folks, I

[gentoo-user] arping network profile issue

2010-05-05 Thread Zhou Rui
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