IP address to interfaces.
Rajeev Bansal
rajeevb at intoto.com
Mon Nov 12 02:19:06 PST 2007
Hi All,
I am using the Busybox (v1.7.1) in my root file system, I need to
configure some default IP addresses to all my connected Ethernet
interfaces when my system comes up. To achieve this I have done the
following:
I have created a file "/etc/network/interfaces"
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 172.17.4.105
netmask 255.255.0.0
gateway 172.17.1.10
When I run ifup -a, it shows me
ifup: interface lo already configured
ifup: interface eth0 already configured
But there is no IP address is assigned to the interfaces, do I need to
do something else also? When I assign the IP address manually to my
interfaces it works fine.
One more doubt, when I run, ifconfig eth0 up, I get the following outcome.
# ifconfig eth0 up
[ 120.552835] e1000: eth0: e1000_request_irq: Unable to allocate MSI
interrupt
Error: -22
But it seems to be a harmless error to me as I can assign the IP to my
interface and it works, so any input why this warning message is coming
will also be very helpful to me.
Regards
Rajeev Bansal.
********************************************************************************
This email message (including any attachments) is for the sole use of the intended recipient(s)
and may contain confidential, proprietary and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended recipient,
please immediately notify the sender by reply email and destroy all copies of the original message.
Thank you.
Intoto Inc.
More information about the busybox
mailing list