Subject: kern/3547: ipnat fails with multiple outgoing interfaces
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@rumolt.teuto.de>
List: netbsd-bugs
Date: 04/27/1997 18:12:42
>Number:         3547
>Category:       kern
>Synopsis:       ipnat fails when doing the same mapping for multiple interfaces
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 27 09:20:02 1997
>Last-Modified:
>Originator:     Martin Husemann
>Organization:
	
>Release:        current as of Apr 22
>Environment:
	
System: NetBSD rumolt.teuto.de 1.2D NetBSD 1.2D (RUMOLT) #0: Sun Apr 27 19:36:03 MEST 1997 root@hwart.teuto.de:/usr/src/sys-local/arch/i386/compile/RUMOLT i386


>Description:

Try to map a host from an internal network to its official ip address
on two outgoing interfaces, as in

map ppp0 192.168.112.2/32 -> 194.77.23.162/32
map ipi0 192.168.112.2/32 -> 194.77.23.162/32

The second line fails in the ioctl setting the NAT with "Adress exists".
Not in every setup there is a single "outside".

>How-To-Repeat:
s.a.

>Fix:
./.
>Audit-Trail:
>Unformatted: