At 06:15 PM 7/30/99 , you wrote:
> I have a problem with adding a virtual interface to the ethernet card.
>
> I have put an IFCONFIG command in /etc/init.d/network for the virtual
> interface:
>
> ifconfig eth0:1 inet 208.21.250.3 netmask 255.255.255.0
> broadcast 208.21.250.255
>
> These are the messages that are logged during startup:
>
> Jul 18 21:53:45 dns2 kernel: eth0: RealTek RTL8139 at
> 0xf600, IRQ 11, 00:00:b4:bd:cd:5c.
> Jul 18 21:53:45 dns2 kernel: net_alias_dev_create(eth0:1):
> unregistered family==2
>
> The virtual interface does not until I manually execute
/etc/init.d/network
> when the interface is added.
>
> I either have the virtual specifications in the wrong place or there is a
> timing problem.
>
Hey --
Did you ever get any replies to this? Was it a kernel compilation problem?
(This is an area of interest of mine, but I have no experience.)
If you got no replies, I'd say repost it. Often if no one replies right
away and starts a thread, on that list things seem to just get buried by
others.
The problem waiting until after "kerneld" was loaded. So, I created a new
script /etc/init.d/network2 containing the required "ifconfig" command and
then created symlinks in the rc?.d directories:
ln -s ../init.d/network2 rc2.d/S14network2
ln -s ../init.d/network2 rc3.d/S14network2
ln -s ../init.d/network2 rc4.d/S14network2
ln -s ../init.d/network2 rc5.d/S14network2
Works great now.
Butch
TSTAR Internet, Inc | Making the Network Work
Marble Falls, TX | Serving Blanco, Burnet, and
830-693-6967 | Llano Counties