Ray Hauge wrote: > Hello everyone, > > I have been looking for some information on sub interfacing a network > card. I know the card can handle it because there is already eth0:0, > eth0:1, and eth0:2, I just haven't done this before. > > Thanks, > Ray > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > > Easy way: ifconfig eth0:5 123.34.56.78 netmask 255.255.255.0 up (I chose :5 just because - it can be any number. I also choce a bogus IP address.) Unfortunately, if you want to make it survive a reboot, or a network init script invocation, you need to add it to the distribution-specific network configurations. Debian is different that RH/Mandrake. Just in case you are using RH: cd /etc/sysconfig/networl-scripts cp ifcfg-eth0 ifcfg-eth0:5 vi ifcfg-eth0:5 Change it as shown: DEVICE=eth0:5 BOOTPROTO=static BROADCAST=123.34.56.255 IPADDR=123.34.56.78 NETMASK=255.255.255.0 NETWORK=123.34.56.0 ONBOOT=yes TYPE=Ethernet (replace the 123.34.56 stuff with your IP you are binding to the NIC.) :wq service network restart you are done. Cheers! George Toft, CISSP, MSIS AGD,LLC www.agdllc.com 623-203-1760 --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss