Network interfaces - RHCSA

Description

Mind Map on Network interfaces - RHCSA, created by Luiz Eduardo on 12/11/2019.
Luiz  Eduardo
Mind Map by Luiz Eduardo, updated more than 1 year ago
Luiz  Eduardo
Created by Luiz Eduardo over 4 years ago
10
0

Resource summary

Network interfaces - RHCSA
  1. nmcli
    1. nmcli dev status
      1. nmcli dev show
        1. nmcli con show
          1. nmcli con add type Ethernet ifname eth0 con-name eth1 ip4 192.168.15.6/24 \ gw4 192.168.15.1
            1. nmcli con reload
              1. nmcli con up eth0
                1. nmcli con down eth0
                  1. nmcli device wifi list
                    1. nmcli con add con-name my-con-em1 ifname em1 type ethernet \ ip4 192.168.100.100/24 gw4 192.168.100.1 ip4 1.2.3.4 ip6 abbe::cafe
                      1. nmcli con mod my-con-em1 ipv4.dns "8.8.8.8 8.8.4.4"
                        1. nmcli -g ip4.address connection show my-con-eth0

                          Annotations:

                          • Convenient field values retrieval for scripting
                          1. nmcli general permissions
                            1. nmcli con modify enp0s3 ipv4.address 192.168.15.11
                              1. man nmcli-examples
                              2. ip
                                1. ip addr
                                  1. ip addr add 192.168.15.7/24 broadcast 192.168.0.255 dev eth1
                                    1. ifdown eth1
                                      1. ifup eth1
                                      2. nmcli general permissions

                                        Annotations:

                                        • Listing NetworkManager polkit permissions
                                        1. Network
                                          1. systemctl restart network
                                            1. systemctl status network
                                              1. /etc/sysconfig/network-scripts

                                                Annotations:

                                                • Arquivos chave de configuração de rede
                                                1. /etc/sysconfig/network-scripts/ifcfg-lo
                                                  1. ifcfg-enp0s3

                                                    Annotations:

                                                    • ifcfg-enp0s3 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no DEFROUTE=yes IPV4_FAILURE_FATAL=no IPADDR=192.168.15.50 GATEWAY=192.168.15.1 DNS1=8.8.8.8 DNS2=8.4.4.4 IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=enp0s3 UUID=c9c33a6b-3581-4db8-923c-525d6b6348a2 DEVICE=enp0s3 ONBOOT=yes
                                                  2. ping -c3 192.168.15.7
                                                  3. ntp
                                                    1. yum install ntp system-config-date

                                                      Annotations:

                                                      • instalar ntp
                                                      1. /etc/ntp.conf

                                                        Annotations:

                                                        • arquivo de configuração
                                                        1. ntpq -p

                                                          Annotations:

                                                          • lista servidores ntp
                                                        2. LDAP

                                                          Annotations:

                                                          • https://www.certdepot.net/rhel7-configure-system-use-existing-ldap-directory-service-user-group-information/
                                                          1. Cliente
                                                            1. yum install openldap openldap-clients nss-pam-ldap sssd authconfig
                                                              1. #authconfig --enableldap --enableldapauth --ldapserver=ldap://server1.rhcsa.local --enablesssd --ldapbasedn="dc=rhcsa,dc=local" --update
                                                            2. Servidor
                                                              1. yum install ipa-server bind-dyndb-ldap ipa-server-dns -y
                                                                1. firewall-cmd --permanent --add-services={ldap,ldaps,kerberos,kpasswd,dns,ntp,http,https}
                                                                  1. kinit admin
                                                                    1. ipa user-add luizep
                                                                  2. SELinux
                                                                    1. Management Commands
                                                                      1. Context management
                                                                        1. chcon
                                                                          1. matchpathcon
                                                                            1. restorecon
                                                                              1. semanage
                                                                              2. Mode management
                                                                                1. geenforce
                                                                                  1. sestatus
                                                                                    1. setenforce
                                                                                    2. Policy Management
                                                                                      1. seinfo
                                                                                        1. sesearch
                                                                                        2. Boolean management
                                                                                          1. getsebool
                                                                                            1. setsebool
                                                                                            2. Troubleshooting
                                                                                              1. sealert
                                                                                              2. Graphical management
                                                                                                1. system-config-selinux
                                                                                            Show full summary Hide full summary

                                                                                            Similar

                                                                                            Business Studies Unit 2
                                                                                            tara.springate
                                                                                            A-level Sociology Quiz
                                                                                            Chuck Amobi
                                                                                            9 History- The Treaty of Versailles
                                                                                            melgallagher
                                                                                            One child policy, China- Population Control Case Study
                                                                                            a a
                                                                                            Sociology- Family and Households Flashcards
                                                                                            Heloise Tudor
                                                                                            The Biological basis of Heart Disease
                                                                                            Andrea Leyden
                                                                                            SMART School Year Goals
                                                                                            Alice McClean
                                                                                            Biology B1
                                                                                            Phoebe Drew
                                                                                            English Language Techniques
                                                                                            lewis001
                                                                                            GCSE AQA Physics Unit 2 Flashcards
                                                                                            Gabi Germain
                                                                                            Rossetti Links
                                                                                            Mrs Peacock