[parisc-linux] Trying to get HP-UX working

Piotr Strzyżewski gucio@zeus.polsl.gliwice.pl
Thu, 10 Jun 1999 10:57:12 +0200 (METDST)

Alan Cox wrote:
> >  >I can't however get HP/UX to set up an interface 
> >  >
> >  > netmask
> > 
> > Are you getting errors or do you just need to know where to make changes? 
> > If it's the former, post the errors and maybe someone can help. If its the 
> > latter, you probably want to edit /etc/rc.config.d/netconf
> Umm webconsole doesnt support cut/paste
> ifconfig lan0 netmask
> ifconfig: ioctl (SIOCSIFNETMASK): bad value
> Which is kind of a problem

Alan - this is from man ifconfig on HP-UX 10.20:

     A supernet is a collection of smaller networks.  Supernetting is a
     technique of using the netmask to aggregate a collection of smaller
     networks into a supernet. This technique is particularly useful for
     class C networks.  A Class C network can only have 254 hosts.  This
     can be too restrictive for some companies.  For these companies, a
     netmask that only contains a portion of the network part can be
     applied to the hosts in these class C networks to form a supernet.
     This supernet netmask should be applied to those interfaces that
     connect to the supernet using the ifconfig command.  For example, a
     host can configure its interface to connect to a class C supernet,
     192.6, by configuring an IP address of and a netmask of to its interface.

And this is the example on HP-UX 10.20:

# ifconfig lan0 netmask
# ifconfig lan0
        inet netmask ffffffe0 broadcast
# ifconfig lan0 netmask
ifconfig: ioctl (SIOCSIFADDR): Can't assign requested address
# ifconfig lan0
# ifconfig lan0
        inet netmask ffffff00 broadcast

I can only say - 'This is HP :-)'. Their ideas are sometimes strange for
me. :-).


gucio -> Piotr Strzyżewski
E-mail: gucio@zeus.polsl.gliwice.pl