-
April 6th, 2009, 01:13
#1
عضو انجمن
آموزش Add کردن چندین IP روی یک سرور
با سلام،
کد:
You can add several virtual IP addresses to a physical network interface. A good starting point is to copy the interface definition file of the device you want to add a virtual IP address to.
cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0
You may have to modify ifcfg-eth0 to match your physical interface name.
Now you can edit the new file ifcfg-eth0:0 and specify the network settings of the virtual interface.
To make the changes take effect please restart the network services using:
service network restart
موفق باشید
Ded24.com - Parnak LTD - Since 2009▌
Email : sales[@]ded24.com▌
Tell : 021 77246118 | 24x7 Support And Sales : 0912 197 8921▌
... ,ColoCrossing, Redstation, Gigepipe, HETZNER▌
-
تعداد تشکر ها ازP-CO به دلیل پست مفید
-
April 6th, 2009 01:13
# ADS