network

Virtual Ethernet Interface

Derived from instructions at http://handsonhowto.com/virt.html

To create a virtual interface on eth0:

ifconfig eth0:1 <IP ADDRESS> netmask <NETMASK>

To make this permanent in RHEL/CentOS, create a file in /etc/sysconfig/network-scripts. In this case, it would be named /etc/sysconfig/network-scripts/ifcfg-eth0:1 and it's contents would be similar to:

Technology:

Subscribe to RSS - network

Recent Updates

  • 2 years 2 days ago
  • 2 years 2 days ago
  • 2 years 4 days ago
    php 8.x
  • 2 years 5 days ago
    10.6.7
  • 2 years 1 week ago
    Drop Centos 5/6 stuff