So we have discussed dynamic net and the opposite to the endemic net is static net and static net.
One internal IP address is always mapped to the same public IP address.
A good example is when you have a web server on your private plan and you wish to add any one that connects
to your or when interface to your intimate facing interface will always reach that web server.
Now if you have a pool of IP addresses you can assign one IP address to that web server in 48.
We call it virtual IP addressing or fake let's see how that works let's move over to our network interfaces
and create that virtual IP.
So we have a win and Internet facing court which is at eighty four and a two hundred twenty eight sixty
nine.
Two hundred thirty four.
That's our public IP and we have a local area network at the 10 to 0 3 0 subnet.
Now we have a web server that is located on our local area network and that web server is on the 10
0 the treat of 22 as you can see in our drawing.
We need any host that is entering through our one interface to reach our web server on port 80.
So the next thing to do is to create a firewall address with our Web server address let's name it Web
server 1 let's create the range for that
web server we can use our LAN interface as the interface and that's about it Web server 1 is our address.
Objects that we will use later on on our policy all right.
There we have it.
And now the second thing to do is to create the virtual IP let's create the mapping the mapping itself.
So we'll create a virtual IP let's name it to server 1 interfaces are when interface the external IP
range or IP address is when IP address the mapped the IP address that we will redirect packets is the
tendency or the tree the twenty two.
And we will use ports forwarding to limit our port mapping only to port 80 All right so we have created
the firewall address.
We have created the virtual IP.
The third thing is to create our policy.
Let's lay our policy to circle one of the incoming interfaces when the outgoing is the land.
This source is just about anyone.
Our destination is web server 1 or service is 0.
But don't forget to disable net since we are already mapping it using virtual IP.
And that's about it.