On Wed, Sep 13, 2006 at 10:45:18AM -0400, Monah Baki wrote:
> Hi all,
> 
> Yesterday I just received 8 public IP addresses from my ISP. I'm running
> ppp on my OpenBSD 3.9 server (DSL).
> My xl0 has the public IP address (67.100.x.x) provided to me by my ISP, my
> xl1 interface is my 192.168.3.1
> Once I run /usr/sbin/ppp -ddial pppoe, my tun0 gets created
> 
> If I issue a netstat -an, I see the 5 other public IP addresses given to me.
> 
> Now I have 4 other machines behind the OBSD box, in the 192.168.3.x IP range.
> 
> My NAT rule is:
> nat on xl1 from 192.168.3.0/24 to any -> xl0
> 
> Now if I were to assign the gateway on my internal hosts the IP address of
> xl1 on my BSD box, I can't seem to access the internet.
> 
> Now if I were to assign one of the public interfaces on one of the
> internal machines, and the gateway is the IP address of xl0 on my BSD box,
> it works fine.
> 
> 
> Hope this makes sense, cause I'm completely lost as to why something that
> was working on a single IP, I introduced 8 other IP's and it does not work
> anymore.
> Nothing has changed in my pf.rule file, only the new 8 IP addresses.

Something doesn't work as expected here; most likely, your routing
configuration is strange. Could you post a routing table from your
gateway and one of the hosts on the internal network? And could you
verify that you are, indeed, not blocking anything (though that sounds
highly unlikely, given your symptoms, it's not a bad idea - use tcpdump
-envvvi pflog0 -s 200 or somesuch - a sufficiently large number to
capture whatever protocol you need).

On a tangent, it probably is a better idea to just give each host it's
own IP - if you can do without NAT, there's very little reason to use
it.

                Joachim

Reply via email to