Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

diald/dynamic IP: problem persists

Posted on 1997-02-22
8
Medium Priority
?
245 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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 340 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

730 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