network info

Eric Schuele e.schuele at computer.org
Sat Jul 30 20:59:10 GMT 2005


Chris wrote:
> Glenn Dawson wrote:
> 
>>At 08:08 AM 7/30/2005, Sean wrote:
>>
>>
>>>What command can display all the network parameters assigned from
>>>dhcp, such DNS?
>>>I have looked at ifconfig and netstat but unless I missed a switch I
>>>do not see them as correct choices.
>>
>>
>>Not exactly one command, but you could do
>>
>>ifconfig && cat /etc/resolv.conf
> 
> 
> Toss an extra && sockstat -4 for even more info.
> 

And a pinch of '&& netstat -r' may be useful.

> 
>>If it's something you need to do frequently, you could make an alias for
>>it, or a shell script.
>>
>>-Glenn
>>
>>
>>
>>>Basically the equiv of ipconfig /all in Windows?
>>>
>>>                        Thanks
>>>                        Sean
> 
> 
> 
> 


-- 
Regards,
Eric


More information about the freebsd-questions mailing list