I did say that earlier in the post I will restate it here for convenience
The block of addresses I have been given can be assumed to be :
56.52.53.0 ---*Cannot use
56.52.53.1 ---Assigned to the router
56.52.53.2 --- To my server
56.52.53.3 --- To NS1
56.52.53.4 --- To NS2
56.52.53.5
56.52.53.6
56.52.53.7 ---*Cannot use
What should my upstream subnet mask be for this block of IP addresses. I was under the impression it should be 255.255.255.248
However, its showing 255.255.255.255 which in my limited knowledge is only one single public IP address.
How does your ISP provide your /29 block? Do you have a separate /32 along with the /29?
As an example, my ISP provides me with a single static /32 which is the WAN (PPPoE) interface of my router.
In addition, my ISP provides a static /29 for me to use as I wish. From my ISP's perspective (and therefore the perspective of the rest of the world), the routing for that /29 goes via the /32.
So, if you're seeing a subnet mask of /32, is that for an address which is in the /29 block, or is it for a separate address entirely?
As far as I am aware they are only providing by block with /29 I don't know how to work out if the router address is /32... but I do know the upstream SNM is 255 and not 248
Which as I have already stated it is a single IP address
So, if you're seeing a subnet mask of /32, is that for an address which is in the /29 block, or is it for a separate address entirely?
The answer is yes it is within the assigned block
As this IP my router assigned address
I have successfully created 3 new interfaces and assigned them to eth0.1
56.52.53.2 --- To my Webserver
56.52.53.3 --- To NS1
56.52.53.4 --- To NS2
I can ping them externally and internally but cannot access them ie no traffic on port 80 or 443 is reaching my Webserver. I have tried with and without port forwarding but still nothing.
The web server is able to ping itself and other external public IP addresses, but not the internal addresses eg 192.168.1.1 this is what I would expect.
I have made sure /etc/resolv.conf has a DNS of 8.8.8.8.
I have confirmed that the Webserver eth0 is up and the correct public IP is assigned.
I'm now lost for what to try next.
How can I open up the router to see my webserver?
I'm not familiar with the tagging/untagging on the OpenWrt switch.
I believe this will work. Replace <wan> <ns#.ip> with your setup where appropriate. Rest is about converting these lines to /etc/config/network and /etc/config/firewall or uci.
ip add add 56.52.53.2/29 dev <wan>
ip add add 56.52.53.3/29 dev <wan>
ip add add 56.52.53.4/29 dev <wan>
ip add add 56.52.53.5/29 dev <wan>
ip add add 56.52.53.6/29 dev <wan>
iptables -t nat -A zone_wan_prerouting -i <wan> -d 56.52.53.3 -p udp -m udp --dport 53 -j DNAT --to-destination <ns1.ip>:53
iptables -t nat -A zone_wan_prerouting -i <wan> -d 56.52.53.4 -p udp -m udp --dport 53 -j DNAT --to-destination <ns2.ip>:53
Since you insist on using non-OpenWrt commands, methods and syntax with OpenWrt, I won't be able to assist you.
This is not how the Wiki, manuals, etc. setup an OpenWrt device.
Also, user created rules are not recommended to be added to OpenWrt-created firewall chains.
This rule can be added using OpenWrt syntax (or just simply using the GUI)...so that it's added correctly
Why are you still improperly assigning all IPs to the router...I thought I also read you're assigning IPs to the devices...this is incorrect as I already noted
Why don't you use the web GUI as noted in the "step-by-step" instructions you requested yourself?
I'm confused why you asked for steps, then persist on undertaking other steps not suggested by anyone in the thread.
EDIT: I realize the post wasn't the OP. @ppmm your config (i.e. addining IPs to the router) is what caused the OP's issue.
I do think your example will open services for the OP on the desired IPs, though.
Yes, it would be a step-by-step if I know how to make a VLAN bridge!!! but I don't!
So what are the steps to make a VLAN bridge?
Since you insist on using non-OpenWrt commands, methods and syntax with OpenWrt,
I'm not insisting any anything, these are just suggestions from forum users.
Besides, I wouldn't know a non-OpenWrt command, method and syntax from an official one.
If you take just my Web server as an example, it must be assigned a static IP, then a rout to the internet via one of my LAN ports need to be established.
I am doing incorrectly because I don't know what I'm doing, and trying to get information that will help me understand so I can do it correctly.
I am using the GUI!!!!
I'm confused why you asked for steps, then persist on undertaking other steps not suggested by anyone in the thread.
You're confused... Persist? I have taken all information from this thread and implemented them. However, if you would read the thread from the perspective of someone who doesn't have your knowledge you would see how confusing this is.
Can you please be a little more choice-full in your language, you are coming over as angry and impatient?
I really appreciate your input and its frustrating enough without having to explain my misunderstandings.