Correction, /etc/rc.d/boot.local Its way to early! On Thu, 2005-08-04 at 08:02 -0500, Mark Spieth wrote:
put it in /etc/boot.local
On Thu, 2005-08-04 at 15:29 +0300, Michael Green wrote:
On 8/4/05, Ken Schneider
wrote: And what would be the proper way of making virtual aliases created with 'ip' permanent (survive reboot)?
Anyone? Have you tried using YaST to add the virtual IP's?
Yes, I tried. It wouldn't allow me top create an interface named 'eth0:1'
What I'm doing is adding another IP to eth0 (192.168.1.20)
ip addr add 192.168.1.100/24 label eth0:1 dev eth0
Then it shows up in ifconfig. but YaST wouldn't allow ':' to be part of the interface name/label. So I currently I have no choice but to run this manually after each reboot.
Now, I feel quite comfortable with NOT using YaST but then how do I make this permanent. there is no script in /etc/init.d/ that would allow me to run 'ip' in the manner as above. Should I write this script myself?
Surely, I'd love to hear what's the official SuSE's stance on this.. -- Warm regards, Michael Green