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

Re: Changing IP address



I am using a 2.036 kernel I believe.

One thing to note is this system was working perfectly on the network before I was
forced to change my IP addresses.  All I want to do is setup the new IP addresses in
the system.  I would think the only thing I would need to do is set the correct IP and
netmasks.

Doug

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.
>
> George Bonser
>
> Welcome to Wit's End


Reply to: