Hi Guys,
I'm trying to understand the following on my v4 puppetmaster (2.4.0/4.5.0) ifconfig eth0 Link encap:Ethernet HWaddr 52:54:00:D5:E5:04 inet addr:10.200.32.60 Bcast:10.200.255.255 Mask:255.255.0.0 inet6 addr: fe80::5054:ff:fed5:e504/64 Scope:Link netstat -tanp|grep 8140 tcp 0 0 :::8140 :::* LISTEN 13045/java tcp 0 0 ::ffff:10.200.32.60:8140 ::ffff:10.200.32.60:34392 TIME_WAIT - Facter -p gives eth0 => { bindings => [ { address => "10.200.32.60", netmask => "255.255.0.0", network => "10.200.0.0" } ], bindings6 => [ { address => "fe80::5054:ff:fed5:e504", netmask => "ffff:ffff:ffff:ffff::", network => "fe80::" } ], nmap -6 -p8140 -P0 puppetmaster103.ops.sac.int.threatmetrix.com Starting Nmap 5.51 ( http://nmap.org ) at 2016-10-17 04:51 UTC Failed to resolve given IPv6 hostname/IP: puppetmaster.ops.x.y.com. nmap -p8140 -P0 puppetmaster.ops.x.y.com Starting Nmap 5.51 ( http://nmap.org ) at 2016-10-17 04:52 UTC Nmap scan report for puppetmaster.ops.x.ycom (1.2.3.6) Host is up (0.000026s latency). PORT STATE SERVICE 8140/tcp open unknown So, nestat says it listens only in ipv6, nmap says only ipv4 and afaik, our internal network is only guaranteed for ipv4.
It works just fine serving client nodes..
I'm trying to understand the following on my v4 puppetmaster (2.4.0/4.5.0) ifconfig eth0 Link encap:Ethernet HWaddr 52:54:00:D5:E5:04 inet addr:10.200.32.60 Bcast:10.200.255.255 Mask:255.255.0.0 inet6 addr: fe80::5054:ff:fed5:e504/64 Scope:Link netstat -tanp|grep 8140 tcp 0 0 :::8140 :::* LISTEN 13045/java tcp 0 0 ::ffff:10.200.32.60:8140 ::ffff:10.200.32.60:34392 TIME_WAIT - Facter -p gives eth0 => { bindings => [ { address => "10.200.32.60", netmask => "255.255.0.0", network => "10.200.0.0" } ], bindings6 => [ { address => "fe80::5054:ff:fed5:e504", netmask => "ffff:ffff:ffff:ffff::", network => "fe80::" } ], nmap -6 -p8140 -P0 puppetmaster103.ops.sac.int.threatmetrix.com Starting Nmap 5.51 ( http://nmap.org ) at 2016-10-17 04:51 UTC Failed to resolve given IPv6 hostname/IP: puppetmaster.ops.x.y.com. nmap -p8140 -P0 puppetmaster.ops.x.y.com Starting Nmap 5.51 ( http://nmap.org ) at 2016-10-17 04:52 UTC Nmap scan report for puppetmaster.ops.x.ycom (1.2.3.6) Host is up (0.000026s latency). PORT STATE SERVICE 8140/tcp open unknown So, nestat says it listens only in ipv6, nmap says only ipv4 and afaik, our internal network is only guaranteed for ipv4.
It works just fine serving client nodes..
What I want to know is what is going on? Is it ipv4, or ipv6, or both ???
Cheers
Chris