Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

homeshire

macrumors regular
Original poster
Jul 24, 2002
214
0
Ohio, looking toward Germany
I have no problem, but I'm curious about the information available through ifconfig in terminal. When I input the command, I get the following result:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:14:51:2b:4f:10
media: autoselect (none) status: inactive
supported media: none autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,flow-control> 10baseT/UTP <full-duplex,hw-loopback> 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX <full-duplex,flow-control> 100baseTX <full-duplex,hw-loopback> 1000baseT <full-duplex> 1000baseT <full-duplex,flow-control> 1000baseT <full-duplex,hw-loopback>
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078
lladdr 00:14:51:ff:fe:2b:4f:10
media: autoselect <full-duplex> status: inactive
supported media: autoselect <full-duplex>
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::214:51ff:fe7b:50eb%en1 prefixlen 64 scopeid 0x6
inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255
ether 00:14:51:7b:50:eb
media: autoselect status: active
supported media: autoselect

I wondered if anyone might take a moment to explain all this to me. I don't mean everything; I'm primarily interested in understanding the local and external IP address and the MAC address as they are located in this jumble. Anything else important as well.

A final point -- what information from here would i need to use ssh to connect to my parents computer for troubleshooting purposes?


thank you
 

RandomKamikaze

macrumors 6502a
Jan 8, 2009
900
56
UK
en0, en1 and fw1 are your interfaces.

en1 is interface you are currently using as its the interface with the IP address (inet) 10.0.1.2. inet6, is IPv6. Other stuff which will is sort've interesting is MTU size (at the default of 1500 and shouldn't be changed)

If you want to SSH to your parents computer, you don't need any information here.

If they are on the same LAN as you, you just need their IP address and then you would use "SSH user@x.x.x.x"

If they aren't on your LAN, and you want to do this over a WAN link, you would need their current public IP address, then you would simply SSH to that. However, on their router, you would need to setup port forwarding on the rotuer to forward the SSH port to their computer, which, to make life easy would have a static address or a DHCP reservation
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.