Subject: IPNAT doesn't work !
To: , <netbsd-users@netbsd.org>
From: Olli <oliverko@dialup.nacamar.de>
List: netbsd-help
Date: 02/15/1999 17:24:06
This is a multi-part message in MIME format.

------=_NextPart_000_012F_01BE5907.FDA402E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Dear all,

Guenther Grau wrote:
>> 2. ipnat -l after I established a connection to my ISP (telnet to
>> remote host from Linux). I got displayed that the l IP is changed
to
>> 195.63.108.220:
>
>What was displayed where? Please cite the exact message und where it
>was output (in a file? in the xterm? on the linux machine?)

On stdout.
->Feb 15 16:42.32 netbsd1 pppd [91]: connect: ppp0 <--> /dev/ttyC0
->Feb 15 16:42.32 netbsd1 pppd [91]: local IP address changed to
195.63.108.242

>Is 195.63.108.220 the IP address the NetBSD machine got assigned
>on the ppp interface? netstat -rn might be helpful.
Yes. Please look at appendix (netstat.befor.file -> befor a ppp
connection, netstat.after.file -> after a ppp conection is
established).
(It's another session -> other dyn. IP : 195.63.108.220 ->
195.63.108.244).

>Only port 1050. Did you have any other connection
>open to 141.30.4.242 ?
No - I run only the telnet program again.


> 4. I called "tcpdump -n -i ppp0" and telnet .
>
>Still not using the options I asked for ...

Sorry - I get syntax errors from tcpdump if I made on NetBSD:

-> tcpdump -v -v -v -x -s 1500 "(host physik.phy.tu-dresden.de)|(host
-> debian1.network.de)|(host netbsd1.network.de)"

and then a telnet request from Linux.

>Btw., which version of tcpdump are you using?
tcpdump 3.4a5

with regards,
oliver

------=_NextPart_000_012F_01BE5907.FDA402E0
Content-Type: application/octet-stream;
	name="netstat.after.file"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="netstat.after.file"

Um91dGluZyB0YWJsZXMKCkludGVybmV0OgpEZXN0aW5hdGlvbiAgICAgICAgR2F0ZXdheSAgICAg
ICAgICAgIEZsYWdzICAgICBSZWZzICAgICBVc2UgICAgTXR1ICBJbnRlcmZhY2UKZGVmYXVsdCAg
ICAgICAgICAgIDE5NC4xNjIuMTk2LjEwICAgICBVRyAgICAgICAgICAwICAgICAgICAwICAgICAg
LSAgcHBwMAoxMjcuMC4wLjEgICAgICAgICAgMTI3LjAuMC4xICAgICAgICAgIFVIICAgICAgICAg
IDAgICAgICAgIDAgICAgICAtICBsbzAKMTkyLjE2OC4xICAgICAgICAgIGxpbmsjMSAgICAgICAg
ICAgICBVQyAgICAgICAgICAwICAgICAgICAwICAgICAgLSAgZGUwCjE5Mi4xNjguMS4xICAgICAg
ICAwODowMDoyYjplNDozZToyZSAgVUhMICAgICAgICAgMSAgICAgICAyNCAgICAgIC0gIGxvMAox
OTIuMTY4LjEuMiAgICAgICAgNTI6NTQ6MDA6ZGU6NmQ6NTEgIFVITCAgICAgICAgIDAgICAgICAg
IDAgICAgICAtICBkZTAKMTk0LjE2Mi4xOTYuMTAgICAgIDE5NS42My4xMDguMjQ0ICAgICBVSCAg
ICAgICAgICAxICAgICAgICAwICAgICAgLSAgcHBwMAo=

------=_NextPart_000_012F_01BE5907.FDA402E0
Content-Type: application/octet-stream;
	name="netstat.befor.file"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="netstat.befor.file"

Um91dGluZyB0YWJsZXMKCkludGVybmV0OgpEZXN0aW5hdGlvbiAgICAgICAgR2F0ZXdheSAgICAg
ICAgICAgIEZsYWdzICAgICBSZWZzICAgICBVc2UgICAgTXR1ICBJbnRlcmZhY2UKZGVmYXVsdCAg
ICAgICAgICAgIDE5NC4xNjIuMTk2LjEwICAgICBVRyAgICAgICAgICAwICAgICAgICAwICAgICAg
LSAgcHBwMAoxMjcuMC4wLjEgICAgICAgICAgMTI3LjAuMC4xICAgICAgICAgIFVIICAgICAgICAg
IDAgICAgICAgIDAgICAgICAtICBsbzAKMTkyLjE2OC4xICAgICAgICAgIGxpbmsjMSAgICAgICAg
ICAgICBVQyAgICAgICAgICAwICAgICAgICAwICAgICAgLSAgZGUwCjE5Mi4xNjguMS4xICAgICAg
ICAwODowMDoyYjplNDozZToyZSAgVUhMICAgICAgICAgMSAgICAgICAyNCAgICAgIC0gIGxvMAox
OTQuMTYyLjE5Ni4xMCAgICAgZGVmYXVsdCAgICAgICAgICAgIFVIICAgICAgICAgIDEgICAgICAg
IDAgICAgICAtICBwcHAwCg==

------=_NextPart_000_012F_01BE5907.FDA402E0--