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

Re: ifconfig eth0:1 up, says - Cannot assign requested address

Deboo wrote:

> I am not able to set up ip aliasing on eth0.

> deboo@linux:~/$ sudo ifconfig eth0:0 up
> SIOCSIFFLAGS: Cannot assign requested address

You are using ifconfig where you should be using ifup. See the man pages for
both programs for their proper syntax.

> deboo@linux:~/$ cat /etc/network/interfaces

> iface eth0 inet static

> iface eth0:1 inet static

Where's eth0:0? ifup won't work for eth0:0 without a section for it.

>  Second, if you see the output of ifconfig eth0 above, there ar 2293
>  collisions. What are these?

Collisions occur when two computers on an shared Ethernet segment try to
send data at the same time. With hubs, some collisions are inevitable.


Reply to: