How to assign public IPv4 Subnet to OPT?
I'm trying to do the following on the pfSense box:
- Create VLAN 100 (Done)
- Add public IPv4 subnet 126.96.36.199/27 to the VLAN 100. Host the /27 gateway (188.8.131.52) on the pfSense, and send all traffic to the uplink/WAN.
- Add a DHCP for the 184.108.40.206/27 range to hand out IP's to the OPT port on the pfSense.
Currently, the network is like this:
ISP (220.127.116.11) <–> Switch (18.104.22.168) <--> pfSense (22.214.171.124) ------> Use the OPT port with public ips, and route it to the switch which is routed to the ISP.
Our ISP has static routed a couple /24's to use, and I have made a smaller /27 out of one of them that I want to use on the pfSense and assign it to the OPT port doing the steps listed above. The Switch has a static route of 0.0.0.0/0 to the ISP 126.96.36.199.
what does the switches route have to do with anything?
So are these /24 routed to you via transit?? I this public IP 188.8.131.52 so these other /24's are routed to that IP.. Not attached?
If that is case then just put the /?? whatever you want to subnet them to on your opt - you sure wouldn't be setting a gateway on that interface. And yeah it will go out your.. Just make sure you disable natting of that interface since you have not use for it.