High score requirement solution Configure static IP issues

Source: Internet
Author: User
Tags dns2
The company has 2 servers A (218.34.45.65) and B (218.34.45.66). Put it on the hosting server!

Server configuration for known a:
ip:218.34.45.65
Subnet Mask: 255.255.255.66
Default gateway: 218.34.45.10
dns1:123.34.35.45
dns2:123.34.35.1


Now to reconfigure the static IP of server B according to server A configuration, so that the server can be accessed by the extranet
The version of Server B is CentOS 5.7
ip:218.34.45.66//Only changed this place
Subnet Mask: 255.255.255.66
Default gateway: 218.34.45.10
dns1:123.34.35.45
dns2:123.34.35.1

Problem:
1. After the modification found that B server can ping a server, but Ping does not have external network, what is the reason? Does it have anything to do with firewalls?
2. Subnet mask generally see is 255.255.255.0, why this side will be 255.255.255.66
3. Subnet mask, default gateway, DNS is not all hosted server provided
4. From the above configuration, is not the network cable is directly connected to the server, and not through the router, Because I understand the usual practice is to use an internal IP (such as 192.168.0.10), and then mapped out through the router, so that the external can be accessed through the static IP of the 192.168.0.10 server


Reply to discussion (solution)

You are giving the router channel address, not the host IP

The same computer room is not equal to the same route access, the specific you also need to inquire about the computer room IP allocation, do not set their own mess.

Haha, this is not your solution! And no knot!

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.