Hi Al,
It's not very often I can contribute to the group, but I had identically the
same problem. Here's what I did:
auto eth0
iface eth0 inet static
address 46.60.172.201
netmask 255.255.255.0
broadcast 46.60.172.255
gateway 46.60.172.254
# Additional IP addresses
up ip addr add 46.60.172.202/24 brd 46.60.172.255 dev eth0 label
eth0:0
up ip addr add 46.60.172.203/24 brd 46.60.172.255 dev eth0 label
eth0:1
up ip addr add 46.60.172.204/24 brd 46.60.172.255 dev eth0 label
eth0:2
Then be sure to back up.
Hope this helps!
Cheers,
Craig
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ALParada
Sent: Tuesday, January 18, 2005 2:48 PM
To: [email protected]
Subject: [leaf-user] multiple addresses
Hello,
Exactly how do you add mutiple ip addresses to the same interface? I tried
adding this under network config/interfaces:
# Configure Interface
auto eth1
iface eth1 inet static
address 192.168.1.155
netmask 255.255.255.0
broadcast 192.168.1.0
gateway 192.168.1.1
auto eth1:0
iface eth1 inet static
address 192.168.2.155
netmask 255.255.255.0
broadcast 192.168.2.0
When I restarted networking I had lost all my addresses. I did an "ip addr"
and they were all gone. I commented the second address and did a:
ip addr add 192.168.2.155/24 brd 192.168.1.255 dev eth0 label eth0:0
and it worked. Since I don't want to do this everytime I reboot what am I
doing wrong and how do I fix it?
TIA.
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE
limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE --
well, almost....http://www.thinkgeek.com/sfshirt
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html