| Author |
Message |
Grunff
Guest
|
Posted:
Sat Nov 27, 2004 4:14 am Post subject:
ADSL modem > router - IP address confusion |
|
|
Hi all,
I have a working adsl line with 8 static public IP addresses. I
currently connect via a Netgear DG834 modem/router, and this works
great. The WAN side is manually allocated with one of my IP addresses.
I'd like to use several of my public IP addresses to expose various
devices to the Internet. My plan was to replace the DG834 with an ADSL
modem, connected to a switch. The switch would then feed several
different DMZ devices, and a NAT router which would then feed all the
desktop machines.
So I've installed a D-Link DSL-300 modem, a Netgear FS 608 switch, and a
Netgear RP 614 NAT router, connected in that order.
The modem works fine - I've configured it with my ISP username and
password, and it connects just fine.
The switch also works fine - a PC connected to the switch, set with one
of my public IP adresses, is visible to the Internet just fine.
The router is proving to be a *major* headache. When I try to allocate
it with the settings I think it should have, it rejects them. More details:
Say one of my public IP addresses is 80.168.232.200. My ISP has informed
my that my subnet is 255.255.255.248, and my gateway is 195.8.86.77.
When I try to input these settings for the WAN side of the router, it
objects because the gateway is not on the same subnet as the WAN IP
address I'm setting it to.
This is very odd, because when I look at my current router, which is
running on the same static IP address, it seems to have dynamically
obtained the subnet and gateway information that my ISP provided.
What am I doing wrong? Any help much appreciated.
--
Grunff |
|
| Back to top |
|
 |
Neil W Rickert
Guest
|
Posted:
Sat Nov 27, 2004 4:14 am Post subject:
Re: ADSL modem > router - IP address confusion |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Grunff <grunff@ixxa.com> writes:
| Quote: | Say one of my public IP addresses is 80.168.232.200. My ISP has informed
my that my subnet is 255.255.255.248, and my gateway is 195.8.86.77.
When I try to input these settings for the WAN side of the router, it
objects because the gateway is not on the same subnet as the WAN IP
address I'm setting it to.
|
The router is correct.
The DSL link between your modem and your ISP is what connects you
to the internet. You need to assign one of your IP addresses to
the modem -- perhaps it has already been assigned by your ISP. Then
you set your modem to be your gateway.
That way, router sends packets to modem. Modem sends packets to
195.8.86.77, and 195.8.86.77 gets them to the next hop on the way
to the destination.
You indicated that you entered your account and password in the
modem. This suggests that the modem is doing PPPoE or PPPoA. Either
way, your ISP has probably assigned your modem an IP address from
within your block.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.91 (SunOS)
iD8DBQFBp/lGvmGe70vHPUMRAhmeAKDk7uAgEyD25iBoIEf5wJ1yVcUurgCgq65n
7moIC8WppfjupLRWi68WlWk=
=SdUt
-----END PGP SIGNATURE----- |
|
| Back to top |
|
 |
Grunff
Guest
|
Posted:
Sat Nov 27, 2004 1:05 pm Post subject:
Re: ADSL modem > router - IP address confusion |
|
|
Neil W Rickert wrote:
| Quote: | The router is correct.
The DSL link between your modem and your ISP is what connects you
to the internet. You need to assign one of your IP addresses to
the modem -- perhaps it has already been assigned by your ISP. Then
you set your modem to be your gateway.
That way, router sends packets to modem. Modem sends packets to
195.8.86.77, and 195.8.86.77 gets them to the next hop on the way
to the destination.
You indicated that you entered your account and password in the
modem. This suggests that the modem is doing PPPoE or PPPoA. Either
way, your ISP has probably assigned your modem an IP address from
within your block.
|
Thanks for the reply.
The modem control panel doesn't allow setting of its WAN IP address, so
presumably it can only accept dynamically assigned IPs.
As far as the modem's LAN IP address, again there appears to be no way
to set this - the only IP you can set on the modem is the management IP
address; the one on which it runs its built in web server.
Given this, and the fact that I don't want to use DHCP, do I need a
diferent modem?
And do you have any comments re. the overall setup? Is this a sensible
approach to connecting several devices with public IPs?
TIA
--
Grunff |
|
| Back to top |
|
 |
