[SC.LUG] Unix Network configuration help please!

Ewan Leith ewan at longwords.org
Sun Oct 12 20:37:41 BST 2003


netstat -i

will tell you which interfaces you have.

im surprised it's not lan0, maybe lan1?

Neil Lucock wrote:
> On Sunday 12 Oct 2003 6:32 pm, you wrote:
> 
>>We've got a couple of HP-UX machines, their networking is a little odd,
>>but you should be able to type:
>>
>>ifconfig lan0
>>
>>and get something like this in response:
>>lan0: flags=843<UP,BROADCAST,RUNNING,MULTICAST>
>>         inet 10.0.0.128 netmask ff000000 broadcast 10.255.255.255
> 
> 
> I get practically the same, the second line reads 10.0.0.9 and the netmask is 
> ff000000, broadcast 255.255.255.255
> 
> 
>>something like this command should get you running:
>>
>>ifconfig lan0 address 10.0.0.9 netmask 0xffffff00 broadcast 10.0.0.255
>>
>>this should get you on your lan, assuming .9 is free.
> 
> 
> I tried that, but I get an error;
> 	ifconfig: no such interface
> Does HP-UX need some other parameter in the command? I know HP-UX doesn't do 
> ifconfig -a
> thanks for the suggestion,
> Neil
> 
> _______________________________________________
> SC mailing list
> SC at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/sc
> 




More information about the SC mailing list