Data Domain:驗證網路連線是否如預期運作

Summary: 本文涵蓋如何檢查 DDOS 中的 NIC 實體連線和組態,以確保網路上有可用的 CIFS 或 NFS 共用的基本知識。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

驗證網路連接是否正常工作。

症狀:

  • 如果網路連線無法如預期運作,則備份效能會發生問題,或完全無法透過網路存取 CIFS 或 NFS 共用。 
  • 修復程式不可用。
  • 備份應用程式報告寫入錯誤。
  • 找不到網路路徑。
  • 警示訊息:
    Error: : RPC: Unable to send; errno = Broken pipe

適用於:

  • 所有 Data Domain 系統
  • 所有軟體版本

解決方案:
實體連接:

將網路線連接至 DDR 上有效的 NIC 連接埠。NIC 可以位於主機板上,也可以是選配的擴充卡。根據型號的不同,恢復器的位置可能略有不同,但它們的相對位置是等效的。

注意:建議使用類別 5e 或 6。 

連接埠的雙字母

 

網路線連接圖

假設我們在 DDR 主機殼的 eth0 上連接了網路線:

  • 從背面觀察時,eth0 會連接至 DDR 背面的左側連接埠)
  • 另一端連接到交換機。
纜線連接至 eth0 並連接至 LAN 後,連接埠上的綠燈、恆亮或閃爍即表示實體連接良好。


設定及確認 IP 位址:

在我們的範例中,eth0 配置了以下資訊:
  • IP 位址 = 192.168.4.138
  • 子網 = 255.255.255.0
  • 閘道 = 192.168.4.1
  • DNS = 192.168.4.2、192.168.4.3
注意:在指派 IP 位址之前,請確認該位址尚未在網路上分配。
 
從另一部電腦使用「ping」命令至要設定為 eth0 的 IP 位址 (使用 Ctrl+C 停止):
ping 192.168.4.138

PING 192.168.4.138 (192.168.4.138) 56(84) bytes of data.
From 192.168.4.138 icmp_seq=1 Destination Host Unreachable
From 192.168.4.138 icmp_seq=2 Destination Host Unreachable
From 192.168.4.138 icmp_seq=3 Destination Host Unreachable
^C
如果 IP 位址有回應,則表示它正在使用中,必須分配另一個 IP 位址。

在 DDR 方塊上,我們使用「net」 命令 驗證 NIC 連接埠 eth0 的狀態
  1. 下列命令提供實體纜線 (已連接與否)、NIC 為 10/100/10/100/1000、NIC 連接埠的 MAC 位址、速度、雙工,以及 NIC 卡類型的相關資訊。
net show hardware

Port    Speed      Duplex    Supp Speeds    Hardware Address    Physical   Cable
-----   --------   --------  ------------   ------------------  -------    -----
eth0    1000Mb/s   full      10/100/1000    00:xx:xx:xx:xx:4c   Copper     yes
eth1    unknown    unknown   10/100/1000    00:xx:xx:xx:xx:e1   Copper     no
-----   --------   --------  ------------   ------------------  -------    -----
從上面的例子中我們可以看到,eth0 可以支援 1000MB/s 全雙工,物理類型為銅,網線已連接。
  1. net config」命令用於設定 eth0。輸入命令「net config set? 」可提供 DDOS 版本的正確語法。範例:
net config set ?

Commands matching "net config":
  net config <ifname> [type {floating | fixed}]
                {[<ipaddr>] [netmask <mask>] | [<ipv6addr>] |
                [dhcp {yes [ipversion {ipv4|ipv6}]|no}]}
                {[autoneg] | [duplex {full | half} speed {10|100|1000|10000}]}
                [up | down] [mtu {<size> | default}]
                [txqueuelen <size>]
                                       Configure an Ethernet interface. Create
                                       an alias by giving an address to a new
                                       alias number. Destroy an alias by
                                       giving an address of zero. "Note:
                                       Change of link parameters like speed,
                                       duplex or autoneg on the DD VE is not
                                       supported."
  net config addresses [type {floating | fixed}]
                                       Convert IP addresses to another type.
  1. 在我們的範例中:
  • 以下命令可用來設定 IP 位址和子網路遮罩: 
net config eth0 192.168.4.138 netmask 255.255.255.0
  • 以下命令用於設定預設閘道:
route set gateway 192.168.4.1
預設閘道為:192.168.4.1
  • 以下命令用於設定 DNS
net set dns 192.168.4.2, 192.168.4.3

The Name (DNS) server list is:
        192.168.4.2, 192.168.4.3
 

驗證 IP 位址

若要確認介面 eth0 已啟動,並具有正確的 IP 位址和網路遮罩,請使用以下命令: 

net show config eth0

eth0      Link encap:Ethernet  HWaddr 00:xx:xx:xx:xx:4c
          inet addr:192.168.4.138  Bcast:192.168.4.255  Mask:255.255.255.0
          inet6 addr: beef::250:56ff:abcd:954c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6564330 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3156402 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1614169232 (1.5 GiB)  TX bytes:3093309111 (2.8 GiB)
 

若要驗證其是否在網路上:

  1. 使用來自同一子網路/網路遮罩上另一部電腦的「ping」命令(閘道是一個很好的目標)使用 Ctrl+C 停止。
ping 192.168.4.1

PING 192.168.4.1 (192.168.4.1) 56(84) bytes of data.
64 bytes from 192.168.4.1: icmp_seq=1 ttl=64 time=0.512 ms
64 bytes from 192.168.4.1: icmp_seq=2 ttl=64 time=0.296 ms
64 bytes from 192.168.4.1: icmp_seq=3 ttl=64 time=0.284 ms
64 bytes from 192.168.4.1: icmp_seq=4 ttl=64 time=0.275 ms
64 bytes from 192.168.4.1: icmp_seq=5 ttl=64 time=0.295 ms
^C
  1. 從網路上的另一台電腦 ping 到 eth0 IP(例如,之前用於驗證 IP 位址的 IP 未在使用中) 
ping 192.168.4.138 

PING 192.168.4.138 (192.168.4.138 ) 56(84) bytes of data.
64 bytes from 192.168.4.138 : icmp_seq=1 ttl=64 time=0.512 ms
64 bytes from 192.168.4.138 : icmp_seq=2 ttl=64 time=0.316 ms
64 bytes from 192.168.4.138 : icmp_seq=3 ttl=64 time=0.294 ms
64 bytes from 192.168.4.138 : icmp_seq=4 ttl=64 time=0.285 ms
64 bytes from 192.168.4.138 : icmp_seq=5 ttl=64 time=0.295 ms
^C
     

    Affected Products

    Data Domain

    Products

    Data Domain
    Article Properties
    Article Number: 000015001
    Article Type: How To
    Last Modified: 22 Feb 2024
    Version:  6
    Find answers to your questions from other Dell users
    Support Services
    Check if your device is covered by Support Services.