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

Re: SIOCAIFADDR: File Exists on network startup



On Fri, Dec 01, 2000 at 10:09:18AM -0500, Roelker, Daniel J. wrote:
> The default ipf rules are installed.
> 
> pass out from any to any
> pass in from any to any
> 
> two network interfaces:
> 
> hostname.fxp0
> inet 1.1.1.1 255.255.255.0 NONE
> hostname.rl0
> inet 1.1.1.2 255.255.255.0 NONE
...
> The exact error is on startup:
> starting network
> ifconfig: SIOCAIFADDR: File Exists

You have two interfaces on the same network (1.1.1.0/24) with the same
netmask. Suppose the kernel should send a packet to 1.1.1.253. Which
interface should it use ? That's the problem here.

If you want two IPs, just add an alias to the interface.

-- 
Rémi