Subject: Using ipnat with DHCP.
To: None <>
From: None <>
List: current-users
Date: 11/12/1999 12:13:57
Can I have ipnat map one of my ethernet cards to another?  I want to
connect my NetBSD machine to a cable modem.  So, it's connected out a
10baseT ethernet card using DHCP to acquire an IP address.  Then I want to
connect that machine to another using a direct link with ethernet cards.

What I want to do is transfer all data coming out of the direct link to the
cable modem connection.  I believe the term is IP masquerading.

I found ipnat.  However, it appears I have to name two IP addresses.  Which
I can't because one of them changes from day to day.  I suppose I could
write a script to grab it everytime I boot, but what a royal pain!


---------------------- Forwarded by Rick Cockerham/Austin/IBM on 11/12/1999
12:08 PM ---------------------------

Michael Graff <> on 11/11/1999 04:27:22 PM

To:   Rick Cockerham/Austin/IBM@IBMUS
Subject:  Re: Wrong ipnat. writes:

> My only problem now is, in the examples it lists specific IP addresses.
> How does this work with DHCP?  Can I map a device?

I think you'll need to rewrite your ipf file when you get your dhcp

I'd mail to and ask this -- others have done
this I'm certain.