Dell PowerVault MD3000i Installation Guide - Page 65

Configuring TCP/IP on Linux using DHCP (root users only), XX:XX:XX:XX:XX

Page 65 highlights

NOTE: The server IP addresses must be configured for network communication to the same IP subnet as the storage array management and iSCSI ports. Configuring TCP/IP on Linux using DHCP (root users only) 1 Edit the /etc/sysconfig/network file as follows: NETWORKING=yes HOSTNAME=mymachine.mycompany.com 2 Edit the configuration file for the connection you want to configure, either /etc/sysconfig/networkscripts/ifcfg-ethX (for RHEL) or /etc/sysconfig/network/ifcfg-eth-id-XX:XX:XX:XX:XX (for SUSE). BOOTPROTO=dhcp Also, verify that an IP address and netmask are not defined. 3 Restart network services using the following command: /etc/init.d/network restart Configuring TCP/IP on Linux using a Static IP address (root users only) 1 Edit the /etc/sysconfig/network file as follows: NETWORKING=yes HOSTNAME=mymachine.mycompany.com GATEWAY=255.255.255.0 2 Edit the configuration file for the connection you want to configure, either /etc/sysconfig/networkscripts/ifcfg-ethX (for RHEL) or /etc/sysconfig/network/ifcfg-eth-id-XX:XX:XX:XX:XX (for SUSE). BOOTPROTO=static BROADCAST=192.168.1.255 IPADDR=192.168.1.100 NETMASK=255.255.255.0 NETWORK=192.168.1.0 ONBOOT=yes TYPE=Ethernet HWADDR=XX:XX:XX:XX:XX:XX GATEWAY=192.168.1.1 3 Restart network services using the following command: /etc/init.d/network restart Network Configuration Guidelines 65

  • 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
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68

Network Configuration Guidelines
65
NOTE:
The server IP addresses must be configured for network communication to the same IP subnet as the
storage array management and iSCSI ports.
Configuring TCP/IP on Linux using DHCP (root users only)
1
Edit the
/etc/sysconfig/network
file as follows:
NETWORKING=yes
HOSTNAME=mymachine.mycompany.com
2
Edit the configuration file for the connection you want to configure, either
/etc/sysconfig/network-
scripts/ifcfg-ethX
(for RHEL) or
/etc/sysconfig/network/ifcfg-eth-id-
XX:XX:XX:XX:XX (for
SUSE).
BOOTPROTO=dhcp
Also, verify that an IP address and netmask are
not
defined.
3
Restart network services using the following command:
/etc/init.d/network restart
Configuring TCP/IP on Linux using a Static IP address (root users only)
1
Edit the
/etc/sysconfig/network
file as follows:
NETWORKING=yes
HOSTNAME=mymachine.mycompany.com
GATEWAY=255.255.255.0
2
Edit the configuration file for the connection you want to configure, either
/etc/sysconfig/network-
scripts/ifcfg-ethX
(for RHEL) or
/etc/sysconfig/network/ifcfg-eth-id-
XX:XX:XX:XX:XX (for
SUSE).
BOOTPROTO=static
BROADCAST=192.168.1.255
IPADDR=192.168.1.100
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
TYPE=Ethernet
HWADDR=XX:XX:XX:XX:XX:XX
GATEWAY=192.168.1.1
3
Restart network services using the following command:
/etc/init.d/network restart