i have instaled suse 8 and one network card with ip 192.168.0.80/255.255.255.0
I wish to add another ip (an external one 213.157.185.197) to this network card.
I did with
ifconfig eth0:0 213.157.185.197 netmask 255.255.255.248 broadcast 213.157.185.199
and it worked for a moment.
I reboot-ed the station and now i have only the old 192.168.0.80 ip
here it is the:
--ifconf
eth0 Link encap:Ethernet HWaddr 00:C0
F:24:91:8D
inet addr:192.168.0.80 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2c0:dfff:fe24:918d/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6757 errors:0 dropped:0 overruns:0 frame:0
TX packets:8171 errors:0 dropped:0 overruns:0 carrier:0
collisions:13 txqueuelen:100
RX bytes:2156595 (2.0 Mb) TX bytes:692039 (675.8 Kb)
Interrupt:5 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2060 errors:0 dropped:0 overruns:0 frame:0
TX packets:2060 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:115644 (112.9 Kb) TX bytes:115644 (112.9 Kb)