Solved

diald/dynamic IP: problem persists

Posted on 1997-02-22
8
225 Views
Last Modified: 2012-05-04
Hmmm... Don't know why the question vanished...

Well, it's still not working.  :-(

My diald config by now:
mode slip
mtu 1006
local 192.168.1.7    # fake IP
remote 152.158.4.33  # remote IP is known
dynamic
dlip-mode local
-reroute  # tried reroute, as well
buffer-packets
defaultroute
device /dev/modem
lock
modem
connect '...
speed 57600
crtscts
-f /etc/...
fifo ...

upgraded kernel to 2.0.29,
diald 0.16
net-tools 1.32 alpha

it seems that diald *does* send the first packets, but still with the fake IP as source address. So I never get an answer.

What's the trick?

I've been thinking about modifying diald to correct the IP in buffered packets before they get send out. (Looked at code, seems pretty easy).
Would that make sense? Or would whichever program sent that packet be confused, because it expected to be using the fake IP?

Thanks a lot for your assistance,


Rupert
0
Comment
Question by:rupert
8 Comments
 
LVL 2

Expert Comment

by:df020797
ID: 1584008
Ever thought about using ppp via diald?
0
 

Author Comment

by:rupert
ID: 1584009
Not an option, neither is static IP.  :(

Rupert
0
 
LVL 19

Expert Comment

by:xterm
ID: 1584010
Tried 'noipdefault' and using 0.0.0.0 as your locIP ?
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:rupert
ID: 1584011
noipdefault is a pppd-option, though. I use SLIP.
0
 

Author Comment

by:rupert
ID: 1584012
Adjusted points to 147
0
 

Author Comment

by:rupert
ID: 1584013
ok, I got a ppp connection now, still with dynamic IP address.
It still doesn't work!
0
 

Author Comment

by:rupert
ID: 1584014
Quite some experts here...

I've got the problem solved now. It required a change to the kernel if one didn't want to rewrite ip-masquerading - which I almost did.

So much for 'I got it working' from whoever cashed in the points when I asked the question the first time.

I'm out of here...
0
 
LVL 2

Accepted Solution

by:
cedric earned 170 total points
ID: 1584015
I can suggest you to take a look at the new ppp-2.3.0
now there is a new included "dial on demand" feature.

Let me know....
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to add a new SAN disk to a linux vmware box 8 36
Unix / Linux grid computing 5 162
for ssh without password, are both ways correct 16 74
Help with Ubuntu 14.04 LTS 10 137
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question