Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


249 posts

Master Geek
+1 received by user: 42


Topic # 239594 25-Jul-2018 16:26
Send private message quote this post

I was wondering if anyone here, or maybe someone from 2D, has managed to set up a subnet supplied by 2D on the 7490.

I'm having issues setting it up correctly and wondered whether my settings in the fritz are correct.

In essence - I have a fibre connection with a static IP in the 203. range with a subnet mask of 255.255.255.255. My network then connects to the fritz on the 192.168.178.2-100 range. Most connections have a fixed IP within that range. DHCP is on.

One computer I have, that is connected via the Fritz!Box to the internet, requires a different public IP from that which I already have. Accordingly I applied for an additional IP and was provided with a subnet by 2d.

This subnet is 202.xxx.xxx.36/30

I am aware that .37 and .38 are the only 2 usable IP addresses.

So...

In the 7490 Fritz - under Home Network / Home Network Overview / Network Settings there are two IPv4 submenus:

IPv4 addresses and IPv4 Routes.

Under the IPv4 addresses it advises you to put your ISP supplied subnet in here, which I did - as below

Public IPv4 Subnet
If your Internet service provider supplies you with a public IPv4 subnet, you can enter it here.

Prefix
202.xxx.xxx.36
Network mask
255.255.255.252

Under the IPv4 Routes I have not added anything - do I need to? I presumed not.

Having said all that, I want to set this one computer up to access the internet and be identifiable by its new IP of 202.xxx.xxx.37. It is still connected to the Fritz.Box.

I do a manual configuration in my network settings on Windows 10 and enter the
IP address as 202.xxx.xxx.37,
subnet mask as 255.255.255.252
the default gateway as 202.xxx.xxx.36 (any other gateway provides a gateway error)
and dns server as 8.8.8.8 (only because I don't know what 2D's dns servers addresses are.
and I have NetBIOS overTCP/IP enabled

Once I do this I get Windows errors, my connection tot he internet dies and I get a Windows dialogue wanting to fix my connection. If I click ok it sets my connectiion to AUTO IP and everything connects again - if I click no it says DHCP is not enabled on this Ethernet connection .

Where am I going wrong?

Any help would be appreciated.


Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2 | 3
6270 posts

Uber Geek
+1 received by user: 281

Trusted
Subscriber

  Reply # 2062482 25-Jul-2018 17:35
One person supports this post
Send private message quote this post

Hi, this specific PC, I take it you are running some applicaiton on it that requires direct public access or something else, I think you need to explain more as to why you need the 2nd IP address so that we can understand the best way forward.

 

Cyril 




249 posts

Master Geek
+1 received by user: 42


  Reply # 2062546 25-Jul-2018 20:00
Send private message quote this post

Thanks Cyril

Ultimately, I use an instance of a program that listens on port 443 and then does a proxy_pass to http://127.0.0.1:3000. It is forward facing. I also want to run a basic web server from it. This will be the only device on this IP address and will not be part of the network.

I run another program on a different computer (part of the network) that requires it to not be forward facing. My network and all devices will carry on using this network as it currently does (currently using the 203. connection)

6270 posts

Uber Geek
+1 received by user: 281

Trusted
Subscriber

  Reply # 2062547 25-Jul-2018 20:07
Send private message quote this post

Hi, so pubIP1 is used as normal network NAT'd outbound connections, publicIP2 is used to listen on port 443 (which inturn proxy's to 3000) and also listens on port 80 via pulicIP2, correct?

 

If that was the case a port forward(dstnat) of publicIP2 to the 443 and 80 listening host/hosts is all you require, not sure if the Fritz has the where with all to do that, but most if not all commercial grade routers will do it, not sure if I have answered the question or not :)

 

Cyril




249 posts

Master Geek
+1 received by user: 42


  Reply # 2062554 25-Jul-2018 20:15
Send private message quote this post

At this stage I have a subnet with 2 usable IP's that I can't get running at all - even using a basic windows configuration. First steps for me are getting a computer to connect to that IP that is reachable from the outside world.

6270 posts

Uber Geek
+1 received by user: 281

Trusted
Subscriber

  Reply # 2062557 25-Jul-2018 20:21
Send private message quote this post

I presume you have got internet with one of those IP addresses currently, or nothing?, I assume the pppoe session get an IP address and you get routed to that a seperate /30? not sure how 2D does their rout able subnets on residential/SME plans, but would assume something like that. Did they send you any description of what they have provided.

 

Cyril




249 posts

Master Geek
+1 received by user: 42


  Reply # 2062568 25-Jul-2018 20:33
Send private message quote this post

That's the issue I have. There are no guides and when I ring customer support they have no idea other than saying 'it should work' It's provisioned via Tier2 staff but I'm not allowed to talk to them to ask some basic questions.

I have internet currently via my longstanding static IP - 203.86.xxx.xx. From what I understand my existing static IP will work as well as the subnet.

The biggest issue right now is ensuring firstly I have my Fritz!Box 7490 set up correctly then setting up one computer to connect via the subnet allocated IP's. Once I've done that then I can worry about the more intricate stuff.

6270 posts

Uber Geek
+1 received by user: 281

Trusted
Subscriber

  Reply # 2062571 25-Jul-2018 20:38
Send private message quote this post

Thanks Spyware, that details how to achieve on a Fritzbox what I detailed above.

 

