LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   multiple ip on suse 8 (https://www.linuxquestions.org/questions/linux-networking-3/multiple-ip-on-suse-8-a-74814/)

m0rpheusz 07-22-2003 05:40 AM

multiple ip on suse 8
 
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:DF: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)

carlywarly 07-22-2003 05:42 AM

I expect suseconf just overwrites the settings on boot. You'll need to use Yast2 to set the 2 cards up.

m0rpheusz 07-22-2003 05:51 AM

yast2 doesn't help
 
i have a realtek 8139 network card.
i had tried with yast2 to add a new ip for the nethork card but no work.
If i do add... the a new eth1 will be instaled.I choose from the list realtek 8139 but it will not work.
if i check the /etc/module.conf i can see that eth0 use 8139too and the eth1 use RTL8139.
I don't understand why are those different since it is the same network card.
so...yast2 =no good for me ;-(


All times are GMT -5. The time now is 04:21 AM.