Networking Forums

Networking Forums > Computer Networking > Linux Networking > IP address of Dlink router

Reply
Thread Tools Display Modes

IP address of Dlink router

 
 
Bob Tennent
Guest
Posts: n/a

 
      05-11-2004, 12:58 PM
I want to run a Linux box behind a Dlink DI-624 router. I want to allow
ssh into the Linux box and I can see how to configure the router to
forward ssh to the PC. But if the router gets an IP address dynamically,
how can this address be discovered by the PC? (If the PC has the
address, it can use dyndns to make it known to ssh clients.)

Bob T.
 
Reply With Quote
 
 
 
 
DoesntMatter
Guest
Posts: n/a

 
      05-11-2004, 01:15 PM
Bob Tennent wrote:
> I want to run a Linux box behind a Dlink DI-624 router. I want to allow
> ssh into the Linux box and I can see how to configure the router to
> forward ssh to the PC. But if the router gets an IP address dynamically,
> how can this address be discovered by the PC? (If the PC has the
> address, it can use dyndns to make it known to ssh clients.)
>
> Bob T.


Maybe not very "advanced" , but extremely practical : www.myip.com
(I use wget and grep to grasp it)

Jos
 
Reply With Quote
 
DoesntMatter
Guest
Posts: n/a

 
      05-11-2004, 01:16 PM
Bob Tennent wrote:

> I want to run a Linux box behind a Dlink DI-624 router. I want to allow
> ssh into the Linux box and I can see how to configure the router to
> forward ssh to the PC. But if the router gets an IP address dynamically,
> how can this address be discovered by the PC? (If the PC has the
> address, it can use dyndns to make it known to ssh clients.)
>
> Bob T.


And by the way , DLInk routers do often have an interface to dyndns
(dynamic ip) to update directly. So maybe you even don't have to care at
all.

Jos
 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      05-11-2004, 01:40 PM
On 11 May 2004 12:58:50 GMT, Bob Tennent <(E-Mail Removed)> wrote:
> I want to run a Linux box behind a Dlink DI-624 router. I want to allow
> ssh into the Linux box and I can see how to configure the router to
> forward ssh to the PC. But if the router gets an IP address dynamically,
> how can this address be discovered by the PC? (If the PC has the
> address, it can use dyndns to make it known to ssh clients.)


I hacked the firmware of my DI-704 to show its WAN IP on its login page,
so I could monitor it with a Perl LWP deamon script without having to log
into its compilcated mixture of frames/javascript. But I was careful to
replace text in its html login page with exact same number of variable
charcters, so I would not displace its binary code (no change in file
size).

Dynamic DNS services should have an update client that can run as a daemon
behind a router and tickle them at regular intervals to grab your
connecting public IP. I know that no-ip.com does. Although, I currently
use Linux for pppoe/firewall/masq, so I run it once from /etc/ppp/ip-up
which automatically runs whenever getting new ppp IP.

I also heard of one (dyndns.org?) that will stop doing DNS for you if you
update them too often when your IP has not changed.

--
David Efflandt - All spam ignored http://www.de-srv.com/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My Router does not accept a gateway ip that has a subnet address different from the laptop ip address keethyanandpr@gmail.com Wireless Internet 15 03-18-2007 04:03 PM
Help Please! Connecting Wireless Router to DLink ADSL Router Cliff Wireless Internet 2 10-07-2004 03:56 PM
DLink 624 mac address size? fletch Wireless Internet 0 05-07-2004 04:28 PM
Dlink DI 614+ Router Barry Bridges Broadband 0 04-04-2004 04:32 PM
DLink 614+ Router talking to second WiFi router as it's WAN connection, possible? Justin Wireless Internet 1 08-18-2003 11:02 PM



1 2 3 4 5 6 7 8 9 10 11