Package Installation task commands

Package: net-tools
task completed successfully
ssh tony@stapp01
The authenticity of host ‘stapp01 (172.16.238.10)’ can’t be established.
ECDSA key fingerprint is SHA256:s2vurgndQj9XcSBQhMGH1MJ1p2Ft2FQF3S5L/KHqAWA.
ECDSA key fingerprint is MD5:11:25:79:5c:a1:9d:eb:ea:61:f4:52:3b:b1:dc:02:32.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘stapp01,172.16.238.10’ (ECDSA) to the list of known hosts.
tony@stapp01’s password:
Permission denied, please try again.
tony@stapp01’s password:
[tony@stapp01 ~]$ sudo su

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.    #2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for tony:
[root@stapp01 tony]# yum install net-tools -y
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors

  • base: linux.darkpenguin.net
  • extras: mirror.softaculous.com
  • updates: linux.darkpenguin.net
    base | 3.6 kB 00:00:00
    extras | 2.9 kB 00:00:00
    updates | 2.9 kB 00:00:00
    (1/4): base/7/x86_64/group_gz | 153 kB 00:00:00
    (2/4): extras/7/x86_64/primary_db | 206 kB 00:00:00
    (3/4): base/7/x86_64/primary_db | 6.1 MB 00:00:00
    (4/4): updates/7/x86_64/primary_db | 3.8 MB 00:00:00
    Resolving Dependencies
    → Running transaction check
    —> Package net-tools.x86_64 0:2.0-0.25.20131004git.el7 will be installed
    → Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================
Package Arch Version Repository Size

Installing:
net-tools x86_64 2.0-0.25.20131004git.el7 base 306 k

Transaction Summary

Install 1 Package

Total download size: 306 k
Installed size: 917 k
Downloading packages:
net-tools-2.0-0.25.20131004git.el7.x86_64.rpm | 306 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : net-tools-2.0-0.25.20131004git.el7.x86_64 1/1
Verifying : net-tools-2.0-0.25.20131004git.el7.x86_64 1/1

Installed:
net-tools.x86_64 0:2.0-0.25.20131004git.el7