Cyril




249 posts

Master Geek
+1 received by user: 42


  Reply # 2062577 25-Jul-2018 20:45
Send private message quote this post

Thanks Spyware - That's what I have been using.


I can't actually get past 2 at present...

I've done 1 - set it up as described

2 fails me every time - Windows 10 machine


Subnet I was issued with xxx.xxx.xxx.36/30


On the computer I'm using as a test bed I go to network settings and then select:
set up IP manually and I enter the IP address which is xxx.xxx.xxx.37
subnet mask 255.255.255.252
default gateway is set to xxx.xxx.xxx.36 where x in IP and gateway are the same

but it errors out...

2006 posts

Uber Geek
+1 received by user: 325

Lifetime subscriber

  Reply # 2062584 25-Jul-2018 20:59
One person supports this post
Send private message quote this post

.37 is the gateway. .38 is the address.


6270 posts

Uber Geek
+1 received by user: 281

Trusted
Subscriber

  Reply # 2062585 25-Jul-2018 21:00
Send private message quote this post

 

 

Cyril




249 posts

Master Geek
+1 received by user: 42


  Reply # 2062586 25-Jul-2018 21:08
Send private message quote this post

Spyware - you fixed that instantly! Thank you.

Machine now connected! I was told .37 and .38 were usable and that .36 was the gateway as it was the first IP in the range, .39 is unusable as it is broadcast. In essence I have only 1 usable IP address out of the 4 for connectivity?

So enlighten me please:

Is this how it works?

.36 Unusable
.37 Usable only as gateway?
.38 Usable as a 'connection'
.39 Unusable

6270 posts

Uber Geek
+1 received by user: 281

Trusted
Subscriber

  Reply # 2062589 25-Jul-2018 21:16
One person supports this post
Send private message quote this post

Hi, yes the others technically are unusable, .36 is the subnet (think id) and .39 is the broadcast ip. You could change .37 and 38 around so .38 is the gateway and 37 the host if you wanted to

 

Cyril




249 posts

Master Geek
+1 received by user: 42


  Reply # 2062591 25-Jul-2018 21:18
Send private message quote this post

It all makes sense now, thanks guys. Now for the fun part,,,

650 posts

Ultimate Geek
+1 received by user: 178


  Reply # 2062592 25-Jul-2018 21:26
Send private message quote this post

Just trying to understand where things are falling apart here - so are you establishing ANY internet connection at all with the default config, or are completely offline?

 

I'm trying to work out how this works exactly, a brain from 2degrees weighing in would be appreciated.

 

From what I understand, your /30 is only giving you 2 IPs, 1 for the gateway (.37) and one for your router (.38) - if you connect by default, are you being assigned one of the IPs in your /30, or are you being assigned another IP? It could be that they're using a non-public /30 or /31 to connect between the gateway and your router, and then routing those two public IPs (your /30 of .37 and .38) over that link, but honestly I have no clue how this stuff works - I haven't had a chance or need to poke at it, and that's where the fun is.

 

Oh, also if anyone at 2degrees wants to GIVE me a second public IP to fiddle with, I won't say no!

 

edit:

 

Or maybe I'm overthinking this and they're just routing .36 and .37 to you each as a /32 and just sending all the traffic to you through one PPP stream, in which case I think you'd need to set up some static routes to get things working correctly?

 

second edit:

 

Okay, weird - if above is correct then you've just got a normal static IP using a /30, and you're not ACTUALLY getting what you've asked for, which was 2 public IPs routed to you. Which I guess would make sense, you'd need a /29 which you could route THROUGH a /30, though the /30 wouldn't need to be public IPs, it could be private IPs. I would've thought that pointing two IPs at /32 ranges at you and giving you a private IP for your /30 link would've been the ticket, but I'm just a danger to everyone's internet.


 1 | 2 | 3
Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Intel introduces new NUC kits and NUC mini PCs
Posted 16-Aug-2018 11:03


The Warehouse leaps into the AI future with Google
Posted 15-Aug-2018 17:56


Targus set sights on enterprise and consumer growth in New Zealand
Posted 13-Aug-2018 13:47


Huawei to distribute nova 3i in New Zealand
Posted 9-Aug-2018 16:23


Home robot Vector to be available in New Zealand stores
Posted 9-Aug-2018 14:47


Panasonic announces new 2018 OLED TV line up
Posted 7-Aug-2018 16:38


Kordia completes first live 4K TV broadcast
Posted 1-Aug-2018 13:00


Schools get safer and smarter internet with Managed Network Upgrade
Posted 30-Jul-2018 20:01


DNC wants a safer .nz in the coming year
Posted 26-Jul-2018 16:08


Auldhouse becomes an AWS Authorised Training Delivery Partner in New Zealand
Posted 26-Jul-2018 15:55


Rakuten Kobo launches Kobo Clara HD entry level reader
Posted 26-Jul-2018 15:44


Kiwi team reaches semi-finals at the Microsoft Imagine Cup
Posted 26-Jul-2018 15:38


KidsCan App to Help Kiwi Children in Need
Posted 26-Jul-2018 15:32


FUJIFILM announces new high-performance lenses
Posted 24-Jul-2018 14:57


New FUJIFILM XF10 introduces square mode for Instagram sharing
Posted 24-Jul-2018 14:44



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.