[CentOS] virtual interfaces
bill.baird at phoenixmi.com
Wed Sep 28 03:25:03 UTC 2005
On Sep 27, 2005, at 10:42 PM, Ryan wrote:
> I have CentOS 4 running on an old (early model) p3 with 64 MB RAM. It
> is acting as a router and firewall for my LAN.
> CentOS is doing a really good job with Shorewall + DHCPd - on a 10 Mbps
> cable modem, I see ~ 9.7 Mbps of throughput even when numerous tcp
> streams to different LAN hosts are running.
> I would like to add a virtual interface to one of my LAN interfaces.
> My LAN interface (/etc/sysconfig/network-scripts/ifcfg-eth2) looks
> would adding the below:
> Would this create a virtual interface eth0:0 with the IP address
> Thanks in advance.
> CentOS mailing list
> CentOS at centos.org
That config looks good, except it will create eth2:0 not
eth0:0(probably a typo). I'm not sure which is better to do(or if it
even matters), but on my virtual interfaces I do not have
"TYPE=Ethernet" or "HWADDR=..." in my config file.
More information about the CentOS