Hello, guys. You will figure out how to configure multiple networks in VMware Workstation Pro in this post. When you finish this practice, you will be able to configure the complex network environment for your test.
One of the difficulties in complex network configuration is set up routing tables. To make the routing table automatically updated, you can use a routing protocol. With Quagga (Zebra), you can use a variety of routing protocols. You might need a little network knowledge to use it.
Create virtual machines and configure them to act as routers. If you do not know how to configure CentOS 7 as a router, see the following post.
https://sunguruitchannel01.blogspot.com/2019/02/vmware-workstation-pro-15-10-creating.html
Installing and Configuring Quagga on CentOS 7.6
Run the following command on a CentOS76 virtual machine with Apache HTTPD installed. You can drag and copy the text.
[root@centos76 ~]# vi /var/www/html/quagga.sh
sed -i 's/file:\/\/\/media\/cdrom/file:\/\/\/run\/media\/root\/CentOS\\\ 7\\\ x86_64/g' /etc/yum.repos.d/CentOS-Media.repo |
To install Quagga to your virtual machines (Router01, Router02, Router03, Router04), please connect CentOS 7.6 ISO file to your VMs and run the command below.
[root@router01 ~]# blkid /dev/sr0
/dev/sr0: UUID="2018-11-25-23-54-16-00" LABEL="CentOS 7 x86_64" TYPE="iso9660" PTTYPE="dos" [root@router01 ~]# mount -r -t iso9660 /dev/sr0 /mnt [root@router01 ~]# rpm -ivh /mnt/Packages/wget-1.14-18.el7.x86_64.rpm warning: wget-1.14-18.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Preparing... ################################# [100%] Updating / installing... 1:wget-1.14-18.el7 ################################# [100%] [root@router01 ~]# wget http://192.168.5.10/quagga.sh --2019-02-22 09:15:32-- http://192.168.5.10/quagga.sh Connecting to 192.168.5.10:80... connected. HTTP request sent, awaiting response... 200 OK Length: 335 [application/x-sh] Saving to: ‘quagga.sh’ 100%[===============================================================================>] 335 --.-K/s in 0s 2019-02-22 09:15:32 (76.7 MB/s) - ‘quagga.sh’ saved [335/335] [root@router01 ~]# ls anaconda-ks.cfg quagga.sh [root@router01 ~]# bash quagga.sh Loaded plugins: fastestmirror Determining fastest mirrors * c7-media: file:///media/CentOS/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /media/CentOS/repodata/repomd.xml" Trying other mirror. file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /media/cdrecorder/repodata/repomd.xml" Trying other mirror. c7-media | 3.6 kB 00:00:00 c7-media/group_gz FAILED file:///media/CentOS/repodata/bc140c8149fc43a5248fccff0daeef38182e49f6fe75d9b46db1206dc25a6c1c-c7-x86_64-comps.xml.gz: [Errno 14] curl#37 - "Couldn't open file /media/CentOS/repodata/bc140c8149fc43a5248fccff0daeef38182e49f6fe75d9b46db1206dc25a6c1c-c7-x86_64-comps.xml.gz" ] 0.0 B/s | 0 B --:--:-- ETA Trying other mirror. c7-media/primary_db FAILED file:///media/cdrecorder/repodata/2ff4471767c82fed8b27981c603e3dc9d6559ca69e162f5ca2bb53f2450c8b08-primary.sqlite.bz2: [Errno 14] curl#37 - "Couldn't open file /media/cdrecorder/repodata/2ff4471767c82fed8b27981c603e3dc9d6559ca69e162f5ca2bb53f2450c8b08-primary.sqlite.bz2" ] 0.0 B/s | 0 B --:--:-- ETA Trying other mirror. (1/2): c7-media/group_gz | 166 kB 00:00:00 (2/2): c7-media/primary_db | 3.1 MB 00:00:00 Resolving Dependencies --> Running transaction check ---> Package net-tools.x86_64 0:2.0-0.24.20131004git.el7 will be installed ---> Package quagga.x86_64 0:0.99.22.4-5.el7_4 will be installed --> Processing Dependency: net-snmp for package: quagga-0.99.22.4-5.el7_4.x86_64 --> Processing Dependency: libsensors.so.4()(64bit) for package: quagga-0.99.22.4-5.el7_4.x86_64 --> Processing Dependency: libnetsnmpmibs.so.31()(64bit) for package: quagga-0.99.22.4-5.el7_4.x86_64 --> Processing Dependency: libnetsnmpagent.so.31()(64bit) for package: quagga-0.99.22.4-5.el7_4.x86_64 --> Processing Dependency: libnetsnmp.so.31()(64bit) for package: quagga-0.99.22.4-5.el7_4.x86_64 ---> Package telnet.x86_64 1:0.17-64.el7 will be installed --> Running transaction check ---> Package lm_sensors-libs.x86_64 0:3.4.0-6.20160601gitf9185e5.el7 will be installed ---> Package net-snmp.x86_64 1:5.7.2-37.el7 will be installed --> Processing Dependency: perl(Term::ReadLine) for package: 1:net-snmp-5.7.2-37.el7.x86_64 --> Processing Dependency: perl(IO::File) for package: 1:net-snmp-5.7.2-37.el7.x86_64 --> Processing Dependency: perl(Getopt::Std) for package: 1:net-snmp-5.7.2-37.el7.x86_64 --> Processing Dependency: perl(File::Copy) for package: 1:net-snmp-5.7.2-37.el7.x86_64 --> Processing Dependency: perl(Data::Dumper) for package: 1:net-snmp-5.7.2-37.el7.x86_64 --> Processing Dependency: /usr/bin/perl for package: 1:net-snmp-5.7.2-37.el7.x86_64 --> Processing Dependency: libperl.so()(64bit) for package: 1:net-snmp-5.7.2-37.el7.x86_64 ---> Package net-snmp-agent-libs.x86_64 1:5.7.2-37.el7 will be installed ---> Package net-snmp-libs.x86_64 1:5.7.2-37.el7 will be installed --> Running transaction check ---> Package perl.x86_64 4:5.16.3-293.el7 will be installed --> Processing Dependency: perl(Socket) >= 1.3 for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(Scalar::Util) >= 1.10 for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl-macros for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(threads::shared) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(threads) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(constant) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(Time::Local) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(Time::HiRes) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(Storable) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(Socket) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(Scalar::Util) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(Pod::Simple::XHTML) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(Pod::Simple::Search) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(Getopt::Long) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(Filter::Util::Call) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(File::Temp) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(File::Spec::Unix) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(File::Spec::Functions) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(File::Spec) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(File::Path) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(Exporter) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(Cwd) for package: 4:perl-5.16.3-293.el7.x86_64 --> Processing Dependency: perl(Carp) for package: 4:perl-5.16.3-293.el7.x86_64 ---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed ---> Package perl-libs.x86_64 4:5.16.3-293.el7 will be installed --> Running transaction check ---> Package perl-Carp.noarch 0:1.26-244.el7 will be installed ---> Package perl-Exporter.noarch 0:5.68-3.el7 will be installed ---> Package perl-File-Path.noarch 0:2.09-2.el7 will be installed ---> Package perl-File-Temp.noarch 0:0.23.01-3.el7 will be installed ---> Package perl-Filter.x86_64 0:1.49-3.el7 will be installed ---> Package perl-Getopt-Long.noarch 0:2.40-3.el7 will be installed --> Processing Dependency: perl(Pod::Usage) >= 1.14 for package: perl-Getopt-Long-2.40-3.el7.noarch --> Processing Dependency: perl(Text::ParseWords) for package: perl-Getopt-Long-2.40-3.el7.noarch ---> Package perl-PathTools.x86_64 0:3.40-5.el7 will be installed ---> Package perl-Pod-Simple.noarch 1:3.28-4.el7 will be installed --> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch --> Processing Dependency: perl(Encode) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch ---> Package perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 will be installed ---> Package perl-Socket.x86_64 0:2.010-4.el7 will be installed ---> Package perl-Storable.x86_64 0:2.45-3.el7 will be installed ---> Package perl-Time-HiRes.x86_64 4:1.9725-3.el7 will be installed ---> Package perl-Time-Local.noarch 0:1.2300-2.el7 will be installed ---> Package perl-constant.noarch 0:1.27-2.el7 will be installed ---> Package perl-macros.x86_64 4:5.16.3-293.el7 will be installed ---> Package perl-threads.x86_64 0:1.87-4.el7 will be installed ---> Package perl-threads-shared.x86_64 0:1.43-6.el7 will be installed --> Running transaction check ---> Package perl-Encode.x86_64 0:2.51-7.el7 will be installed ---> Package perl-Pod-Escapes.noarch 1:1.04-293.el7 will be installed ---> Package perl-Pod-Usage.noarch 0:1.63-3.el7 will be installed --> Processing Dependency: perl(Pod::Text) >= 3.15 for package: perl-Pod-Usage-1.63-3.el7.noarch --> Processing Dependency: perl-Pod-Perldoc for package: perl-Pod-Usage-1.63-3.el7.noarch ---> Package perl-Text-ParseWords.noarch 0:3.29-4.el7 will be installed --> Running transaction check ---> Package perl-Pod-Perldoc.noarch 0:3.20-4.el7 will be installed --> Processing Dependency: perl(parent) for package: perl-Pod-Perldoc-3.20-4.el7.noarch --> Processing Dependency: perl(HTTP::Tiny) for package: perl-Pod-Perldoc-3.20-4.el7.noarch ---> Package perl-podlators.noarch 0:2.5.1-3.el7 will be installed --> Running transaction check ---> Package perl-HTTP-Tiny.noarch 0:0.033-3.el7 will be installed ---> Package perl-parent.noarch 1:0.225-244.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================================================================================================================================================= Installing: net-tools x86_64 2.0-0.24.20131004git.el7 c7-media 306 k quagga x86_64 0.99.22.4-5.el7_4 c7-media 1.2 M telnet x86_64 1:0.17-64.el7 c7-media 64 k Installing for dependencies: lm_sensors-libs x86_64 3.4.0-6.20160601gitf9185e5.el7 c7-media 42 k net-snmp x86_64 1:5.7.2-37.el7 c7-media 331 k net-snmp-agent-libs x86_64 1:5.7.2-37.el7 c7-media 705 k net-snmp-libs x86_64 1:5.7.2-37.el7 c7-media 749 k perl x86_64 4:5.16.3-293.el7 c7-media 8.0 M perl-Carp noarch 1.26-244.el7 c7-media 19 k perl-Data-Dumper x86_64 2.145-3.el7 c7-media 47 k perl-Encode x86_64 2.51-7.el7 c7-media 1.5 M perl-Exporter noarch 5.68-3.el7 c7-media 28 k perl-File-Path noarch 2.09-2.el7 c7-media 26 k perl-File-Temp noarch 0.23.01-3.el7 c7-media 56 k perl-Filter x86_64 1.49-3.el7 c7-media 76 k perl-Getopt-Long noarch 2.40-3.el7 c7-media 56 k perl-HTTP-Tiny noarch 0.033-3.el7 c7-media 38 k perl-PathTools x86_64 3.40-5.el7 c7-media 82 k perl-Pod-Escapes noarch 1:1.04-293.el7 c7-media 51 k perl-Pod-Perldoc noarch 3.20-4.el7 c7-media 87 k perl-Pod-Simple noarch 1:3.28-4.el7 c7-media 216 k perl-Pod-Usage noarch 1.63-3.el7 c7-media 27 k perl-Scalar-List-Utils x86_64 1.27-248.el7 c7-media 36 k perl-Socket x86_64 2.010-4.el7 c7-media 49 k perl-Storable x86_64 2.45-3.el7 c7-media 77 k perl-Text-ParseWords noarch 3.29-4.el7 c7-media 14 k perl-Time-HiRes x86_64 4:1.9725-3.el7 c7-media 45 k perl-Time-Local noarch 1.2300-2.el7 c7-media 24 k perl-constant noarch 1.27-2.el7 c7-media 19 k perl-libs x86_64 4:5.16.3-293.el7 c7-media 688 k perl-macros x86_64 4:5.16.3-293.el7 c7-media 44 k perl-parent noarch 1:0.225-244.el7 c7-media 12 k perl-podlators noarch 2.5.1-3.el7 c7-media 112 k perl-threads x86_64 1.87-4.el7 c7-media 49 k perl-threads-shared x86_64 1.43-6.el7 c7-media 39 k Transaction Summary ============================================================================================================================================================================================================================================================================================================================= Install 3 Packages (+32 Dependent packages) Total download size: 15 M Installed size: 48 M Downloading packages: warning: /mnt/Packages/lm_sensors-libs-3.4.0-6.20160601gitf9185e5.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Public key for lm_sensors-libs-3.4.0-6.20160601gitf9185e5.el7.x86_64.rpm is not installed ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 92 MB/s | 15 MB 00:00:00 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>" Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-6.1810.2.el7.centos.x86_64 (@anaconda) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum. Installing : lm_sensors-libs-3.4.0-6.20160601gitf9185e5.el7.x86_64 1/35 Installing : 1:net-snmp-libs-5.7.2-37.el7.x86_64 2/35 Installing : 1:perl-parent-0.225-244.el7.noarch 3/35 Installing : perl-HTTP-Tiny-0.033-3.el7.noarch 4/35 Installing : perl-podlators-2.5.1-3.el7.noarch 5/35 Installing : perl-Pod-Perldoc-3.20-4.el7.noarch 6/35 Installing : 1:perl-Pod-Escapes-1.04-293.el7.noarch 7/35 Installing : perl-Encode-2.51-7.el7.x86_64 8/35 Installing : perl-Text-ParseWords-3.29-4.el7.noarch 9/35 Installing : perl-Pod-Usage-1.63-3.el7.noarch 10/35 Installing : 4:perl-macros-5.16.3-293.el7.x86_64 11/35 Installing : perl-Storable-2.45-3.el7.x86_64 12/35 Installing : perl-Exporter-5.68-3.el7.noarch 13/35 Installing : perl-constant-1.27-2.el7.noarch 14/35 Installing : perl-Time-Local-1.2300-2.el7.noarch 15/35 Installing : perl-Socket-2.010-4.el7.x86_64 16/35 Installing : perl-Carp-1.26-244.el7.noarch 17/35 Installing : 4:perl-Time-HiRes-1.9725-3.el7.x86_64 18/35 Installing : perl-PathTools-3.40-5.el7.x86_64 19/35 Installing : perl-Scalar-List-Utils-1.27-248.el7.x86_64 20/35 Installing : 1:perl-Pod-Simple-3.28-4.el7.noarch 21/35 Installing : perl-File-Temp-0.23.01-3.el7.noarch 22/35 Installing : perl-File-Path-2.09-2.el7.noarch 23/35 Installing : perl-threads-shared-1.43-6.el7.x86_64 24/35 Installing : perl-threads-1.87-4.el7.x86_64 25/35 Installing : perl-Filter-1.49-3.el7.x86_64 26/35 Installing : 4:perl-libs-5.16.3-293.el7.x86_64 27/35 Installing : perl-Getopt-Long-2.40-3.el7.noarch 28/35 Installing : 4:perl-5.16.3-293.el7.x86_64 29/35 Installing : 1:net-snmp-agent-libs-5.7.2-37.el7.x86_64 30/35 Installing : perl-Data-Dumper-2.145-3.el7.x86_64 31/35 Installing : 1:net-snmp-5.7.2-37.el7.x86_64 32/35 Installing : quagga-0.99.22.4-5.el7_4.x86_64 33/35 Installing : net-tools-2.0-0.24.20131004git.el7.x86_64 34/35 Installing : 1:telnet-0.17-64.el7.x86_64 35/35 Verifying : perl-HTTP-Tiny-0.033-3.el7.noarch 1/35 Verifying : perl-threads-shared-1.43-6.el7.x86_64 2/35 Verifying : perl-Storable-2.45-3.el7.x86_64 3/35 Verifying : perl-Exporter-5.68-3.el7.noarch 4/35 Verifying : perl-constant-1.27-2.el7.noarch 5/35 Verifying : perl-PathTools-3.40-5.el7.x86_64 6/35 Verifying : 4:perl-macros-5.16.3-293.el7.x86_64 7/35 Verifying : 1:telnet-0.17-64.el7.x86_64 8/35 Verifying : 1:perl-parent-0.225-244.el7.noarch 9/35 Verifying : 1:net-snmp-libs-5.7.2-37.el7.x86_64 10/35 Verifying : perl-File-Temp-0.23.01-3.el7.noarch 11/35 Verifying : 1:perl-Pod-Simple-3.28-4.el7.noarch 12/35 Verifying : perl-Time-Local-1.2300-2.el7.noarch 13/35 Verifying : 1:net-snmp-5.7.2-37.el7.x86_64 14/35 Verifying : 1:perl-Pod-Escapes-1.04-293.el7.noarch 15/35 Verifying : 1:net-snmp-agent-libs-5.7.2-37.el7.x86_64 16/35 Verifying : perl-Socket-2.010-4.el7.x86_64 17/35 Verifying : perl-Carp-1.26-244.el7.noarch 18/35 Verifying : net-tools-2.0-0.24.20131004git.el7.x86_64 19/35 Verifying : perl-Data-Dumper-2.145-3.el7.x86_64 20/35 Verifying : lm_sensors-libs-3.4.0-6.20160601gitf9185e5.el7.x86_64 21/35 Verifying : 4:perl-Time-HiRes-1.9725-3.el7.x86_64 22/35 Verifying : perl-Scalar-List-Utils-1.27-248.el7.x86_64 23/35 Verifying : perl-Pod-Usage-1.63-3.el7.noarch 24/35 Verifying : perl-Encode-2.51-7.el7.x86_64 25/35 Verifying : perl-Pod-Perldoc-3.20-4.el7.noarch 26/35 Verifying : perl-podlators-2.5.1-3.el7.noarch 27/35 Verifying : 4:perl-5.16.3-293.el7.x86_64 28/35 Verifying : perl-File-Path-2.09-2.el7.noarch 29/35 Verifying : quagga-0.99.22.4-5.el7_4.x86_64 30/35 Verifying : perl-threads-1.87-4.el7.x86_64 31/35 Verifying : perl-Filter-1.49-3.el7.x86_64 32/35 Verifying : perl-Getopt-Long-2.40-3.el7.noarch 33/35 Verifying : perl-Text-ParseWords-3.29-4.el7.noarch 34/35 Verifying : 4:perl-libs-5.16.3-293.el7.x86_64 35/35 Installed: net-tools.x86_64 0:2.0-0.24.20131004git.el7 quagga.x86_64 0:0.99.22.4-5.el7_4 telnet.x86_64 1:0.17-64.el7 Dependency Installed: lm_sensors-libs.x86_64 0:3.4.0-6.20160601gitf9185e5.el7 net-snmp.x86_64 1:5.7.2-37.el7 net-snmp-agent-libs.x86_64 1:5.7.2-37.el7 net-snmp-libs.x86_64 1:5.7.2-37.el7 perl.x86_64 4:5.16.3-293.el7 perl-Carp.noarch 0:1.26-244.el7 perl-Data-Dumper.x86_64 0:2.145-3.el7 perl-Encode.x86_64 0:2.51-7.el7 perl-Exporter.noarch 0:5.68-3.el7 perl-File-Path.noarch 0:2.09-2.el7 perl-File-Temp.noarch 0:0.23.01-3.el7 perl-Filter.x86_64 0:1.49-3.el7 perl-Getopt-Long.noarch 0:2.40-3.el7 perl-HTTP-Tiny.noarch 0:0.033-3.el7 perl-PathTools.x86_64 0:3.40-5.el7 perl-Pod-Escapes.noarch 1:1.04-293.el7 perl-Pod-Perldoc.noarch 0:3.20-4.el7 perl-Pod-Simple.noarch 1:3.28-4.el7 perl-Pod-Usage.noarch 0:1.63-3.el7 perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 perl-Socket.x86_64 0:2.010-4.el7 perl-Storable.x86_64 0:2.45-3.el7 perl-Text-ParseWords.noarch 0:3.29-4.el7 perl-Time-HiRes.x86_64 4:1.9725-3.el7 perl-Time-Local.noarch 0:1.2300-2.el7 perl-constant.noarch 0:1.27-2.el7 perl-libs.x86_64 4:5.16.3-293.el7 perl-macros.x86_64 4:5.16.3-293.el7 perl-parent.noarch 1:0.225-244.el7 perl-podlators.noarch 0:2.5.1-3.el7 perl-threads.x86_64 0:1.87-4.el7 perl-threads-shared.x86_64 0:1.43-6.el7 Complete! Created symlink from /etc/systemd/system/multi-user.target.wants/ripd.service to /usr/lib/systemd/system/ripd.service. Created symlink from /etc/systemd/system/multi-user.target.wants/zebra.service to /usr/lib/systemd/system/zebra.service. [root@router01 ~]# systemctl status ripd ● ripd.service - RIP routing daemon Loaded: loaded (/usr/lib/systemd/system/ripd.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2019-02-22 09:44:33 EST; 1min 43s ago Process: 17454 ExecStart=/usr/sbin/ripd -d $RIPD_OPTS -f /etc/quagga/ripd.conf (code=exited, status=0/SUCCESS) Main PID: 17455 (ripd) CGroup: /system.slice/ripd.service └─17455 /usr/sbin/ripd -d -A 127.0.0.1 -f /etc/quagga/ripd.conf Feb 22 09:44:33 router01 systemd[1]: Starting RIP routing daemon... Feb 22 09:44:33 router01 systemd[1]: PID file /run/quagga/ripd.pid not readable (yet?) after start. Feb 22 09:44:33 router01 systemd[1]: Started RIP routing daemon. [root@router01 ~]# systemctl status zebra ● zebra.service - GNU Zebra routing manager Loaded: loaded (/usr/lib/systemd/system/zebra.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2019-02-22 09:22:30 EST; 23min ago Main PID: 17386 (zebra) CGroup: /system.slice/zebra.service └─17386 /usr/sbin/zebra -d -A 127.0.0.1 -f /etc/quagga/zebra.conf Feb 22 09:22:30 router01 systemd[1]: Starting GNU Zebra routing manager... Feb 22 09:22:30 router01 systemd[1]: PID file /run/quagga/zebra.pid not readable (yet?) after start. Feb 22 09:22:30 router01 systemd[1]: Started GNU Zebra routing manager. [root@router01 ~]# telnet localhost zebra Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Hello, this is Quagga (version 0.99.22.4). Copyright 1996-2005 Kunihiro Ishiguro, et al. User Access Verification Password: zebra router01> en Password: zebra router01# conf t router01(config)# ip forwarding router01(config)# do wr Configuration saved to /etc/quagga/zebra.conf router01(config)# exit router01# exit [root@router01 ~]# telnet localhost ripd Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Hello, this is Quagga (version 0.99.22.4). Copyright 1996-2005 Kunihiro Ishiguro, et al. User Access Verification Password: zebra ripd> en ripd# conf t ripd(config)# hostname router01 router01(config)# router rip router01(config-router)# network ens32 router01(config-router)# network ens34 router01(config-router)# network ens35 router01(config-router)# network ens36 router01(config-router)# do wr Configuration saved to /etc/quagga/ripd.conf router01(config-router)# exit router01(config)# exit router01# exit [root@router01 ~]# systemctl restart zebra [root@router01 ~]# systemctl restart ripd [root@router01 ~]# yum -y remove wget Loaded plugins: fastestmirror Resolving Dependencies --> Running transaction check ---> Package wget.x86_64 0:1.14-18.el7 will be erased --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================== Package Arch Version Repository Size ==================================================================================================== Removing: wget x86_64 1.14-18.el7 installed 2.0 M Transaction Summary ==================================================================================================== Remove 1 Package Installed size: 2.0 M Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum. Erasing : wget-1.14-18.el7.x86_64 1/1 Verifying : wget-1.14-18.el7.x86_64 1/1 Removed: wget.x86_64 0:1.14-18.el7 Complete! [root@router01 ~]# umount /mnt [root@router01 ~]# rm -f quagga.sh |
Below is the routing table information of Router03 virtual machine.
You have acquired the skill to configure multiple networks using Quagga (Zebra) in VMware Workstation Pro. I encourage you to practice a few more times to become proficient. It will be needed for upgrading your IT skills. See you next. Thank you.
No comments:
Post a Comment