Ernest Bilko
Guest
|
Posted:
Sat Nov 27, 2004 6:51 pm Post subject:
Re: ADSL modem > router - IP address confusion |
|
|
Grunff wrote:
| Quote: | Hi all,
I have a working adsl line with 8 static public IP addresses. I
currently connect via a Netgear DG834 modem/router, and this works
great. The WAN side is manually allocated with one of my IP addresses.
I'd like to use several of my public IP addresses to expose various
devices to the Internet. My plan was to replace the DG834 with an ADSL
modem, connected to a switch. The switch would then feed several
different DMZ devices, and a NAT router which would then feed all the
desktop machines.
So I've installed a D-Link DSL-300 modem, a Netgear FS 608 switch, and a
Netgear RP 614 NAT router, connected in that order.
The modem works fine - I've configured it with my ISP username and
password, and it connects just fine.
The switch also works fine - a PC connected to the switch, set with one
of my public IP adresses, is visible to the Internet just fine.
snip |
It would have been a lot easier just to use a cheap adsl-router modem
that would do all you want in one box -- the Mentor ones with the
Alcatel chips set do it very easily and have a 4 ethernet port switch
built in or a slightly more complicated but more secure method would be
to use a router-modem in bridge mode and use an IPCop box to handle the
routing and firewalling and intrusion detection for the orange DMZ and
green NAT zones. |
|
| Back to top |
|
 |
Grunff
Guest
|
Posted:
Sun Nov 28, 2004 5:10 am Post subject:
Re: ADSL modem > router - IP address confusion |
|
|
Ernest Bilko wrote:
| Quote: | It would have been a lot easier just to use a cheap adsl-router modem
that would do all you want in one box -- the Mentor ones with the
Alcatel chips set do it very easily and have a 4 ethernet port switch
built in or a slightly more complicated but more secure method would be
to use a router-modem in bridge mode and use an IPCop box to handle the
routing and firewalling and intrusion detection for the orange DMZ and
green NAT zones.
|
I have this exact setup working fine with a Netgear modem/router/switch
combo. The reason I'm playing around with the separate modem + router is
that I want to expose several machines to the WAN, each with its own
public IP address. Am I missing something?
--
Grunff |
|
| Back to top |
|
 |
camail
Guest
|
Posted:
Sun Nov 28, 2004 9:47 am Post subject:
Re: ADSL modem > router - IP address confusion |
|
|
Modem and switch are both layer 2 stuffs, so you do not need to config
IP address on them or just config management IP addresses for remote access.
As I understand, you currently manually config a 80.* IP address at the
WAN interface of your Netgear DG834, right? I do not know why they gave
you a IP address starting with 195.* as your gateway, your gateway
should be one of your 8 static IP addresses configed on provider's edge
router. Anyway, for your new situation, you just config your new Netgear
RP 614's WAN interface by one of your 8 static IP addresses, others can
be used for your servers connected with your switch. For gateway
configuration. You only need to config the IP address the stuff itself
or nothing, because maybe provider use proxy IP tech on its edge router.
At the LAN side of your Netgear 614 RP, configing it with the private IP
segements like 10.*.*.*/8, 172.16-31.*.*/16 or 192.168.*.*/24 for your use.
If it's still not solved, you must call provider's tech support. I am
not very clear for your situation, You must make it clear that the IP
segement used between you and your provider, it's 80.*.*.* or 195.*.*.*.
I am sorry for my english.
Grunff wrote:
| Quote: | Hi all,
I have a working adsl line with 8 static public IP addresses. I
currently connect via a Netgear DG834 modem/router, and this works
great. The WAN side is manually allocated with one of my IP addresses.
I'd like to use several of my public IP addresses to expose various
devices to the Internet. My plan was to replace the DG834 with an ADSL
modem, connected to a switch. The switch would then feed several
different DMZ devices, and a NAT router which would then feed all the
desktop machines.
So I've installed a D-Link DSL-300 modem, a Netgear FS 608 switch, and a
Netgear RP 614 NAT router, connected in that order.
The modem works fine - I've configured it with my ISP username and
password, and it connects just fine.
The switch also works fine - a PC connected to the switch, set with one
of my public IP adresses, is visible to the Internet just fine.
The router is proving to be a *major* headache. When I try to allocate
it with the settings I think it should have, it rejects them. More details:
Say one of my public IP addresses is 80.168.232.200. My ISP has informed
my that my subnet is 255.255.255.248, and my gateway is 195.8.86.77.
When I try to input these settings for the WAN side of the router, it
objects because the gateway is not on the same subnet as the WAN IP
address I'm setting it to.
This is very odd, because when I look at my current router, which is
running on the same static IP address, it seems to have dynamically
obtained the subnet and gateway information that my ISP provided.
What am I doing wrong? Any help much appreciated.
|
|
|
| Back to top |
|
 |
