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

Re: Changing IP address



On 30-May-99 George Bonser wrote:
> On Sun, 30 May 1999, Doug Thistlethwaite wrote:
> 
>> So far I have had a couple of people help and this is what we have come up
>> with.
>> 
>> To change the IP address of a system the following files need to be
>> modified.
>> 
>> ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
>> 
>> executes without any errors.
>> 
>> route add -net ${NETWORK}
>> 
>> executes and gives the error SIOCADDR: invalid argument
> 
> Yeah, if you are using a 2.2.x kernel, comment this line out, the network
> route is auto-added when you ifconfig the interface.

I was having this problem just last night and could not figure out where this
SIOCADDR error was coming from.

--
Andrew


Reply to: