On Fri, 5 Feb 1999, Robin Gilks wrote:

> I'm getting very confused by the way to set up IP masquerade
> when the ppp connection initiated by diald is assigned a dynamic
> address at connection time.
> 
> It all seems to work on the local Linux box but other machines
> on the local (192.168.x.x) network don't get routed correctly due
> to the masquerade not having the correct address (I think).

Basically you can't because you don't know what to masquerade
*as* until the link comes up. Diald, in effect, sits on the
side of the interface away from the kernel so it sees what the
kernel is *sending* to the remote machine rather than what the
kernel *received* from the local network. Diald may delay or
drop packets while it brings the link up but it doesn't loop
them back through the kernel's routing/firewalling/masquerading etc.

  I can envisage ways diald could be changed to, perhaps, work
with masqueraded dynamic addresses but they aren't simple changes
and aren't likely to happen in the immediate future.

                                Mike

-- 
.----------------------------------------------------------------------.
| Mike Jagdis                   | Internet: [EMAIL PROTECTED]  |
| 280, Silverdale Road, Earley, | Voice:    +44 118 926 6996           |
| Reading RG6 7NU ENGLAND       | Work:     +44 118 989 0403           |
`----------------------------------------------------------------------'


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to