Page 4 of 7

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

Posted: Sat Feb 11, 2012 8:40 pm
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

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

Posted: Sun Feb 12, 2012 4:37 am
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

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

Posted: Sun Feb 12, 2012 8:18 am
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.

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

Posted: Sun Feb 12, 2012 8:35 am
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

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

Posted: Mon Feb 13, 2012 3:12 am
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

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

Posted: Mon Feb 13, 2012 4:10 am
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

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

Posted: Mon Feb 13, 2012 4:39 am
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

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

Posted: Mon Feb 13, 2012 5:51 am
by tals
I'd agree and tbh I think I prefer that method as well.

Will report back :)

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

Posted: Mon Feb 13, 2012 2:36 pm
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

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

Posted: Mon Feb 13, 2012 2:51 pm
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.