View previous topic :: View next topic |
Author |
Message |
100%hound_dog n00b


Joined: 01 Oct 2003 Posts: 32
|
Posted: Sat Oct 25, 2003 1:04 am Post subject: starting virtual interfaces? |
|
|
I have no problem using ifconfig to start up a virtual interface like eth0:0 192.168.2.100, but I'm stumped as to how to bring it up automatically on boot. I tried copying net.eth0 to net.eth0:0 in the init scripts and this didn't seem to want to work. How do you do this? I'm coming from redhat and the whole change of how stuff starts up and where it is in /etc/ is a bit bewildering to me currently. Thanks in advance. |
|
Back to top |
|
 |
Stu L Tissimus Veteran


Joined: 08 Jun 2003 Posts: 1339 Location: NJ, 5 minutes from NYC
|
Posted: Sat Oct 25, 2003 2:21 am Post subject: |
|
|
rc-update add net.eth0 default _________________ old outdated sig |
|
Back to top |
|
 |
100%hound_dog n00b


Joined: 01 Oct 2003 Posts: 32
|
Posted: Sat Oct 25, 2003 2:32 am Post subject: okay |
|
|
I added net.eth0 to the default startup like you said , but that only starts up eth0 for me, not eth0:0. Where do I enter the virtual interface info? I get errors when I put it in the /etc/conf.d/net file.
this is what I get with my current entry when I restart /etc/init.d/net.eth0
/sbin/runscript.sh: line 9: iface_eth0:0=192.168.1.108 broadcast 192.168.1.255 netmask 255.255.255.0: command not found _________________ When hunting monsters one should take care not to become one. |
|
Back to top |
|
 |
|