Should I be able to get to my modem?

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

ispyisail
Moderator
Posts: 5212
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Should I be able to get to my modem?

Post by ispyisail »

Now we understand your setup things are a little easier

Back to your original question
I have my gargoyle router set to 192.168.1.1, my modem is set to 192.168.1.2

When they are connected together I can't get to the modem ie if I want to check if the connection has dropped or (the real reason) I want to setup router stats. If I take the gargoyle router out of the equation I can get to it etc, any ideas if it is possible to access the modem with them connected and why I can't?
You could setup double NAT?


I have no experience with your type set-up but my understand is......

If you looking for an IP address from your PC the message will get sent to the first router. If the router understands where the IP address is you will get sent there directly e.g. another PC on the same subnet. But if the router doesn't know where to find the IP address the message will get sent to the gateway IP address which should be the next router on the list. This should continue until the final destination is found.

Because you are in bridge mode Gargoyle doesn't know about your netgear router.

Somebody please correct me if my logic is wrong

tals
Posts: 247
Joined: Fri Dec 09, 2011 7:27 am

Re: Should I be able to get to my modem?

Post by tals »

I think I was always clear it was a modem via a ppoe connection everyone else kept changing it to a router :)

Just so I am clear as a modem using ppoe on the router can a device in the network see the modem. The reason I am looking at this is I would like to run stats on the modem but unless others have ideas I need a pc to see the modem.

The modem could always be put back as a router but I wasn't sure if that was as efficient or what was required
Netgear wndr3700 v2 Gargoyle 1.8.0
TP-Link Archer C7 v2 1.10.X (Built 20180122-0707)

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: Should I be able to get to my modem?

Post by pbix »

I think I was clear in my previous post how to do this. Please follow the directions there and report any problems you have. You must reset your router after making these changes before they will become effective.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

tals
Posts: 247
Joined: Fri Dec 09, 2011 7:27 am

Re: Should I be able to get to my modem?

Post by tals »

pbix wrote:I think I was clear in my previous post how to do this. Please follow the directions there and report any problems you have. You must reset your router after making these changes before they will become effective.
You were though thank you - I'll be doing this today and then will report back, I assume the /etc is done on the Gargoyle router if required
Netgear wndr3700 v2 Gargoyle 1.8.0
TP-Link Archer C7 v2 1.10.X (Built 20180122-0707)

ispyisail
Moderator
Posts: 5212
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Should I be able to get to my modem?

Post by ispyisail »

Have you got this working yet?
#This script allows access to the ADSL modem web interface when pppoe is used.
#For this to work configure your modem in brdige mode with DHCP enabled on the modem.
#This will cause the modem to dish an address to the router interface when requested below.
#
#Alternatively you can manually set the below variable ROUTER_IP with the IP address
#you want to use. Make sure the IP address is on the same network as the modem.
#ROUTER_IP=10.0.0.2
I want to do a write up on the wiki about this method

tals
Posts: 247
Joined: Fri Dec 09, 2011 7:27 am

Re: Should I be able to get to my modem?

Post by tals »

ispyisail - i'll try and test this tonight. Things got a bit hectic yesterday so didn't manage to implement it. I'll post when done
Netgear wndr3700 v2 Gargoyle 1.8.0
TP-Link Archer C7 v2 1.10.X (Built 20180122-0707)

ispyisail
Moderator
Posts: 5212
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Should I be able to get to my modem?

Post by ispyisail »

Just for you interest
Notes
Once in 'Modem only' mode the DG834 will act as a simply modem, its IP address will have no
relevance except for connecting to the router to change settings or reconfigure. Remember this IP
address, as DHCP will no longer function and you will need it if you wish to connect to the DG834 in
future.
Once configured you can use the DG834 as a simple ADSL modem on its own or in front of any
other device which can dial PPPoE connections, this includes software PPPoE dialers.
Based on the above comments I suspect you will need to do the "alternate" method

tals
Posts: 247
Joined: Fri Dec 09, 2011 7:27 am

Re: Should I be able to get to my modem?

Post by tals »

I'd agree and tbh I think I prefer that method as well.

Will report back :)
Netgear wndr3700 v2 Gargoyle 1.8.0
TP-Link Archer C7 v2 1.10.X (Built 20180122-0707)

tals
Posts: 247
Joined: Fri Dec 09, 2011 7:27 am

Re: Should I be able to get to my modem?

Post by tals »

pbix wrote:Boy you guys have been busy this morning. I did not read all these posts but there is a simple way to do.

If you will configure your modem with a static IP and configure it to be a DHCP server then Gargoyle will do the right thing and you will be able to access your modem at the static IP.

Most modems seem to allow you to be in bridge mode and provide a DHCP service although a few have not had this capability. If your unlucky and yours does not have this function you can manually get this to work by editing the file /etc/ppp/ip-up.d/modemaccess.sh. Instructions contained there.
OK rechecked the modem and it doesn't have that ability.

Then bearing in mind that
Router address = 192.168.1.1
Modem Address = 192.168.1.2

I put into the router_ip 192.168.1.2

Rebooted and lost internet and wan_ip was then broadcasting as 192.168.1.2

Can I just confirm if that is what I should have done or should I have put in 192.168.1.1 - will fill dense if that is the case but I assumed it would know it's own ip :) Just a tad nervous doing something that will stop me accessing the router
Netgear wndr3700 v2 Gargoyle 1.8.0
TP-Link Archer C7 v2 1.10.X (Built 20180122-0707)

hnl_dk
Moderator
Posts: 408
Joined: Mon Aug 29, 2011 12:37 pm

Re: Should I be able to get to my modem?

Post by hnl_dk »

Again, the WAN ports IP address may not be on the same subnet as your private network.
You told earlier that you had changed the modems IP address to 192.168.10.1, it should still be that IP address.
If the WAN and LAN networks are within the same subnet, will any router have trouble doing its job.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4

Post Reply