DrayTek UK Users' Community Forum

Help, Advice and Solutions from DrayTek Users

Help with NAT / non NAT on 2130Vn

More
03 Jun 2011 03:21 #68038 by vmrsss
Help with NAT / non NAT on 2130Vn was created by vmrsss
Hi there,

Will somebody pls help with the following? I bought a 2130Vn with the intention of configuring my home network with most of the devices on a private network under NAT and a few of them on publc IPs. Based on this picture from page 121 of the manual, I assumed I would have no problems



In fact, I have been trying and trying, but don't seem able to do it: I can't find a way to let the IPs in the public subnet bypass the NAT. In particular, it's not really a subnet, just a bunch of IPs because the public IPs must be in the same subnet as the rest, because really the 2130 does not do multiple subnets. And at that point all those IPs are translated to the single WAN IP by NAT, I can find no way to prevent that, not even to disable/disactive NAT completely...

If that is so, the picture from the manual is misleading, the 2130 simply cannot do what I bought it to do... Any ideas/suggestions/help?

Thanks

Please Log in or Create an account to join the conversation.

More
03 Jun 2011 14:58 #68047 by voodle
Replied by voodle on topic Re: Help with NAT / non NAT on 2130Vn
Put the 1.5.1 firmware on the 2130, then you'll have options to route through public IPs to your network :)

If it's got the 1.4.x or earlier firmware then it doesn't have those options. It should all be under LAN - General Setup when it's present.

Please Log in or Create an account to join the conversation.

More
06 Jun 2011 11:37 #68075 by know-dice
Replied by know-dice on topic Re: Help with NAT / non NAT on 2130Vn
As above 1.5.1 from here - ftp://ftp.draytek.com/

Please Log in or Create an account to join the conversation.

More
07 Jun 2011 10:18 #68098 by vmrsss
Replied by vmrsss on topic Re: Help with NAT / non NAT on 2130Vn
Hi again.

I wonder whether I can get some help from the forum, because the manual for the router is seriously gibberish (at least to me). Eg, again with reference to the picture in the OP, after setting the primary and the alternative public IPs I'd like to use, I get to the LAN setup:



How I am supposed to use this? I thought I would put in the "For IP Routing Usage" the public IP I want the router to handle (which would be 220.136.240.210, ... in the example above). But I can't make it to work, and the manual makes me think I am doing this all wrong. Eg:

IP Address: Type in secondary IP address for connecting to a subnet. (Default: 192.168.2.1/ 24)



Hmm, so it's intended to be a subnet of the primary one, it cannot be of the kind 220.136.240.210 ..., can it?

DNS Server Configuration: ... You can configure the router to serve as a DHCP server for the 2nd subnet. Check the box to enable DHCP server setting.



Hmm, how? There is space only for one IP, either I distribute in the range 192.168.1.... or in the range 220.136.240.... And why would I do that?

Start IP Adress: Enter a value of the IP address pool for the DHCP server to start with when issuing IP addresses. If the 2nd IP address of your router is 220.135.240.1, the starting IP address must be 220.135.240.2 or greater, but smaller than 220.135.240.254.



What? The figure shows 2nd subnet 192.168.2.xxx and here again it talks about using DHCP to serve IPs in the secondary network 220.135.240.xxx. And how about serving IPs in the range 192.168.1.xxx for NAT?

IP Pool Counts: Enter the number of IP addresses in the pool. The maximum is 10. For example, if you type 3 and the 2nd IP address of your router is 220.135.240.1, the range of IP address by the DHCP server will be from 220.135.240.2 to 220.135.240.11.



What!? Max is 10? If you type 3 you get to serve 10 IPs? Hmm, makes no sense to me...

Can anybody please help?

In particular, if I enter 220.135.240.1 in the "For IP Routing" fields (provided this is the way they are meant to be used), how do I configure a client using IP 220.135.240.2 to use the router? Reasonably, I should use a fixed IP configuration with 220.135.240.1 as the gateway (which does not seem to work), should I not?

Thousand thanks, I am getting really frustrated with this.

Please Log in or Create an account to join the conversation.

More
07 Jun 2011 10:49 #68100 by know-dice
Replied by know-dice on topic Re: Help with NAT / non NAT on 2130Vn
For NAT & DHCP you are OK with your current setting, so any host on your network using DHCP will get it's address in the range 192.168.1.10...

On the public side your range could well have a netmask of 255.255.255.248

So for example my public IP range is xxx.xxx.xxx.240 with a subnet of 255.255.255.248

Then my first usable IP address .241 is my router and this is the address I put in the IP Address for IP Routing field.

Any hosts on my network with public IPs would then need to be fixed in the range .242 to .246 and their default gateway is .241

And you will need to put a static route in in-order to be able to access your public IP hosts from hosts on your LAN using DHCP.

Route for me is Destination address .240 netmask 255.255.255.248 Gateway IP address is the LAN address of the router.

Please Log in or Create an account to join the conversation.

More
07 Jun 2011 12:27 #68106 by vmrsss
Replied by vmrsss on topic Re: Help with NAT / non NAT on 2130Vn
Thanks know-dice

know-dice wrote: Then my first usable IP address .241 is my router and this is the address I put in the IP Address for IP Routing field.



Is .240 your network address or what? My network address is .96, first usable address is .97 and is taken by the modem/router from the ISP for its internal LAN. The Draytek router is then connected to a port on such .97 via its WAN port. The first usable address for Draytek is .98. The machines on the public network are configured manually.

know-dice wrote: Route for me is Destination address .240 netmask 255.255.255.248 Gateway IP address is the LAN address of the router.



That is the one in the 192.168.1.xxx range, right?

This doesn't work for me, possibly there is a mismatch with the ISP router (I have been trying to inspect its routing tables, but couldn't manage), I expected this to learn to route everything through .98, which is the only IP it knows. Perhaps is this a naive assumption? Do I need a static route there too?

Please Log in or Create an account to join the conversation.

Moderators: Sami