Solved

diald/dynamic IP: problem persists

Posted on 1997-02-22
8
206 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
 

Author Comment

by:rupert
ID: 1584011
noipdefault is a pppd-option, though. I use SLIP.
0
Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

 

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

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

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

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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

912 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now