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

Re: Changing IP address



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.


George Bonser

Welcome to Wit's End


Reply to: