Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access ADSL modem with different IP.

Status
Not open for further replies.

MasterScanneR

Programmer
Oct 22, 2001
4
PT
I have an ADSL modem which has the IP 10.0.0.138 and I use a router (192.168.123.254) to "connect" the modem to my computers.
Because of they not belonging to the same "network" I can't access directly the modem configurations and the only solution I have is to reconfigure one of the computers IP to the same network (ex. 10.0.0.137 255.255.255.0) and use my browser to change settings.
What I would like to know is a way to get from my computer, 192.168.123.1, to the modem 10.0.0.138, other then changing the modem's IP. I have been looking at "route add" but my tries didn't work.
Thanks in advance for your help.
 
Hi,

Sound simple enough. Presumably the router must know where 10.x.x.x is - it must be the default route anyway if thats the way to the internet. Under linux you would just do :

/sbin/route add -net 10.0.0.0/8 gw 192.168.123.254

from memory on M$/Windows it would be

route add 10.0.0.0 MASK 255.0.0.0 192.168.123.254

Then try to ping it.....

Of course, if you do have linux you can use interface aliasing to set multiple IP addresses for a single IP address. For example, this would create an aliased ethernet card (eth0:1 instead of eth0 which still exists as was) :

/sbin/ifconfig eth0:1 10.0.0.1/8
/sbin/ifconfig eth0:1 up

Regards
 
Thanks for your reply.
I also thought it would be straight forward when I made my tries. I used different paremeters though "route add 10.0.0.138 MASK 255.255.255.0 192.168.123.254 and it didn't work, as your command didn't work too. Maybe I have some weird configurations in my Windows ME that is preventing the correct pinging.
Also, if I use tracert 10.0.0.138 it goes "outside", I mean, it gives me the IP of my router and then IPs from other machines, starting from my ISP.
Do I have to make any changes in the modem or router? Or should it be enough to add the routing you gave?
Thanks.
 
im confused which device is connected to the dsl? A modem in general wether static or
dynamic will not have an ip of 10.0.0.138. However I do recall this being some sort of an access to a modem. If you have a dsl modem then you want to install it on a network i would do this

Static Dsl Modem---- linksys router-- dhcp to pc's Jeter@LasVegas.com
J.Fisher CCNA
 
The IP 10.0.0.138 is the "internal" IP that is used to configure it. The "external" IP is assigned by my ISP.
What I have is:
DSL Line -> Alcatel SpeddTouch DSL Modem -> SMC Barricade Router -> Computes (3 with fixed IP and 1 using DHCP).
To change settings on the modem I simply use the address 10.0.0.138 in IE. The problems is that to achive that I need to change 1 machine to the same "network" as the modem is. I could change the IP of the modem but I would prefer it the way it is (if that is possible of course).
Thanks
 
Seeing no solution to the problem I tried changing the IP of the modem to 192.168.123.253 but, I still can't get from any of the computers to the modem settings. The only way is to disconnect the modem cable from the router and connect it to one of the computers network card.
 
Hi,

I think this must be related to the network address translation (nat) going on at the router. I had a look at what I think is the right manual ( but that doesn't really tell enough without knowing how you specified wan-type in primary set up. If everythings being subjected to nat, then you would have a hard time reaching the alcatel config. Also, there are various speedtouch models with different capabilities too. If it works when you bypass the router then clearly you'd need some 'passthrough' option for certain traffic. If the alcatel config can be configured to run on a non-standard port then I think you might be able to use the virtual host option at the router to forward all that traffic to a specific IP address, i.e. the modem.

Anyway, hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top