From: Luca Mollica [mailto:luca_mollica@virgilio.it]
I have set up correctly the card with ip, dns and all the stuff, and connection works : but now I would like to ADD a new configuration on the same card but with different parameters after some works have been done in my workplace and I cannot use the same ip address (and all other parameters) on different floors and sections of the building. What do I have to do? Can I follow the YAST configuration wizard or do I have to make some set up in order to have a double ip and make the machine automatically choose the ip?
I did this, but only for an IP in the same network as the first one. I found it easier to setup editing the file /etc/sysconfig/network/ifcfg-ehtx where x is the number of the interface (probably 0 for yours unless you have more than one card). Mine looks like this... BOOTPROTO='static' BROADCAST='192.168.1.255' IPADDR='192.168.1.3' IPADDR_1='192.168.1.200' ->>> adds the address to the card IPADDR_2='192.168.1.201' ->>> adds another address MTU='' NETMASK='255.255.255.0' NETWORK='192.168.1.0' REMOTE_IPADDR='' STARTMODE='onboot' UNIQUE='' As this file defines a network for the interface I think it may prove more difficult if your addresses are not on the same network (e.g. 192.168.1.23 and 192.168.21.44). I think you'll have to make sure the routing table is properly setup for it to work. I have also tested things before commiting them to this file by using the following syntax on ifconfig to apply an additional address dynamically (it'll be lost after the next reboot or if you down then up the interface)... #> ifconfig eth0:1 192.168.1.200 HTH Damon