Set up a DHCP + DNS server on Linux, and analog access to the web server

        This blog mainly introduce a small experiment in the figure below. Specifically explain this experiment, in the middle of Linux servers provide DHCP service with DHS, and then simulate the external network to build a web service, then under the Windowsxp with Windows - 7 clients are able to access to this building from Windows 10 web services.

        Windows xp client with Windows --7 obtain network address provided by Linux vlan30 of 10 with 20, respectively, and then by three-tier exchange routing access to two sites with different domain names 14.0.0.14 of this web server.

  image.png

        According to topology, here on the floor of the exchange to be set up with the three-tier exchange, first floor of the exchange.

image.png


        Next is to set three-tier exchange.

image.png



image.png


image.png


        The next step is to connect the router web service settings.

image.png


        Obtain an IP address on the client Windows xp, it has acquired the IP address 192.168.10.2 of 10 segments.

image.png


        Then to get in on the client Windows -7 20 segment of the URL 192.168.20.2.

image.png




        Resolve domain name with nslookup detection function has been successfully achieved.

image.png

image.png


        Next, configure a fixed IP address to a web server Windows 10.

    image.png



        Ability to communicate with the ping command to detect the target web service, can be connected.

image.png


        Set up a site two sites on Windows 10web service.

image.png


         Then add Web services functionality in the Control Panel options among.

image.png



        Add a new IP binding site is 14.0.0.14, binding host name www.abc.com.

image.png



        Add Site Binding 14.0.0.14IP address, binding www123.com host name.

image.png



        Then add some content on the site were inside.

image.png

image.png


        Then use Windows xp client with Windows -7 to visit both sites, side two clients have been successful visit to the site.

image.png

image.png



        


        




Guess you like

Origin blog.51cto.com/14451009/2435585