I currently use the following command to set my alias for eth0:1 ifconfig eth0:1 38.160.70.177 netmask 255.255.255.255 broadcast 255.255.255.255 up How can I have this persistently come up after each reboot? Should I go thru the yast utility or add it to an rc script? Or does ifconfig have a persistent flag I can set? Thanks, Sean
On Fri, Nov 15, 2002 at 10:40:06AM -0500, Sean M Lentner wrote:
I currently use the following command to set my alias for eth0:1
ifconfig eth0:1 38.160.70.177 netmask 255.255.255.255 broadcast 255.255.255.255 up
How can I have this persistently come up after each reboot?
Should I go thru the yast utility or add it to an rc script?
YaST2 cannot do it at 8.1 time I think. Create a file /etc/sysconfig/network/ifcfg-eth0:1 with this content: STARTMODE=onboot IPADDR=38.160.70.177/32
Or does ifconfig have a persistent flag I can set?
No. Peter
On Fri, Nov 15, 2002 at 07:26:06PM +0100, poeml@cmdline.net wrote:
I currently use the following command to set my alias for eth0:1 How can I have this persistently come up after each reboot?
YaST2 cannot do it at 8.1 time I think.
grrrr, it was possible before with yast1. Great improvement :/ found even nothing about that in the SDB. Olivier
On Thu, Nov 28, 2002 at 03:40:20PM +0100, Olivier M. wrote:
On Fri, Nov 15, 2002 at 07:26:06PM +0100, poeml@cmdline.net wrote:
I currently use the following command to set my alias for eth0:1 How can I have this persistently come up after each reboot?
YaST2 cannot do it at 8.1 time I think.
grrrr, it was possible before with yast1. Great improvement :/ found even nothing about that in the SDB.
about that, more "docs" can be found in: /etc/sysconfig/network/ifcfg.template Olivier
participants (3)
-
Olivier M.
-
poeml@cmdline.net
-
Sean M Lentner