Hello;
On the edge router,I want to masquerade whole remote subnet 10.1.x.x through WAN IP 192.168.1.1.
But there is no interface having the WAN IP 192.168.1.1 but I own 192.168.1.0/24 .Whole subnet is routed to me from my ISP.
Yes, you have to add all the IP addresses to your wan interface. The command given below will help you add all the required IP address. Just copy and paste it into a terminal window. Observer that the first IP has a /24 subnet mask while all the others have /32.
If you must use netmap or scr-nat, you have to add the IP addresses to the wan interface. But, you can use PPPoE to assign the IP addresses directly to your clients without adding them to the wan interface.
are you sure? I don’t think you need to add those IPs to your WAN interface if they are being routed to you. Try it without and see what happens. Just add some nat rules and they should work. I could be wrong, but it seems like I’ve done it before…