On 2008-07-24 14:05:36 +0200, Thorbjørn Ravn Andersen
<thunderaxiom@gmail.com> said:
> Hvad er uddata fra "ifconfig -a"
Mac-G4
thomasschreiber$ ifconfig -a
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
inet6 fe80::203:93ff:feac:6bda%en0 prefixlen 64 scopeid 0x4
inet 10.0.1.13 netmask 0xffffff00 broadcast 10.0.1.255
ether 00:03:93:ac:6b:da
media: autoselect (100baseTX <full-duplex,flow-control>) status: active
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 2030
lladdr 00:03:93:ff:fe:ac:6b:da
media: autoselect <full-duplex> status: inactive
supported media: autoselect <full-duplex>
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::20e:a6ff:fe93:fc1b%en1 prefixlen 64 scopeid 0x6
inet 10.0.1.199 netmask 0xffffff00 broadcast 10.0.1.255
ether 00:0e:a6:93:fc:1b
media: autoselect status: active
supported media: autoselect
> og "netstat -rn" i Terminal.app?
Mac-G4
thomasschreiber$ netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 10.0.1.1 UGSc 18 4 en0
10.0.1/24 link#4 UCS 2 0 en0
10.0.1.1 0:16:cb:c5:cb:5d UHLW 18 62 en0 615
10.0.1.13 127.0.0.1 UHS 0 0 lo0
10.0.1.199 127.0.0.1 UHS 0 1 lo0
10.0.1.255 ff:ff:ff:ff:ff:ff UHLWb 0 24 en0
127 127.0.0.1 UCS 0 0 lo0
127.0.0.1 127.0.0.1 UH 0 0 lo0
169.254 link#4 UCS 0 0 en0
Internet6:
Destination Gateway
Flags Netif Expire
::1 link#1
UHL lo0
fe80::%lo0/64 fe80::1%lo0
Uc lo0
fe80::1%lo0 link#1
UHL lo0
fe80::%en0/64 link#4
UC en0
fe80::203:93ff:feac:6bda%en0 0:3:93:ac:6b:da
UHL lo0
fe80::%en1/64 link#6
UC en1
fe80::20e:a6ff:fe93:fc1b%en1 0:e:a6:93:fc:1b
UHL lo0
ff01::/32 ::1
U lo0
ff02::/32 fe80::1%lo0
UC lo0
ff02::/32 link#4
UC en0
ff02::/32 link#6
UC en1
--
Med venlig hilsen
Thomas Schreiber
http://mayfly.dk