December 2018
Beginner
826 pages
22h 54m
English
To begin, ensure that you have two VMs configured with a private network between each.
You can use the Vagrantfile in the Technical requirements section to accomplish this.
Connect to the first of your machines:
$ vagrant ssh centos1
Check that the IP address of centos1 is correctly configured, using the command ip a from Chapter 1, Introduction and Environment Setup.
We expect it to be 192.168.33.10, under the eth1 device:
[vagrant@centos1 ~]$ ip a<SNIP>3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 08:00:27:ac:f2:12 brd ff:ff:ff:ff:ff:ff inet 192.168.33.10/24 brd 192.168.33.255 scope global noprefixroute eth1 valid_lft forever preferred_lft forever inet6 fe80::a00:27ff:feac:f212/64 ...