Dear Charles,

Thank you very much for this very prompt reply.

Sorry to have forgotten to mention what distro I am using...
So, I am playing (sure) with the 1.0 Stable Bering from our 
friend Jacques and all his project's collaborators.

I was searching how to complete this aliasing problem in the file
which described all the NIC's addresses. I don't remember the exact
name of it. May be "etc/network/interfaces" ? 
I have not the Bering PC here...

But, if I can remember, a "standard" record for one NIC is like this :
 auto eth3
 iface eth3 inet static
     address 192.168.73.254
     netmask 255.255.255.0
     broadcast 192.168.73.255

How could you input this new alias IP ?

TIA
Best Regards,
Francois BERGERET,
France.

-----Message d'origine-----
De : Charles Steinkuehler [mailto:[EMAIL PROTECTED]] 
Envoyé : mardi 11 février 2003 22:53
À : [EMAIL PROTECTED]
Cc : [EMAIL PROTECTED]
Objet : Re: [leaf-user] Aliasing IP Addres : HOWTO do ?


Francois BERGERET wrote:
> Hi Leaf friends,
> 
> I don't understand how to have a second IP address on the same 
> interface. I have hear some sound about aliasing...
> I have searched but not trieve exactly hot to do, and a real example.
> 
> If somebody knows...
> 
> I have already 192.168.73.254/24 on this NIC, but I want also 
> 44.151.100.254/24.

In the current linux world (2.2 or 2.4 kernel with iproute2), you simply

add the address to the interface:

ip addr add 44.141.100.254/24 broadcast + dev ethX

Follow this with "ip addr" and "ip route" to verify the new IP address 
has been added correctly, along with a route to it's subnet.

Details on configuring this to happen automatically at startup, and 
modifying any firewall rules as required are distribution specific, and 
you failed to mention which distribution you are running.

-- 
Charles Steinkuehler
[EMAIL PROTECTED]




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
------------------------------------------------------------------------
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

Reply via email to