diff options
| author | Joel Dahl <joel@FreeBSD.org> | 2012-06-13 18:57:27 +0000 |
|---|---|---|
| committer | Joel Dahl <joel@FreeBSD.org> | 2012-06-13 18:57:27 +0000 |
| commit | 6ae742a5497cd19839bc640904b0e20329870a4f (patch) | |
| tree | 1ca3dcab3d9c74a554df47848db0b2abedb9b477 /sys/netinet/libalias | |
| parent | 2ca63f0a909107aa10f9dd1e7758304b2fb2cd42 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/libalias')
| -rw-r--r-- | sys/netinet/libalias/libalias.3 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet/libalias/libalias.3 b/sys/netinet/libalias/libalias.3 index 4d05e80e7789..1837c2957fc7 100644 --- a/sys/netinet/libalias/libalias.3 +++ b/sys/netinet/libalias/libalias.3 @@ -201,11 +201,10 @@ is closed. If this mode bit is set, traffic on the local network which does not originate from unregistered address spaces will be ignored. Standard Class A, B and C unregistered addresses are: -.Bd -literal -offset indent +.Pp 10.0.0.0 -> 10.255.255.255 (Class A subnet) 172.16.0.0 -> 172.31.255.255 (Class B subnets) 192.168.0.0 -> 192.168.255.255 (Class C subnets) -.Ed .Pp This option is useful in the case that the packet aliasing host has both registered and unregistered subnets on different interfaces. @@ -499,14 +498,13 @@ call. New traffic generated by any of the local machines, designated in the several function calls, will be aliased to the same address. Consider the following example: -.Bd -literal -offset indent +.Pp LibAliasRedirectAddr(la, inet_aton("192.168.0.2"), inet_aton("141.221.254.101")); LibAliasRedirectAddr(la, inet_aton("192.168.0.3"), inet_aton("141.221.254.101")); LibAliasRedirectAddr(la, inet_aton("192.168.0.4"), inet_aton("141.221.254.101")); -.Ed .Pp Any outgoing connections such as .Xr telnet 1 |