awm
Guest
|
Posted:
Sun Nov 28, 2004 6:34 pm Post subject:
Re: ADSL modem > router - IP address confusion |
|
|
Grunff wrote:
| Quote: | Ernest Bilko wrote:
It would have been a lot easier just to use a cheap adsl-router modem
that would do all you want in one box -- the Mentor ones with the
Alcatel chips set do it very easily and have a 4 ethernet port switch
built in or a slightly more complicated but more secure method would be
to use a router-modem in bridge mode and use an IPCop box to handle the
routing and firewalling and intrusion detection for the orange DMZ and
green NAT zones.
I have this exact setup working fine with a Netgear modem/router/switch
combo. The reason I'm playing around with the separate modem + router is
that I want to expose several machines to the WAN, each with its own
public IP address. Am I missing something?
In addition to ordinary port forwarding some modem-routers have a DMZ (aka |
orange zone) built in it allows the IP of server machines on the internal
network to be exposed to the internet as if they were connected directly to
your isp However with this method you are very dependant on having good
firewalling.
A better way is to use a modem router in bridge mode ---ie external and
internal IP addresses are the same and connect this to a old pc running
IPCop or similar with three network cards ; red -- external, green--
internal nats and orange --- DMZ.
IPcop takes care of everthing firewalling, dhcp, dns, intrusion detection
and monitoring. With Ip filter loaded it can even do virus and junk
filtering |
|
| Back to top |
|
 |
cnhan
Guest
|
Posted:
Thu Dec 02, 2004 5:35 pm Post subject:
Re: ADSL modem > router - IP address confusion |
|
|
Yeah,i see
the isp gives you 8 static ip,and it provide you pppoe connect. so i think
Isp add a route with the static ip in its router before you moderm.
think about your network ,
adsl moderm-->router--->switch
The moderm does pppoe connected.So this moderm is in Nat mode or Route mode
now .
I think there are two way to solve this problem
1,set one of 8 static ip at your moderm's lan interface.and set your moderm
in route mode. In this status ,every pc can set static ip to connect
internet.
2,set your moderm at bridge mode.set pppoe username and password in your
router.config router static Nat with 8 static address between your lan and
moderm. The router can take the pppoe connect.and also take effect in Nat
mode.
thx
| Quote: | great. The WAN side is manually allocated with one of my IP addresses.
I'd like to use several of my public IP addresses to expose various
devices to the Internet. My plan was to replace the DG834 with an ADSL
modem, connected to a switch. The switch would then feed several
different DMZ devices, and a NAT router which would then feed all the
desktop machines.
So I've installed a D-Link DSL-300 modem, a Netgear FS 608 switch, and a
Netgear RP 614 NAT router, connected in that order.
The modem works fine - I've configured it with my ISP username and
password, and it connects just fine.
The switch also works fine - a PC connected to the switch, set with one
of my public IP adresses, is visible to the Internet just fine.
The router is proving to be a *major* headache. When I try to allocate
it with the settings I think it should have, it rejects them. More
details:
Say one of my public IP addresses is 80.168.232.200. My ISP has informed
my that my subnet is 255.255.255.248, and my gateway is 195.8.86.77.
When I try to input these settings for the WAN side of the router, it
objects because the gateway is not on the same subnet as the WAN IP
address I'm setting it to.
This is very odd, because when I look at my current router, which is
running on the same static IP address, it seems to have dynamically
obtained the subnet and gateway information that my ISP provided.
What am I doing wrong? Any help much appreciated.
|
|
|
| Back to top |
|
 |
Grunff
Guest
|
Posted:
Thu Dec 02, 2004 5:52 pm Post subject:
Re: ADSL modem > router - IP address confusion |
|
|
Grunff wrote:
| Quote: | I'd like to use several of my public IP addresses to expose various
devices to the Internet. My plan was to replace the DG834 with an ADSL
modem, connected to a switch. The switch would then feed several
different DMZ devices, and a NAT router which would then feed all the
desktop machines.
|
Thanks everyone for your replies. After much fiddling around, I solved
the problem by installing a DrayTek router which has a DMZ with ip:ip
mapping. Works great.
--
Grunff |
|
| Back to top |
|
 |
|
|
|
|