Complete!
[root@stapp01 tony]# arp
Address HWtype HWaddress Flags Mask Iface
gateway ether 02:42:54:60:c2:46 C eth0
jump_host.linuxpackagei ether 02:42:ac:10:ee:03 C eth0
[root@stapp01 tony]# hostname
stapp01
[root@stapp01 tony]#
[root@stapp01 tony]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.16.238.10 netmask 255.255.255.0 broadcast 172.16.238.255
ether 02:42:ac:10:ee:0a txqueuelen 0 (Ethernet)
RX packets 1513 bytes 11093433 (10.5 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1004 bytes 85791 (83.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.16.239.5 netmask 255.255.255.0 broadcast 172.16.239.255
ether 02:42:ac:10:ef:05 txqueuelen 0 (Ethernet)
RX packets 55 bytes 7159 (6.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1 (Local Loopback)
RX packets 92 bytes 7800 (7.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 92 bytes 7800 (7.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[root@stapp01 tony]# ipmaddr
1: lo
inet 224.0.0.1
inet6 ff02::1
inet6 ff01::1
16: eth0
link 33:33:00:00:00:01
link 01:00:5e:00:00:01
inet 224.0.0.1
inet6 ff02::1
inet6 ff01::1
22: eth1
link 33:33:00:00:00:01
link 01:00:5e:00:00:01
inet 224.0.0.1
inet6 ff02::1
inet6 ff01::1
[root@stapp01 tony]# iptunnel
[root@stapp01 tony]# mii-tool
No interface specified
usage: mii-tool [-VvRrwl] [-A media,… | -F media] [-p addr] <interface …>
-V, --version display version information
-v, --verbose more verbose output
-R, --reset reset MII to poweron state
-r, --restart restart autonegotiation
-w, --watch monitor for link status changes
-l, --log with -w, write events to syslog
-A, --advertise=media,… advertise only specified media
-F, --force=media force specified media technology
-p, --phy=addr set PHY (MII address) to report
media: 1000baseTx-HD, 1000baseTx-FD,
100baseT4, 100baseTx-FD, 100baseTx-HD,
10baseT-FD, 10baseT-HD,
(to advertise both HD and FD) 1000baseTx, 100baseTx, 10baseT
[root@stapp01 tony]# nameif
opening configuration file /etc/mactab: No such file or directory
[root@stapp01 tony]# netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 stapp01:ssh jump_host.linuxpa:35154 ESTABLISHED
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix 3 [ ] DGRAM 31552 /run/systemd/notify
unix 2 [ ] DGRAM 31553 /run/systemd/cgroups-agent
unix 2 [ ] DGRAM 31557 /run/systemd/shutdownd
unix 4 [ ] DGRAM 31559 /run/systemd/journal/socket
unix 5 [ ] DGRAM 31560 /dev/log
unix 3 [ ] STREAM CONNECTED 40968
unix 2 [ ] DGRAM 40493
unix 2 [ ] DGRAM 32106
unix 3 [ ] STREAM CONNECTED 40423
unix 3 [ ] STREAM CONNECTED 40969 /run/systemd/journal/stdout
unix 2 [ ] DGRAM 40477
unix 3 [ ] STREAM CONNECTED 40424
unix 3 [ ] STREAM CONNECTED 41044
unix 2 [ ] DGRAM 40521
unix 3 [ ] STREAM CONNECTED 41045 /run/systemd/journal/stdout
unix 2 [ ] DGRAM 40739
unix 3 [ ] STREAM CONNECTED 32466 /run/systemd/journal/stdout
unix 2 [ ] DGRAM 41012
unix 3 [ ] STREAM CONNECTED 40485
unix 3 [ ] STREAM CONNECTED 41055 /run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 33220
unix 3 [ ] STREAM CONNECTED 41011 /run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 40470
unix 3 [ ] STREAM CONNECTED 41008
unix 3 [ ] STREAM CONNECTED 41009
[root@stapp01 tony]# plipconfig
Usage: plipconfig interface [nibble NN] [trigger NN]
plipconfig -V | --version
plipconfig -h | --help
[root@stapp01 tony]# rarp
bash: rarp: command not found
[root@stapp01 tony]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default gateway 0.0.0.0 UG 0 0 0 eth0
172.16.238.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
172.16.239.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
[root@stapp01 tony]# slattach
Usage: slattach [-ehlLmnqv] [-k keepalive] [-o outfill] [-c cmd] [-s speed] [-p protocol] tty | -
slattach -V | --version
[root@stapp01 tony]# exit
exit
[tony@stapp01 ~]$ exit
logout
Connection to stapp01 closed.
thor@jump_host /$ ssh steve@stapp02
The authenticity of host ‘stapp02 (172.16.238.11)’ can’t be established.
ECDSA key fingerprint is SHA256:kYKNANugYKg45bfp1SYRbHFWUcebilqwO3ZBrl5k0aM.
ECDSA key fingerprint is MD5:29:c2:a7:bf:5d:89:4d:af:9d:e2:f7:30:c7:4a:50:f9.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘stapp02,172.16.238.11’ (ECDSA) to the list of known hosts.
steve@stapp02’s password:
[steve@stapp02 ~]$ sudo su

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for steve:
[root@stapp02 steve]# yum install net-tools -y
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors

  • base: linux.darkpenguin.net
  • extras: mirror.softaculous.com
  • updates: ftp.plusline.net
    base | 3.6 kB 00:00:00
    extras | 2.9 kB 00:00:00
    updates | 2.9 kB 00:00:00
    (1/4): base/7/x86_64/group_gz | 153 kB 00:00:00
    (2/4): extras/7/x86_64/primary_db | 206 kB 00:00:00
    (3/4): updates/7/x86_64/primary_db | 3.8 MB 00:00:00
    (4/4): base/7/x86_64/primary_db | 6.1 MB 00:00:00
    Resolving Dependencies
    → Running transaction check
    —> Package net-tools.x86_64 0:2.0-0.25.20131004git.el7 will be installed
    → Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================
Package Arch Version Repository Size

Installing:
net-tools x86_64 2.0-0.25.20131004git.el7 base 306 k

Transaction Summary

Install 1 Package

Total download size: 306 k
Installed size: 917 k
Downloading packages:
net-tools-2.0-0.25.20131004git.el7.x86_64.rpm | 306 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : net-tools-2.0-0.25.20131004git.el7.x86_64 1/1
Verifying : net-tools-2.0-0.25.20131004git.el7.x86_64 1/1

Installed:
net-tools.x86_64 0:2.0-0.25.20131004git.el7

Complete!
[root@stapp02 steve]# arp
Address HWtype HWaddress Flags Mask Iface
gateway ether 02:42:54:60:c2:46 C eth0
jump_host.linuxpackagei ether 02:42:ac:10:ee:03 C eth0
[root@stapp02 steve]# hostname
stapp02
[root@stapp02 steve]# exit
exit
[steve@stapp02 ~]$ exit
logout
Connection to stapp02 closed.
thor@jump_host /$ ssh banner@stapp03
The authenticity of host ‘stapp03 (172.16.238.12)’ can’t be established.
ECDSA key fingerprint is SHA256:vhpkpZj1AGxey7ZAP5ePXguS/v/TxBI/14G0REgee24.
ECDSA key fingerprint is MD5:35:a0:7b:c7:81:cf:94:86:51:d3:bf:a3:72:02:ba:c6.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘stapp03,172.16.238.12’ (ECDSA) to the list of known hosts.
banner@stapp03’s password:
[banner@stapp03 ~]$ sudo su

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for banner:
[root@stapp03 banner]# yum install net-tools -y
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors

  • base: linux.darkpenguin.net
  • extras: mirror.softaculous.com
  • updates: linux.darkpenguin.net
    base | 3.6 kB 00:00:00
    extras | 2.9 kB 00:00:00
    updates | 2.9 kB 00:00:00
    (1/4): base/7/x86_64/group_gz | 153 kB 00:00:00
    (2/4): extras/7/x86_64/primary_db | 206 kB 00:00:00
    (3/4): updates/7/x86_64/primary_db | 3.8 MB 00:00:00
    (4/4): base/7/x86_64/primary_db | 6.1 MB 00:00:00
    Resolving Dependencies
    → Running transaction check
    —> Package net-tools.x86_64 0:2.0-0.25.20131004git.el7 will be installed
    → Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================
Package Arch Version Repository Size

Installing:
net-tools x86_64 2.0-0.25.20131004git.el7 base 306 k

Transaction Summary

Install 1 Package

Total download size: 306 k
Installed size: 917 k
Downloading packages:
net-tools-2.0-0.25.20131004git.el7.x86_64.rpm | 306 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : net-tools-2.0-0.25.20131004git.el7.x86_64 1/1
Verifying : net-tools-2.0-0.25.20131004git.el7.x86_64 1/1

Installed:
net-tools.x86_64 0:2.0-0.25.20131004git.el7

Complete!
[root@stapp03 banner]# arp
Address HWtype HWaddress Flags Mask Iface
gateway ether 02:42:54:60:c2:46 C eth0
jump_host.linuxpackagei ether 02:42:ac:10:ee:03 C eth0
[root@stapp03 banner]# hostname
stapp03
[root@stapp03 banner]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.16.238.12 netmask 255.255.255.0 broadcast 172.16.238.255
ether 02:42:ac:10:ee:0c txqueuelen 0 (Ethernet)
RX packets 1970 bytes 11124182 (10.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1348 bytes 109887 (107.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.16.239.2 netmask 255.255.255.0 broadcast 172.16.239.255
ether 02:42:ac:10:ef:02 txqueuelen 0 (Ethernet)
RX packets 59 bytes 7550 (7.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1 (Local Loopback)
RX packets 94 bytes 7928 (7.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 94 bytes 7928 (7.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[root@stapp03 banner]# ipmaddr
1: lo
inet 224.0.0.1
inet6 ff02::1
inet6 ff01::1
6: eth1
link 33:33:00:00:00:01
link 01:00:5e:00:00:01
inet 224.0.0.1
inet6 ff02::1
inet6 ff01::1
14: eth0
link 33:33:00:00:00:01
link 01:00:5e:00:00:01
inet 224.0.0.1
inet6 ff02::1
inet6 ff01::1
[root@stapp03 banner]#