Using the ifconfig Command

Use the ifconfig -a command on the target host to verify that ports are in the UP state.

  1. Log in as root on the active server.
  2. Enter the following command to test the interfaces:

    # ifconfig -a

    Verify the output. The successful completion is indicated by the word UP in the output, which is highlighted in bold in Figure 1 and Figure 2. A failure is indicated by the absence of the word UP in the output.

    Single Subnet Configuration
    bond0     Link encap:Ethernet  HWaddr 00:00:17:0F:2D:06
              inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::200:17ff:fe0f:2d06/64 Scope:Link
              UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
              RX packets:13234317 errors:0 dropped:0 overruns:0 frame:0
              TX packets:49892404 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:930274679 (887.1 MiB)  TX bytes:2323295112 (2.1 GiB)
    
    bond0.2   Link encap:Ethernet  HWaddr 00:00:17:0F:2D:06
              inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
              inet6 addr: fe80::200:17ff:fe0f:2d06/64 Scope:Link
              UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
              RX packets:42010 errors:0 dropped:0 overruns:0 frame:0
              TX packets:43401 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:8261939 (7.8 MiB)  TX bytes:9152913 (8.7 MiB)
    
    eth0      Link encap:Ethernet  HWaddr 00:00:17:0F:2D:04
              inet addr:192.168.60.11  Bcast:192.168.60.255  Mask:255.255.255.0
              inet6 addr: fd0d:deba:d97c:a0:200:17ff:fe0f:2d04/64 Scope:Global
              inet6 addr: fe80::200:17ff:fe0f:2d04/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:85601 errors:0 dropped:0 overruns:0 frame:0
              TX packets:145415 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:18515983 (17.6 MiB)  TX bytes:27768794 (26.4 MiB)
    
    eth1      Link encap:Ethernet  HWaddr 00:00:17:0F:2D:05
              inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
              inet6 addr: fe80::200:17ff:fe0f:2d05/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1851 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1867 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:144660 (141.2 KiB)  TX bytes:124694 (121.7 KiB)
    
    eth2      Link encap:Ethernet  HWaddr 00:00:17:0F:2D:06
              UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
              RX packets:13234314 errors:0 dropped:0 overruns:0 frame:0
              TX packets:49892392 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:930274503 (887.1 MiB)  TX bytes:2323294344 (2.1 GiB)
    
    eth3      Link encap:Ethernet  HWaddr 00:00:17:0F:2D:06
              UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
              RX packets:3 errors:0 dropped:0 overruns:0 frame:0
              TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:176 (176.0 b)  TX bytes:768 (768.0 b)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:1658459 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1658459 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:126522800 (120.6 MiB)  TX bytes:126522800 (120.6 MiB)
    
    
    Segmented Network Configuration
    bond0     Link encap:Ethernet  HWaddr 00:00:17:0F:2F:12
              inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::200:17ff:fe0f:2f12/64 Scope:Link
              UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
              RX packets:13242602 errors:0 dropped:0 overruns:0 frame:0
              TX packets:50173237 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:972152478 (927.1 MiB)  TX bytes:2368284409 (2.2 GiB)
    
    bond0.2   Link encap:Ethernet  HWaddr 00:00:17:0F:2F:12
              inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
              inet6 addr: fe80::200:17ff:fe0f:2f12/64 Scope:Link
              UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
              RX packets:90623 errors:0 dropped:0 overruns:0 frame:0
              TX packets:97130 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:17963083 (17.1 MiB)  TX bytes:20655848 (19.6 MiB)
    
    bond1     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
              BROADCAST MASTER MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    
    bond2     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
              BROADCAST MASTER MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    
    bond3     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
              BROADCAST MASTER MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    
    eth0      Link encap:Ethernet  HWaddr 00:00:17:0F:2F:10
              inet addr:192.168.60.14  Bcast:192.168.60.255  Mask:255.255.255.0
              inet6 addr: fd0d:deba:d97c:a0:200:17ff:fe0f:2f10/64 Scope:Global
              inet6 addr: 2606:b400:605:b80c:200:17ff:fe0f:2f10/64 Scope:Global
              inet6 addr: fe80::200:17ff:fe0f:2f10/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:13981300 errors:0 dropped:0 overruns:0 frame:0
              TX packets:78201 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:3815515378 (3.5 GiB)  TX bytes:7623582 (7.2 MiB)
    
    eth1      Link encap:Ethernet  HWaddr 00:00:17:0F:2F:11
              inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
              inet6 addr: fe80::200:17ff:fe0f:2f11/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:559584 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1805629 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:42998514 (41.0 MiB)  TX bytes:860763886 (820.8 MiB)
    
    eth1.<vlan ID 1>  Link encap:Ethernet  HWaddr 00:00:17:0F:2F:11
              inet addr:192.168.59.18  Bcast:192.168.59.255  Mask:255.255.255.0
              inet6 addr: 2606:b400:605:b80a:200:17ff:fe0f:2f11/64 Scope:Global
              inet6 addr: fe80::200:17ff:fe0f:2f11/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:47462 errors:0 dropped:0 overruns:0 frame:0
              TX packets:3341 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:2481722 (2.3 MiB)  TX bytes:272370 (265.9 KiB)
    
    eth1.<vlan ID 2>  Link encap:Ethernet  HWaddr 00:00:17:0F:2F:11
              inet addr:192.168.61.53  Bcast:192.168.61.255  Mask:255.255.255.0
              inet6 addr: 2606:b400:605:b80b:200:17ff:fe0f:2f11/64 Scope:Global
              inet6 addr: fe80::200:17ff:fe0f:2f11/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:502309 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1328746 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:31914086 (30.4 MiB)  TX bytes:813991760 (776.2 MiB)
    
    eth2      Link encap:Ethernet  HWaddr 00:00:17:0F:2F:12
              UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
              RX packets:13242602 errors:0 dropped:0 overruns:0 frame:0
              TX packets:50173237 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:972152478 (927.1 MiB)  TX bytes:2368284409 (2.2 GiB)
    
    eth3      Link encap:Ethernet  HWaddr 00:00:17:0F:2F:12
              UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:1223316 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1223316 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:92431234 (88.1 MiB)  TX bytes:92431234 (88.1 MiB)
    
    sit0      Link encap:IPv6-in-IPv4
              NOARP  MTU:1480  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)