How to configure ip-alias ( eth0:1, eth0:2, .... ) using YaST2 - SuSE Linux 8.0 ? Using YaST - SuSE Linux 7.3, you could specify interface name as eth0:1, ... If it's not possible with YaST2, where I can find documentation concerning /etc/sysconfig manual configuration? thanks in advance.
* Flavio Arthur Leal Ferreira;
If it's not possible with YaST2, where I can find documentation concerning /etc/sysconfig manual configuration?
YaST2 can not do it at the time being /etc/sysconfig/network/ifcg.template explains # Multiple addresses (aka aliases) # There are several ways to assign more than one IP address to a network # interface. If you ever want to use YaST2 for this you should choose # the # first possibility: # 1) one IP address per config file: # create multiple copies of your master config files and add # ':<string>' to # the filenames of the copy. Prefer increasing number starting at 1. # 2) multiple IP addresses per config file: # You can extend the variable name 'IPADDR' by any string you like # (IPADDR_1, # IPADDR-FOO, IPADDRxxx, ...) and use these variables for your IP # addresses. # If you need some additional parameters for these addresses, then # just add # the same extension to these variable names. # IPADDR_AAA=1.2.3.4 # NETMASK_AAA=255.0.0.0 # BROADCAST_AAA=1.2.3.55 # IPADDR_BBB=10.10.2.3/16 # LABEL_BBB=B -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
Flavio, In /etc/sysconfig/network (as root) create a file called eth0:0 (or whatever you need) with contents similar to: IPADDR=10.128.1.165 NETMASK=255.255.255.255 NETWORK=10.128.1.0 BROADCAST=10.128.1.255 STARTMODE=onboot then start the alias by using: /sbin/ifup eth0 Have a look at ultramonkey (http://www.ultramonkey.org/ultramonkey-1.0.2/configuration/example-ha-lb-5.h...) for an example. Guess what I'm working on right now ... :0) Damian Flavio Arthur Leal Ferreira wrote:
How to configure ip-alias ( eth0:1, eth0:2, .... ) using YaST2 - SuSE Linux 8.0 ?
Using YaST - SuSE Linux 7.3, you could specify interface name as eth0:1, ...
If it's not possible with YaST2, where I can find documentation concerning /etc/sysconfig manual configuration?
thanks in advance.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
-- Damian O'Hara using: SuSE Linux 8.0 3:16pm up 96 days, 1:48, 21 users, load average: 0.37, 0.38, 0.28
Oops! Got that wrong. Filename should be ifcfg-eth0:0 Damian -- Damian O'Hara using: SuSE Linux 8.0 3:26pm up 96 days, 1:58, 21 users, load average: 0.23, 0.29, 0.27
participants (3)
-
Damian Ohara
-
Flavio Arthur Leal Ferreira
-
Togan Muftuoglu