OpenBSD 3.2, NAT PF - Strange Error.

2003-03-31 Thread Richard Gutery
Title: OpenBSD 3.2, NAT  PF - Strange Error.





Good day to all.


I am getting a strange error message when trying to use ALIASes for my bsd box and am hoping someone (with better eyes or brains) can assist.

Specifically the message is:
 stuff here... then - translation adress expands to multiple IPs of this address family (more...)


SYNOPSIS:


1) Running OpenBSD 3.2.


2) /etc/hostname.ne3 file looks like so:


 inet y.y.y.y.250 255.255.252.0 NONE
 #inet alias z.z.z.251 255.255.255.255 z.z.z.255
 # six more addresses - I currently have them commented out to eliminate the error message,


3) /etc/nat.conf
 # nat section: packets going out through ne3 with source address internal network/24 get
 # translated as coming from x.x.x.x. 


 nat on ne3 inet from x.x.x.0/24 to any - ne3


The bizarre part (at least for me at this point) is that I've done this with 2.7, 2.9 and 3.0 - no harm, no fowl.


If I comment out the ALIASes, all works as expected.


I would greatly appreciate any assistance that I can get.


Thanks...


Richard Gutery






Re: OpenBSD 3.2, NAT PF - Strange Error.

2003-03-31 Thread Daniel Hartmeier
On Mon, Mar 31, 2003 at 03:20:16PM -0700, Richard Gutery wrote:

   stuff here... then - translation adress expands to multiple IPs of
 this address family (more...)

 The bizarre part (at least for me at this point) is that I've done this with
 2.7, 2.9 and 3.0 - no harm, no fowl.

Prior versions silently picked one of the aliases more or less
arbitrarily, while the new version requires you to decide which alias
to use. Change your rule to

  nat on ne3 inet from x.x.x.0/24 to any - y.y.y.250

so it's clear which address should be used.

Daniel



RE: OpenBSD 3.2, NAT PF - Strange Error.

2003-03-31 Thread Richard Gutery
Title: RE: OpenBSD 3.2, NAT  PF - Strange Error.





Thanks Daniel, that fixed it up real goot.


I suppose that I could NAT all the addresses, but that's for a later date.


Richard






---BeginMessage---
Title: Re: OpenBSD 3.2, NAT  PF - Strange Error.





On Mon, Mar 31, 2003 at 03:20:16PM -0700, Richard Gutery wrote:


  stuff here... then - translation adress expands to multiple IPs of
 this address family (more...)


 The bizarre part (at least for me at this point) is that I've done this with
 2.7, 2.9 and 3.0 - no harm, no fowl.


Prior versions silently picked one of the aliases more or less
arbitrarily, while the new version requires you to decide which alias
to use. Change your rule to


 nat on ne3 inet from x.x.x.0/24 to any - y.y.y.250


so it's clear which address should be used.


Daniel



---End Message---


Richard Gutery.vcf
Description: Binary data


OpenBSD 3.2, NAT PF - Strange Error.

2003-03-31 Thread Richard Gutery
Title: OpenBSD 3.2, NAT  PF - Strange Error.





Oops, spoke too soon.


Seems it worked, but alas, when I tried to browse other sites and review some other mailers, I constantly got Page not found errors. So it appears something else is amiss.

However, I do have something to go on now.


TX, again,


Cheers.
Richard