Hi,
i have the following network:
client 1
|
|
|
|
|
|
| eth0
|
+--------+
| |
| Router |----------------> internet
| | ippp0
+--------+
|
| eth1
|
|
|
|
client 2
I have installed Dial-on-Demand with isdn4linux. The kernel is
the 2.2.13 with the rst-provoking patch and the isdn-patches from
14.11.99. Everything is working normal. Both clients get
connections to the internet on demand. The ip-Adresses of the
first packets are rewritten, exactly as it should be.
This is made through:
echo 7 > /proc/sys/net/ipv4/ip_dynaddr
Yesterday I found a little problem. The ip-Rewriting seems to
work globaly, and not only for the ippp0 interface.
Wenn I make a telnet connection from client 2 to the ip-Address
of eth0 the connection breaks some seconds later with the following
error in /var/log/messages:
Jan 16 01:40:59 majestix kernel: tcp_v4_rebuild_header(): shifting
sk->saddr from <ip-Address-of-eth0> to <ip-Address-of-eth1>
When I make a:
echo 0 > /proc/sys/net/ipv4/ip_dynaddr
everything works normal, no rewritting is done anymore in the
internal network. But the first packet which goes to the internet
is also not rewritten and has the wrong ip-Address.
Is it possible to set the ip-rewriting only for the ippp0-Interface?
Is there any other solution?
Thanks
Oliver
�� �� ,,,
���� (o o)
--oOO-(_)-OOo-- [EMAIL PROTECTED] - [EMAIL PROTECTED] -
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]