Solved

diald/dynamic IP: problem persists

Posted on 1997-02-22
8
195 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
Comment Utility
Ever thought about using ppp via diald?
0
 

Author Comment

by:rupert
Comment Utility
Not an option, neither is static IP.  :(

Rupert
0
 
LVL 19

Expert Comment

by:xterm
Comment Utility
Tried 'noipdefault' and using 0.0.0.0 as your locIP ?
0
 

Author Comment

by:rupert
Comment Utility
noipdefault is a pppd-option, though. I use SLIP.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:rupert
Comment Utility
Adjusted points to 147
0
 

Author Comment

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

Author Comment

by:rupert
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
fsstat very high only on nfs client side rhel 10 98
LDAP setup? 9 82
OpenWrt 1 28
can't umount nfs share after server goes offline... 4 65
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

763 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

9 Experts available now in Live!

Get 1:1 Help Now