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

Re: pcmcia ethernet cards



On Fri, Dec 03, 1999 at 01:07:08AM +0100, Raph wrote:
> as in:
> 
> (eth0 already configured)
> ifconfig eth0:0 192.168.2.1 network 192.168.2.255 broadcast 255.255.255.0 up

I'm afraid these options don't quite look right. It's more likely you'd want:

ifconfig eth0:0 192.168.2.1 netmask 255.255.255.0

The value you tried to set for "network" is your broadcast address, while the 
"broadcast" value you gave is the netmask. There is no network option for 
ifconfig, as both that and broadcast can be derived from the IP address and 
netmask. There is, however, a broadcast option in case you want to broadcast 
on the 0 address instead of the more common 255. 


Reply to: