Networking: net-tools

A collection of programs that form the base set of the NET-3 networking distribution for the Linux operating system. This package includes arp(8), hostname(1), ifconfig(8), ipmaddr, iptunnel, mii-tool(8), nameif(8), netstat(8), plipconfig(8), rarp(8), route(8) and slattach(8).

Please keep in mind that most net-tools programs are obsolete now:

programobsoleted by
arpip neigh
ifconfigip addr
ipmaddrip maddr
iptunnelip tunnel
routeip route
nameififrename
mii-toolethtool

Cisco / Dell Switch Notes

To show status

sh interfaces status

To show description

sh interfaces description

To check MAC address

show mac address-table interface (switchport)

To change switch speed

conf t
int (port)
speed 1000

Change CPanel Outgoing Email IP

Official documentation :
https://documentation.cpanel.net/display/CKB/How+to+Configure+the+Exim+Outgoing+IP+Address

The /etc/mailips file controls the IP address from which each domain sends mail.

To change specific domain outgoing email IP simply

[root@cpanel ~]# cat /etc/mailips 
*: 111.222.222.112
domain.com: 111.222.222.112
domain.net: 111.222.222.113
domain.my: 111.222.222.113
domain.org: 111.222.222.114

vi /etc/mailips

Restart the exim service

service exim restart

Install VMWare Esxi 6.5 and Configuring iSCSI Dell MD 3820i

A server virtualization platform from VMware. VMware vSphere debuted in 2009 as the successor to the company’s flagship VMware Infrastructure solution, and it serves as a complete platform for implementing and managing virtual machine (VM) infrastructure on a large scale.

VMWARE INSTALLATION

1. Mount VMWare ISO

2. Follow image below to install VMWare.

Select VM kernel and hit next

DELL iSCSI CONFIGURATION

After logging into the system click on add networking

Repeat the same process to add the second switch and after creating the switch go to properties

VMWare md storage

For the md storage these steps should be followed
Go to summary and create two virtual drives

Go to setup then configure iSCSI host port

Now navigate to Host mapping and define the Host group

Now click on host group storage and create hosts

provide the host name and click next

choose the host interface type and then select the known host identifier

Now select the Host type in this case it will be vmware

now select the host group and enter the name

verify the settings and click on finish

now move to host mapping and do the following conifgurations

Now navigate to VMWARE and add the storage adopter as fellows

now add the port groups as fellow

Now move to iSCSI software adopter and click on setting and on path here and path should be active now

Now navigate to storage section and add the storage that was created on md storage using virtual drives

select the disk type

Add the second storage

Now all the data stores should appear here