stormking:~ admin$ networksetup -listallhardwareports cp: /Librar…

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
stormking:~ admin$ networksetup -listallhardwareports
cp: /Library/Preferences/SystemConfiguration/preferences.plist.old: Permission denied
 
Hardware Port: Internal Modem
Device: modem
Ethernet Address: N/A
 
Hardware Port: Bluetooth
Device: Bluetooth-Modem
Ethernet Address: N/A
 
Hardware Port: Ethernet
Device: en0
Ethernet Address: 00:0a:95:99:72:60
 
Hardware Port: FireWire
Device: fw0
Ethernet Address: 00:0a:95:ff:fe:99:72:60
 
Hardware Port: AirPort
Device: en1
Ethernet Address: 00:0d:93:82:ac:32
 
VLAN Configurations
===================
1
 

stormking:~ admin$ sudo networksetup -listnetworkserviceorder …

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
stormking:~ admin$ sudo networksetup -listnetworkserviceorder                                                                                          
An asterisk (*) denotes that a network service is disabled.
(1) Ethernet
(Hardware Port: Ethernet, Device: en0)
 
(*) Internal Modem
(Hardware Port: Internal Modem, Device: modem)
 
(*) Bluetooth
(Hardware Port: Bluetooth, Device: Bluetooth-Modem)
 
(*) FireWire
(Hardware Port: FireWire, Device: fw0)
 
(2) AirPort
(Hardware Port: AirPort, Device: en1)
 
(3) IPv4
(Hardware Port: L2TP, Device: )
1
 

[sysadmin@olympus ~]$ tail -50 /etc/sysconfig/network-scripts/ifc…

1
2
3
4
5
6
7
8
9
10
[sysadmin@olympus ~]$ tail -50 /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper)
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.255.255
HWADDR=00:15:17:5F:8A:64
IPADDR=192.168.128.173
NETMASK=255.255.0.0
NETWORK=192.168.0.0
ONBOOT=yes
1
 

[sysadmin@olympus ~]$ netstat -rn Kernel IP routing table Destina…

1
2
3
4
5
6
[sysadmin@olympus ~]$ netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
192.168.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0          0 eth0
1
 

stormking:~ admin$ netstat -rn Routing tables Internet: Destinat…

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
stormking:~ admin$ netstat -rn
Routing tables
 
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.0.1        UGSc        4       30    en0
127                127.0.0.1          UCS         0        0    lo0
127.0.0.1          127.0.0.1          UH          3     5487    lo0
169.254            link#4             UCS         0        0    en0
192.168.0/16       link#4             UCS         2        0    en0
192.168.0.1        0:d:b9:1f:c5:48    UHLW        5        0    en0   1198
192.168.0.243      0:21:29:67:89:b4   UHLW        1      574    en0   1123
192.168.128.170    127.0.0.1          UHS         0      174    lo0
 
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
ff01::/32                               ::1                             U           lo0
ff02::/32                               fe80::1%lo0                     UC          lo0
1
 

Filesystem Size Used Avail Use% Mounted on /dev/ma…

1
2
3
4
5
Filesystem             Size   Used  Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       2.9T   644G   2.1T  24% /
/dev/sda1              104M    43M    57M  43% /boot
tmpfs                  6.3G      0   6.3G   0% /dev/shm
1