rodgoslin wrote:The only change has been to re-build the up machine.
[root@up rod]# ifconfig -a
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.202 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::f279:59ff:fe5e:5b2d prefixlen 64 scopeid 0x20<link>
ether f0:79:59:5e:5b:2d txqueuelen 1000 (Ethernet)
RX packets 3333 bytes 2599516 (2.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2739 bytes 448179 (437.6 KiB)
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
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 310 bytes 97927 (95.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 310 bytes 97927 (95.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp0s19f2u1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:e0:4c:be:cd:8a txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 35 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@up rod]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.1.150 0.0.0.0 UG 0 0 0 enp3s0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp3s0
[root@up rod]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@up rod]# ps -ef|grep sshd
root 1397 1 0 00:35 ? 00:00:00 /usr/sbin/sshd -D
root 6541 5101 0 01:29 pts/1 00:00:00 grep --color sshd
[root@up rod]# netstat -a | grep sshd
There was no response to this command although services and daemons indicates that sshd is running, as shown above
[root@up rod]# traceroute 192.168.1.200
traceroute to 192.168.1.200 (192.168.1.200), 30 hops max, 60 byte packets
1 up.local (192.168.1.202) 3005.817 ms !H 3005.770 ms !H 3005.764 ms !H
[root@down rod]# ifconfig -a
enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.200 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::2e56:dcff:fed3:6fa3 prefixlen 64 scopeid 0x20<link>
ether 2c:56:dc:d3:6f:a3 txqueuelen 1000 (Ethernet)
RX packets 11359833 bytes 2710150380 (2.5 GiB)
RX errors 0 dropped 10 overruns 0 frame 0
TX packets 15271139 bytes 13221149048 (12.3 GiB)
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
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 25282 bytes 7804205 (7.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 25282 bytes 7804205 (7.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.1.150 0.0.0.0 UG 0 0 0 enp4s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp4s0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp4s0
[root@down rod]# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@down rod]# ps -ef|grep sshd
root 642 356 0 19:27 pts/1 00:00:00 grep --color sshd
root 1502 1 0 Jul31 ? 00:00:00 /usr/sbin/sshd -D
[root@down rod]# netstat -a|grep sshd
As with up, there was no response to this command
[root@down rod]# traceroute up
traceroute to up (192.168.1.202), 30 hops max, 60 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 *^C
systemctl status sshd.service -al -n150
journalctl -ab|grep -i ssh
[root@up rod]# systemctl status sshd.service -al -n150
● sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)
Active: active (running) since Wed 2017-08-02 00:35:29 BST; 22h ago
Main PID: 1397 (sshd)
CGroup: /system.slice/sshd.service
└─1397 /usr/sbin/sshd -D
Aug 02 00:35:30 up sshd[1397]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Aug 02 00:35:30 up sshd[1397]: Server listening on :: port 22.
[root@up rod]# journalctl -ab|grep -i ssh
Aug 02 00:26:46 up avahi-daemon[806]: Loading service file /services/openssh.service.
Aug 02 00:26:46 up avahi-daemon[806]: Loading service file /services/ssh.service.
Aug 02 00:26:47 up avahi-daemon[806]: Service "up" (/services/ssh.service) successfully established.
Aug 02 00:26:47 up avahi-daemon[806]: Service "Remote Access on up" (/services/openssh.service) successfully established.
Aug 02 00:35:29 up xinetd[1352]: Reading included configuration file: /etc/xinetd.d/sshd-xinetd [file=/etc/xinetd.d/sshd-xinetd] [line=16]
Aug 02 00:35:30 up sshd[1397]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Aug 02 00:35:30 up sshd[1397]: Server listening on :: port 22.
Aug 02 00:35:31 up systemd[1]: Failed to start Dropbear SSH Server Daemon.
apache apache-mod_perl boa lighttpd thttpd bind dnsmasq mydsn openssh-server ftp-server-krb5 wu-ftpd proftpd pure-ftpd dhcp-server udhcpd sendmail postfix qmail exim imap courier-imap-pop telnet-server-krb5 nfs-utils nfs-utils-clients samba-server bacula-fd bacula-sd bacula-dir-common rsyslog syslog-ng cups mysql postgresql8.2 postgresql8.3 avahi cups openslp bittorrent deluge ktorrent transmission vuze rtorrent ctorrent synce-hal
Aug 02 01:13:19 up drakfirewall[4538]: running: /bin/systemctl --quiet is-enabled sshd.service
Aug 02 01:13:28 up drakfirewall[4538]: running: /bin/systemctl --quiet is-enabled sshd.service
Aug 02 01:21:21 up drakxservices[5440]: running: /bin/systemctl --quiet is-enabled sshd.service
Aug 02 01:21:22 up drakxservices[5440]: running: /bin/systemctl --quiet is-active sshd.service
Aug 02 01:24:54 up [RPM][5835]: install apache-sshd-0.11.0-3.mga5.noarch: success
Aug 02 01:25:18 up drakxservices[5962]: running: /bin/systemctl --quiet is-enabled sshd.service
Aug 02 01:25:19 up drakxservices[5962]: running: /bin/systemctl --quiet is-active sshd.service
Aug 02 01:51:31 up drakxservices[7546]: running: /bin/systemctl --quiet is-enabled sshd.service
Aug 02 01:51:32 up drakxservices[7546]: running: /bin/systemctl --quiet is-active sshd.service
apache apache-mod_perl boa lighttpd thttpd bind dnsmasq mydsn openssh-server ftp-server-krb5 wu-ftpd proftpd pure-ftpd dhcp-server udhcpd sendmail postfix qmail exim imap courier-imap-pop telnet-server-krb5 nfs-utils nfs-utils-clients samba-server bacula-fd bacula-sd bacula-dir-common rsyslog syslog-ng cups mysql postgresql8.2 postgresql8.3 avahi cups openslp bittorrent deluge ktorrent transmission vuze rtorrent ctorrent synce-hal
Aug 02 02:31:23 up drakfirewall[9455]: running: /bin/systemctl --quiet is-enabled sshd.service
Aug 02 02:31:31 up drakfirewall[9455]: running: /bin/systemctl --quiet is-enabled sshd.service
Aug 02 04:02:10 up msec[15149]: tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN xinetd
Aug 02 04:02:10 up msec[15162]: tcp6 0 0 [::]:ssh [::]:* LISTEN sshd
Aug 02 04:02:10 up msec[15228]: - Added processes with open network ports : tcp6 0 0 [::]:ssh [::]:* LISTEN sshd
Aug 02 04:02:10 up msec[15255]: - Removed processes with open network ports : tcp6 0 0 [::]:ssh [::]:* LISTEN dropbear
rodgoslin wrote:Aug 02 00:35:30 up sshd[1397]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Aug 02 00:35:30 up sshd[1397]: Server listening on :: port 22.
[...]
Aug 02 00:35:31 up systemd[1]: Failed to start Dropbear SSH Server Daemon.
[root@down rod]# netstat -a |grep ssh
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
[root@down rod]# netstat -a |grep sshd
[root@down rod]#
the traceroute of down from up is good 192.168.1.200
[root@down rod]# traceroute up
traceroute to up (192.168.1.202), 30 hops max, 60 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
[root@down rod]# arp
Address HWtype HWaddress Flags Mask Iface
Transporter ether fc:2a:54:00:39:d1 C enp4s0
drobo-fs ether 00:1a:62:03:4a:ad C enp4s0
up ether f0:79:59:5e:5b:2d C enp4s0
router ether 20:0c:c8:28:fe:6c C enp4s0
192.168.1.250 ether 02:0f:b5:22:d2:92 C enp4s0
Users browsing this forum: richardwest and 1 guest