James Carlson wrote:
Martin Man writes:
Is this a bug, or feature? I'd assume ifconfig can detect the default netmask for A,B,C networks unlesse explicit netmask is specified.

It won't (and shouldn't) do that by default.  Try:

        getent netmasks 192.168.1.1

# ifconfig bge0:1 plumb
# getent netmasks 192.168.1.1
# ifconfig bge0:1 192.168.1.1
# ifconfig bge0:1 up
# netstat -rnv |grep 192
192.168.1.0 255.255.255.0 192.168.1.1 bge0:1 1500* 0 1 U 0 0


strange, tried once again and it seems to work as it should now, sorry for the noise and thanx for all replies :)

to make absolutely certain that you don't have a configured netmask
somewhere in your nsswitch search path.

thanx,
Martin
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to