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 > like: > > DEVICE=eth2 > BOOTPROTO=static > BROADCAST=192.168.10.255 > HWADDR=00:60:08:C3:F9:71 > IPADDR=192.168.10.1 > NETMASK=255.255.255.0 > NETWORK=192.168.10.0 > ONBOOT=yes > TYPE=Ethernet > > > would adding the below: > > /etc/sysconfig/network-scripts/ifcfg-eth2:0 > > DEVICE=eth2:0 > BOOTPROTO=static > BROADCAST=192.168.20.255 > HWADDR=00:60:08:C3:F9:71 > IPADDR=192.168.20.1 > NETMASK=255.255.255.0 > NETWORK=192.168.20.0 > ONBOOT=yes > TYPE=Ethernet > > > Would this create a virtual interface eth0:0 with the IP address > 192.168.20.1? > > Thanks in advance. > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos 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. --Bill