Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2019 12:10:27 +0200
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>, mops@punkt.de
Subject:   Re: IPFW NAT64 changed 11.2 --> 11.3?
Message-ID:  <F475ACC5-71CD-4C62-9E63-3F206A305F34@punkt.de>
In-Reply-To: <71dacccb-2500-6d7e-c890-2733d15fbbe5@yandex.ru>
References:  <950200A8-6D36-46FE-B0DD-BA6EA860FEB7@punkt.de> <71dacccb-2500-6d7e-c890-2733d15fbbe5@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
> Am 26.06.2019 um 11:47 schrieb Andrey V. Elsukov <bu7cher@yandex.ru>:
> Check the output of the following commands on both translators:
>=20
> # sysctl net.inet.ip.fw | grep nat64
> # ipfw nat64lsn all list
> # ipfw nat64lsn NAT64 stats

Working 11.2 system:

root@gate64:~ # sysctl net.inet.ip.fw | grep nat64
net.inet.ip.fw.nat64_allow_private: 0
net.inet.ip.fw.nat64_debug: 0
root@gate64:~ # ipfw nat64lsn all list
nat64lsn NAT64 prefix4 217.29.40.140/32  log
root@gate64:~ # ipfw nat64lsn NAT64 stats
nat64lsn NAT64
	5311 packets translated from IPv6 to IPv4
	6048 packets translated from IPv4 to IPv6
	0 IPv6 fragments created
	0 IPv4 fragments received
	0 output packets dropped due to no bufs, etc.
	0 output packets discarded due to no IPv4 route
	0 output packets discarded due to no IPv6 route
	7 packets discarded due to unsupported protocol
	0 packets discarded due to memory allocation problems
	0 packets discarded due to some errors
	76362 packets not matched with IPv4 prefix
	722 mbufs queued for post processing
	238514 times the job queue was processed
	951888 job requests queued
	0 job requests queue limit reached
	0 job requests failed due to memory allocation problems
	5 hosts allocated
	5 hosts requested
	0 host requests failed
	717 portgroups requested
	722 portgroups allocated
	1444 portgroups deleted
	0 portgroup requests failed
	0 portgroups allocated for TCP
	0 portgroups allocated for UDP
	0 portgroups allocated for ICMP
	780 states created
	780 states deleted

Defunct 11.3 system:

root@gate64:~ # sysctl net.inet.ip.fw | grep nat64
net.inet.ip.fw.nat64_direct_output: 1
net.inet.ip.fw.nat64_debug: 0
root@gate64:~ # ipfw nat64lsn all list
nat64lsn NAT64 prefix4 217.29.40.145/32  log
root@gate64:~ # ipfw nat64lsn NAT64 stats
nat64lsn NAT64
	357 packets translated from IPv6 to IPv4
	493 packets translated from IPv4 to IPv6
	0 IPv6 fragments created
	0 IPv4 fragments received
	0 output packets dropped due to no bufs, etc.
	0 output packets discarded due to no IPv4 route
	0 output packets discarded due to no IPv6 route
	0 packets discarded due to unsupported protocol
	0 packets discarded due to memory allocation problems
	0 packets discarded due to some errors
	3115 packets not matched with IPv4 prefix
	40 mbufs queued for post processing
	79 times the job queue was processed
	79 job requests queued
	0 job requests queue limit reached
	0 job requests failed due to memory allocation problems
	1 hosts allocated
	1 hosts requested
	0 host requests failed
	39 portgroups requested
	40 portgroups allocated
	78 portgroups deleted
	0 portgroup requests failed
	0 portgroups allocated for TCP
	0 portgroups allocated for UDP
	1 portgroups allocated for ICMP
	132 states created
	132 states deleted

tcpdump will take some more time, currently we do not have /dev/bpf in =
these jails.

Kind regards,
Patrick
--=20
punkt.de GmbH			Internet - Dienstleistungen - Beratung
Kaiserallee 13a			Tel.: 0721 9109-0 Fax: -100
76133 Karlsruhe			info@punkt.de	http://punkt.de
AG Mannheim 108285		Gf: Juergen Egeling




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F475ACC5-71CD-4C62-9E63-3F206A305F34>