خرید بک لینک

1. 7.7.7.x is NOT a private network!!! Yes, it can work if you do proper routing rules, etc, but there are enough private subnets to use and you should be careful and leave the public subnets alone. The private subnets are 10.x.x.x, 172.16.x.x and above, and 192.168.x.x.

For example, 172.10.x.x is public, but 172.20.x.x is private.

So, I suggest you change the 7.7.7.x to something like 10.10.12.x.

2. No need to use the 'network' option in /etc/network/interfaces. It is calculated from netmask automatically. It only creates possibility for an error. In fact in your case I think the 'network' option is a problem because you use netmask 255.0.0.0 and not 255.255.255.0. In such case the 'network' value you are using is not correct.

3. Related to the above: If you plan to use a subnet like 10.10.10.x better to use netmask 255.255.255.0, not 255.0.0.0 like in your case. It splits the subnet more appropriately.

4. You use only one gateway, not on each interface. Unless your setup needs it, but in this case I think it doesn't.

So, with all of the above, change your three private interfaces to:

Code:

address 10.10.10.250
netmask 255.255.255.0
That's all you need. Adjust for 10.10.11.x and 10.10.12.x accordingly. And you don't need to use .250 unless you really want to. If you plan this machine to be the gateway for the clients on those private networks, usually you would make this machine to be 10.10.10.1 and the clients use that IP as gateway. But you can use 10.10.10.250 if you prefer. Just use it accordingly later.

برچسب: نویسنده: استخدام کار تاريخ: شنبه 18 ارديبهشت 1395 ساعت: 15:53

صفحه بندی