Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
starting virtual interfaces?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
100%hound_dog
n00b
n00b


Joined: 01 Oct 2003
Posts: 32

PostPosted: Sat Oct 25, 2003 1:04 am    Post subject: starting virtual interfaces? Reply with quote

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
View user's profile Send private message
Stu L Tissimus
Veteran
Veteran


Joined: 08 Jun 2003
Posts: 1339
Location: NJ, 5 minutes from NYC

PostPosted: Sat Oct 25, 2003 2:21 am    Post subject: Reply with quote

rc-update add net.eth0 default
_________________
old outdated sig
Back to top
View user's profile Send private message
100%hound_dog
n00b
n00b


Joined: 01 Oct 2003
Posts: 32

PostPosted: Sat Oct 25, 2003 2:32 am    Post subject: okay Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum