<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.10.1">
</HEAD>
<BODY>
Hi all,<BR>
<BR>
Truthfully - I feel really naive in asking this next question.<BR>
I have not sorted out for myself a model for IP ownership - is it a) the stack, or b) the terminus of the link, or c) something else?<BR>
As far as I have gotten is that it may be a mixed bag, and I now consider the stack as default (or "native") and the terminus as an alias.<BR>
Clearly a stack can support multiple IP identities in the stack as is appropriate to gateway applications, my quandary is to understand when it SHOULD.<BR>
My "Bible" on net subject "TCP/IP Network Administration" by Craig Hunt is not answering me...<BR>
<BR>
Take tun configuration as a jnos example.<BR>
Maiko and I had significant conversation a long time ago that resulted in:<BR>
[host ip 192.168.1.32]<BR>
[autoexec.nos:<BR>
ip address 44.102.132.20<BR>
ifconfig tun0 address 192.168.2.1<BR>
shell ifconfig tun0 192.168.1.249 pointtopoint 192.168.2.1 ...]<BR>
adopted as a go-by for configuration.<BR>
It works just fine - it introduces two "alias IPs".<BR>
<BR>
On the other hand tun may successfully be configured as:<BR>
[host ip 192.168.1.32]<BR>
[autoexec.nos:<BR>
ip address 44.102.132.20<BR>
ifconfig tun0 address 44.102.132.20<BR>
shell ifconfig tun0 192.168.1.32 pointtopoint 44.102.132.20 ...]<BR>
This configuration uses the "default IP' on each end of the tun device.<BR>
Both stacks do get the appropriate route configurations and ping works fine.<BR>
<BR>
So: what breaks when you use the "native IP" of the stack as the terminal IP of tun?<BR>
Is the deciding factor for the multiple IPs duplication of socket functions?<BR>
With one stack on the DOS platform this seems like a need so that two "telnets" can be supported on one socket ID.<BR>
However duplication is less a factor with the multiple stack architecture of the Linux platform jnos application.<BR>
<BR>
I'm looking specifically at application of the tun device (Maiko's baby?) with jnos - that's true.<BR>
But I'm also wanting a piece of network wisdom when all is said and done...<BR>
Is this a question someone on nos-bbs can quickly address - OR - is there a reference document that treats this subject cleanly?<BR>
Thanks in advance for light you shed on this confusion!<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
73<BR>
de Skip k8rra k<BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>