On 02/23/2018 02:32 PM, Reco wrote:
Hi. On Fri, Feb 23, 2018 at 02:24:13PM -0500, Stephen P. Molnar wrote:Sorry it took me a while to get it, but: root@Igor:~# netstat -nr -f inet6 Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 enp0s12 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp0s12Hate to break it to you, but it's IPv4 routing table. "-f" does not designate address family in net-tools' netstat. What I meant was "ip -6 ro l", although "netstat -rn6" will do.One, hopefully final, question. In case I mess up, how do I enable IPv6?Non-persistent: echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6 Persistent - remove appropriate line from /etc/sysctl.conf. Invoke "sysctl --system" Reco
I think I got it right this time: root@Igor:/home/comp# netstat -rn6 Kernel IPv6 routing tableDestination Next Hop Flag Met Ref Use If 2600:1700:4280:3690::48/128 :: Ue 256 1 0 enp0s12 2600:1700:4280:3690::/64 :: U 100 1 0 enp0s12 2600:1700:4280:3690::/60 fe80::3e04:61ff:feb3:3c20 UG 100 1 0 enp0s12 fe80::3e04:61ff:feb3:3c20/128 :: U 100 1 0 enp0s12 fe80::/64 :: U 256 1 0 enp0s12 ::/0 fe80::3e04:61ff:feb3:3c20 UG 100 2 8 enp0s12
::/0 :: !n -1 1 9 lo ::1/128 :: Un 0 3 3 lo2600:1700:4280:3690::48/128 :: Un 0 2 0 enp0s12 2600:1700:4280:3690:2a0:ccff:fe78:c91f/128 :: Un 0 2 0 enp0s12 2600:1700:4280:3690:e0d8:d806:ce55:b634/128 :: Un 0 2 0 enp0s12 fe80::2a0:ccff:fe78:c91f/128 :: Un 0 3 3 enp0s12 ff00::/8 :: U 256 2 29 enp0s12
::/0 :: !n -1 1 9 lo root@Igor:/home/comp# -- Stephen P. Molnar, Ph.D. Consultant www.molecular-modeling.net (614)312-7528 (c) Skype: smolnar1
root@Igor:/home/comp# netstat -rn6 Kernel IPv6 routing table Destination Next Hop Flag Met Ref Use If 2600:1700:4280:3690::48/128 :: Ue 256 1 0 enp0s12 2600:1700:4280:3690::/64 :: U 100 1 0 enp0s12 2600:1700:4280:3690::/60 fe80::3e04:61ff:feb3:3c20 UG 100 1 0 enp0s12 fe80::3e04:61ff:feb3:3c20/128 :: U 100 1 0 enp0s12 fe80::/64 :: U 256 1 0 enp0s12 ::/0 fe80::3e04:61ff:feb3:3c20 UG 100 2 8 enp0s12 ::/0 :: !n -1 1 9 lo ::1/128 :: Un 0 3 3 lo 2600:1700:4280:3690::48/128 :: Un 0 2 0 enp0s12 2600:1700:4280:3690:2a0:ccff:fe78:c91f/128 :: Un 0 2 0 enp0s12 2600:1700:4280:3690:e0d8:d806:ce55:b634/128 :: Un 0 2 0 enp0s12 fe80::2a0:ccff:fe78:c91f/128 :: Un 0 3 3 enp0s12 ff00::/8 :: U 256 2 29 enp0s12 ::/0 :: !n -1 1 9 lo root@Igor:/home/comp#