1 00:00:07,800 --> 00:00:15,580 So we have discussed dynamic net and the opposite to the endemic net is static net and static net. 2 00:00:15,600 --> 00:00:23,620 One internal IP address is always mapped to the same public IP address. 3 00:00:23,640 --> 00:00:32,340 A good example is when you have a web server on your private plan and you wish to add any one that connects 4 00:00:32,340 --> 00:00:41,100 to your or when interface to your intimate facing interface will always reach that web server. 5 00:00:41,150 --> 00:00:51,300 Now if you have a pool of IP addresses you can assign one IP address to that web server in 48. 6 00:00:51,390 --> 00:01:02,840 We call it virtual IP addressing or fake let's see how that works let's move over to our network interfaces 7 00:01:02,840 --> 00:01:05,760 and create that virtual IP. 8 00:01:05,900 --> 00:01:15,980 So we have a win and Internet facing court which is at eighty four and a two hundred twenty eight sixty 9 00:01:15,980 --> 00:01:16,440 nine. 10 00:01:16,520 --> 00:01:18,900 Two hundred thirty four. 11 00:01:19,160 --> 00:01:28,860 That's our public IP and we have a local area network at the 10 to 0 3 0 subnet. 12 00:01:28,880 --> 00:01:38,000 Now we have a web server that is located on our local area network and that web server is on the 10 13 00:01:38,170 --> 00:01:42,520 0 the treat of 22 as you can see in our drawing. 14 00:01:42,620 --> 00:01:52,640 We need any host that is entering through our one interface to reach our web server on port 80. 15 00:01:52,640 --> 00:02:05,160 So the next thing to do is to create a firewall address with our Web server address let's name it Web 16 00:02:05,160 --> 00:02:11,760 server 1 let's create the range for that 17 00:02:19,360 --> 00:02:30,410 web server we can use our LAN interface as the interface and that's about it Web server 1 is our address. 18 00:02:30,410 --> 00:02:36,700 Objects that we will use later on on our policy all right. 19 00:02:36,750 --> 00:02:37,670 There we have it. 20 00:02:38,180 --> 00:02:43,860 And now the second thing to do is to create the virtual IP let's create the mapping the mapping itself. 21 00:02:43,950 --> 00:02:55,360 So we'll create a virtual IP let's name it to server 1 interfaces are when interface the external IP 22 00:02:55,360 --> 00:03:07,800 range or IP address is when IP address the mapped the IP address that we will redirect packets is the 23 00:03:07,800 --> 00:03:10,150 tendency or the tree the twenty two. 24 00:03:10,420 --> 00:03:23,140 And we will use ports forwarding to limit our port mapping only to port 80 All right so we have created 25 00:03:23,200 --> 00:03:25,480 the firewall address. 26 00:03:25,660 --> 00:03:28,170 We have created the virtual IP. 27 00:03:28,210 --> 00:03:31,620 The third thing is to create our policy. 28 00:03:32,180 --> 00:03:40,910 Let's lay our policy to circle one of the incoming interfaces when the outgoing is the land. 29 00:03:41,110 --> 00:03:44,300 This source is just about anyone. 30 00:03:44,380 --> 00:03:51,910 Our destination is web server 1 or service is 0. 31 00:03:54,640 --> 00:04:01,690 But don't forget to disable net since we are already mapping it using virtual IP. 32 00:04:02,950 --> 00:04:05,130 And that's about it.