Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Add multiple secondary IP addresses on CentOS

Adding a single Secondary IP on CentOS is fairly straight forward. Adding a single secondary IP Assuming that you want the secondary IP on your first ethernet card (eth0), create a file /etc/sysconfig/network-scripts/ifcfg-eth0:1 with the following content: user@laptop:~$ cat /etc/sysconfig/network-scripts/ifcfg-eth0:1 DEVICE=eth0:1 ONBOOT=yes BOOTPROTO=static IPADDR=10.10.10.100 Optionally, you can also set NM_CONTROLLED to yes if you’d like […]



This post first appeared on Microshell, please read the originial post: here

Share the post

Add multiple secondary IP addresses on CentOS

×

Subscribe to Microshell

Get updates delivered right to your inbox!

Thank you for your subscription

×