Results 1 to 3 of 3
Hi,
Fairly new to linux (using slackware) and trying to work out how to create a bash script to provide a list of host names and ip addresses of all ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-16-2007 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 1
Need Network Help - New to linux
Hi,
Fairly new to linux (using slackware) and trying to work out how to create a bash script to provide a list of host names and ip addresses of all machines running on a network.
Not asking for a full solution, just which commands to start with
.
Thanks
Nick
- 04-17-2007 #2
"arp -en" or "/sbin/arp -en" shows all the peers on a network with IP addresses, but without hostnames.
Bus Error: Passengers dumped. Hech gap yo'q.
- 04-20-2007 #3Just Joined!
- Join Date
- Oct 2006
- Location
- zimbabwe
- Posts
- 3
netork id's
2 display all computers on a network u need to first send a broadcast message to all computers on your network so that they reply n you get their ip and MAC addresses. so the first command is : ping -b network-id then the command :arp -en.


Reply With Quote
