Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] ifup gives "ifRTNETLINK answers: Invalid argument" error



I just spotted a mistake in what I was doing.

I was doing and ifdown, and then ifup with a bunch of line options ...

I meant to do ifdown, ifconfig then ifup, like so:


# ifdown eth1
# config eth1 10.1.1.2 netmask 255.255.255.0 broadcast 10.1.1.255
# ifup eth1

But this still gives me:

ifRTNETLINK answers: Invalid argument

But the interface seems to be up and configured properly ...

Am I right in assuming that I need to do an ifup after an ifdown + 
ifconfig? Or does an ifconfig automatically bring the interface up?

The man page for ifconfig don't state that it bring an interface up.

Thanks,

Jc


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links