Using my static IP via dynamic connection

Using my static IP via dynamic connection

Post by Fred » Sat, 08 Feb 1997 04:00:00



I work in two states, and have 3 static IPs assigned to computers that
travel with me. I would like to use these machines with their static
addresses when they're not physically connected to company (class c)
network via ISP assigning dynamic IP.
Any and all help is appreciated.

PLEASE reply via email too.


 
 
 

Using my static IP via dynamic connection

Post by Dr Bill C Rieme » Mon, 10 Feb 1997 04:00:00




>I work in two states, and have 3 static IPs assigned to computers that
>travel with me. I would like to use these machines with their static
>addresses when they're not physically connected to company (class c)
>network via ISP assigning dynamic IP.
>Any and all help is appreciated.

Hmmm.  Static IP's are so obsolete.  It is hard to believe people still
want them.  It would be about equivalent to always wanted to use the
same frequency with your cellular phone.  In the end, what you really
want in most cases is just the same phone number where-ever you go.  Like
wise, with your computer, it doesn't really matter what IP number gets
assigned.  All you really want is to be able to reach your computer by
the same name.  Unless you are still hard wiring IP addresses into an
/etc/hosts file. (yuck)

OK.  Now that I'm done with my editorial, I'll get back to answering your
question.  To keep the same ISP, you must be connected to the routers
which are registered to handle those IP's.  So if establish a PPP connection
to the relevant machine you can use your static IP.  Otherwise, to the rest
of the world, you'll look like someone forging your IP address.  (This can
be done, but isn't very effective since most routers will block you routing
requests.)  Of course, you can use other means to establish a connection
with your router.  PPP is only one example.

Now, if all you really want to be able to do is have people reach your machine
anywhere in the world, then all you need to do is create a name server record
for your machine with a regularly expiring address record.  Then once you
connect to the network, you can have a script automatically update the record
on your name sever.  Currently, I do this with my 'ip-up' script.  Of course
this requires having a DNS server where you are allowed to update the
records...

                                      Bill

--

  104D White Street      ' \ . / `    ///'V( (     http://www.feynman.com
  Eaton Town, NJ 07724     :`O':     /'! ::::::-.     Free Speech Online!
  U.S.A.                   o/U\o    '  !.`::::'-'    Phone: (908)544-4928
--

 
 
 

1. ppp-2.3 using dynamic AND static IP address attribution

Hi,

I use ppp-2.3.5 with a linux box, and two external modems for dialin.
I use IP dynamic attribution using the options.tty* :

---
options.ttyS0
192.168.1.1:192.168.1.100

option.ttyS1
192.168.1.1:192.168.1.101

And in pap-secret
ppp     *       "test"        *
---

This means that two persons can connect at the same time using the
same login name.

But I would like something else : I would like a user to have all
the time the same IP address but I want to keep the dynamic attribution
for user ppp.

So if I put in my pap-secret :
joe     *       "test" 192.168.30.10

I receive a PAP authentication failure when I try to log in !?!

Any idea how can I use both dynamic IP for one user and static for
others ?


David ROBERT.

2. DOS DPMI/VCPI under AIX PS/2?

3. Auto PPP using PAP + Static+Dynamic IP's?

4. input ready on broken pipe?

5. Mail via dynamic IP PPP connection

6. enlightenment themes?

7. How Can I Print a Postscript File in Landscape?

8. Static IP address from Dynamic IP

9. RH 7.0 Static IP gets dropped and Dynamic IP is generated

10. newbie: static ip laptop behind dynamic ip ppp link

11. from static ip to dynamic ip; how to change ppp config?

12. Static IP vs Dynamic IP