Verify the speed of my Network Cards in Linux

How to tell the network speed of network cards in Linux? CentOS 7 Find the network cards: ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu…

What is the use of /etc/udev/rules.d/70-persistent-net.rules file in Rhel/Centos?

what is the use of /etc/udev/rules.d/70-persistent-net.rules file in linux? is anyother way to change interface name in linux other than 70-persistent-net.rules? This file associates your NIC’s MAC address with an interface name that will be given to the NIC at startup. There are certainly ways to change the name at runtime but if you reboot,…

Add private IP to Debian Ubuntu for R1

Add the IP as Eth0 when the primary is Eth1 (no gateway) # nano /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 10.168.19.36 netmask 255.255.255.224 hwaddress 0C:C4:7A:6A:0F:E4 auto eth1 iface eth1 inet static address 206.xxx.xx.xx netmask 255.255.255.0 gateway 206.xxx.xx.1 hwaddress 0C:C4:7A:6A:0F:E5 dns-nameservers 8.8.8.8 4.4.4.4

Test server download speeds

Server connections speeds are a function of a variety of variables. The server’s connection speed to the Internet, all processes that are simultaneously trying to connect (uploads and downloads share the total speed available), the overall health of the Internet and the connection capability of the off-site computer, which is also limited by the same…

Change Hostname in CentOS

Open the /etc/sysconfig/network file with your favorite text editor. Modify the HOSTNAME= value to match your FQDN host name. # nano /etc/sysconfig/network HOSTNAME=myserver.domain.com Change the host that is associated to your main IP address for your server, this is for internal networking (found at /etc/hosts): nano /etc/hosts 192.xx.xx.xx myserver.domain.com Hostname The ‘hostname’ command will let…