Hello, i have an /26 public ip (Internet adreess) and i need to make some change to give a /30 or /29 to any off my clients. To give her any public´s ip with the correct gateway.
/ ip route
add dst-address=0.0.0.0/0 gateway=200.110.219.129 scope=255 target-scope=10 comment=“” disabled=no
You can see the static route but not dynamic because i use the export command.
I put the ip 200.110.219.190 in a notebook with gateway 200.110.219.189 and mask 255.255.255.252 but not nowrk, this machine dont have connection to internet. only can ping the gateway.
What i need to do or change to get the notebook have internet connection? i need to put some ip route rules or something?
Why subnet? Just allocate /29 addresses to customers as necessary and bridge the ethernet interfaces on the router. Subnetting /29 & /30 is inefficient as you’re “losing” two addresses per subnet for the network and broadcast addresses.
Is true i loose some ip apply /29 or /30 but i use this to apply some filters in each subnet and secure the wired network. I set up each different ip subnet im some eth´s (5 at the moment).
I need to know how can i make the rules to have ineternet in other eth´s but i don´t want to bridge this. in need to route every subnet by the correct gateway.
Seting a subnet /26 on interface Public (eth1) and /30 on interface Switch 1 (eth2) and bridge interface work correctly. But i want to set the route for every subnet without bridge the any interface.