We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Two static IP and two routers
Comments
-
onomatopoeia99 wrote: »That subnet mask means you have a /30, which is four contiguous addresses. However, the first is the network address and the last is the broadcast address, so these two should not normally be used in a standard network configuration (you can use them, but some things might not work as you expect).
Further, one of the remaining two will be the address assigned to your router by DHCP when it connects to the ISP. So, an example using a randomly chosen but theoretically valid /30:
Network address 83.128.7.0
Router address 83.128.7.1
unused 83.128.7.2
Broadcast 82.128.7.3
The last part of the network address (0 in my example) will obviously always be a multiple of the size of the block.
Since you were asking about IPv4 address exhaustion the other day, I had assumed you knew about IPv4 addressing fundamentals.
What are the actual final numbers (the part after the last dot) of the two IP addresses Eclipse say you can use (they should be between 0 and 255 and contain no 'x')?
What is the final number of the IP address that the router is assigned?
What I'm trying to establish is which of the four numbers in the subnet Eclipse say you can use.
I was asking in regards to writing a report for a course but I don't actually know how to put it in to practice yet. The first report was about exhaustion, what things would and wouldn't warrant a static ip etc. The next reports will dive deeper in to IPv4 and IPv6.
I figured why not put it in practice myself, on my own connection. So I switched ISP to one that'll give me multiple addresses and I'm playing around with trying to get the two addresses set up.
The final numbers of the addresses Eclipse has given me is .229 and .230. My main router (Asus) is connected with the .229 address and it's set to 'Get the WAN IP automatically' if that makes any difference.We’ve had to remove your signature. Please check the Forum Rules if you’re unsure why it’s been removed and, if still unsure, email forumteam@moneysavingexpert.com0 -
I've got it.. I think.
I changed my Asus router from 'Get the WAN IP automatically' to static. Entered the .230 address along with the subnet and default gateway and now the router has assigned both .229 and .230 and shows them both under the 'Internet Status' page.
If I visit both IPs from a browser (from mobile over mobile data), it's taking me to my web server.
I have router 2 connected to router 1 and I'm basically using 2 as an access point just now. I just need to figure out how I can get anything connected to router 2 to use the .230 address and anything connected to router 1 to use the .229 address. Just now, whatismyip.com is showing .229. If that's possible?We’ve had to remove your signature. Please check the Forum Rules if you’re unsure why it’s been removed and, if still unsure, email forumteam@moneysavingexpert.com0 -
-
securityguy wrote: »That's not correct behaviour, unless you've assigned both those IP numbers to the ethernet interface on your web server.
The web server is connected through the router. If I try and assign the unused static address (.230) to the ethernet interface, it doesn't connect. Clearly I know very little about networking! :rotfl:We’ve had to remove your signature. Please check the Forum Rules if you’re unsure why it’s been removed and, if still unsure, email forumteam@moneysavingexpert.com0 -
I would expect the router to have exactly one of the addresses, and you to then assign the other to the web server. But with both of them assigned to the router, as you imply, I don't see how the web server would respond. What are the IP numbers of the web server's ethernet interface, and of the router's "inside" ethernet interface?0
-
securityguy wrote: »I would expect the router to have exactly one of the addresses, and you to then assign the other to the web server. But with both of them assigned to the router, as you imply, I don't see how the web server would respond. What are the IP numbers of the web server's ethernet interface, and of the router's "inside" ethernet interface?
The router is 192.168.1.1 and the web server is 192.168.1.90. Somehow, I've got both public addresses assigned to the router and both reach the web server from the outside. Even though I've configured the router to assign the .230 address statically, it's still automatically assigning .229 as well so both show up on the router status page. I can screenshot it all later when I'm home if you like?We’ve had to remove your signature. Please check the Forum Rules if you’re unsure why it’s been removed and, if still unsure, email forumteam@moneysavingexpert.com0 -
Hi
Private IP addresses, these are addresses that cannot be routed out onto the internet, are your to use as you see fit.
They range from 10.0.0.0 to 10.255.255.255, giving 16,777,216 class A.
172.16.0.0 to 172.31.255.255 equating to 1,048,576 class B.
192.168.0.0 to 192.168.255.255 making 65,536 class C.
Equipment you buy like a router will usually be designated one of the above. 192.168.0.0 and 192.168.1.0 are common on small ISP routers, my VirginMedia is 192.168.0.0 with a gateway address of 192.168.0.1.
I don't have an allocated IP address, Virgin serve me up with one on a lease basis when I need one via DHCP.
So are you allocated IP addresses in the A,B or C ranges quoted above?This is a system account and does not represent a real person. To contact the Forum Team email forumteam@moneysavingexpert.com0 -
The router is 192.168.1.1 and the web server is 192.168.1.90. Somehow, I've got both public addresses assigned to the router and both reach the web server from the outside. Even though I've configured the router to assign the .230 address statically, it's still automatically assigning .229 as well so both show up on the router status page. I can screenshot it all later when I'm home if you like?
There's presumably some sort of inbound NAT. You need to talk to Eclipse's support and ask how they suggest you configure it. I would expect you to need a minimum of three IP numbers: one on the "outside" of the router, one on the "inside" (a router by definition has at least two logical interfaces) and one on the web server. That you're using RFC1918 address on the internal network means you're not doing the normal things.0 -
Hi
Private IP addresses, these are addresses that cannot be routed out onto the internet, are your to use as you see fit.
They range from 10.0.0.0 to 10.255.255.255, giving 16,777,216 class A.
172.16.0.0 to 172.31.255.255 equating to 1,048,576 class B.
192.168.0.0 to 192.168.255.255 making 65,536 class C.
Equipment you buy like a router will usually be designated one of the above. 192.168.0.0 and 192.168.1.0 are common on small ISP routers, my VirginMedia is 192.168.0.0 with a gateway address of 192.168.0.1.
I don't have an allocated IP address, Virgin serve me up with one on a lease basis when I need one via DHCP.
So are you allocated IP addresses in the A,B or C ranges quoted above?
Internal addresses are class C.We’ve had to remove your signature. Please check the Forum Rules if you’re unsure why it’s been removed and, if still unsure, email forumteam@moneysavingexpert.com0 -
securityguy wrote: »There's presumably some sort of inbound NAT. You need to talk to Eclipse's support and ask how they suggest you configure it. I would expect you to need a minimum of three IP numbers: one on the "outside" of the router, one on the "inside" (a router by definition has at least two logical interfaces) and one on the web server. That you're using RFC1918 address on the internal network means you're not doing the normal things.
I was told (whether rightly or wrongly?) that the first IP, .229 would be assigned to the router and so anything connected to that router would have an outbound address as .229.
As for the .230 address, I could allocate that to one machine, say the web server, and configure the ethernet interface on that machine and assign it as a static IP. Though I did this and nothing happened.
I've played around with various things and the only time I've been able to assign the second IP is by configuring the router with it, so that it assigns both addresses and thus both access the web server. But whatever I do, the router automatically assigns .229, I can't seem to prevent it. I can't assign the router .230 exclusively.We’ve had to remove your signature. Please check the Forum Rules if you’re unsure why it’s been removed and, if still unsure, email forumteam@moneysavingexpert.com0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 352K Banking & Borrowing
- 253.5K Reduce Debt & Boost Income
- 454.2K Spending & Discounts
- 245K Work, Benefits & Business
- 600.6K Mortgages, Homes & Bills
- 177.4K Life & Family
- 258.8K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.6K Read-Only Boards