Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45587 - /etc/ethers patch for net.eth0
Summary: /etc/ethers patch for net.eth0
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2004-03-24 04:22 UTC by Bash
Modified: 2004-09-12 18:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

add arp entries to system cache (net.eth0.patch,595 bytes, patch)
2004-03-24 04:23 UTC, Bash
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bash 2004-03-24 04:22:19 UTC
So, /etc/ethers conatins hw_addr and ip (man ethers). My patch for net.eth0 add entries to ARP table at start (/etc/init.d/net.eth0 start).

Reproducible: Always
Steps to Reproduce:
Comment 1 Bash 2004-03-24 04:23:37 UTC
Created attachment 27909 [details, diff]
add arp entries to system cache
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-06-26 18:02:21 UTC
Personally I think this should be a separate script, /etc/init.d/rarp, or something like that.  It doesn't really belong in net.eth0 since it's not specific to a certain interface.
Comment 3 Bash 2004-06-26 21:35:58 UTC
rarp - _revers_ arp (resolve ip by mac)
but this is only mac definition against mac-spoof, switch bugs and etc
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-08-01 17:53:36 UTC
It's *still* not right for net.eth0 because net.eth0 is a per-interface script.  
That said, the code looks fine, it just needs to be its own init script.
Comment 5 Bash 2004-09-12 18:48:21 UTC
Mb in future I do it :/