?????

I am not sure what you mean..

you can't have two private IP's on the same interface as a public one...
(why would you want to? private IP's don't work on the internet.. and public
IP's are a waste on an internal network.. use NAT..)

but if you have three private or three public, then its easy...

in /etc/sysconfig/network-scripts you will see files like this:
ifcfg-eth0
ifcfg-eth1

(one for each network card...)

create the file ifcfg-eth0:0

in it, put stuff like this:

DEVICE=eth0:0
BOOTPROTO=static
IPADDR=192.168.0.5
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ONBOOT=yes

edit to suit, then save and restart your network.. eth0 would then have
another IP attached to it..


Works for me, I have one linux box with 64 public IP's on it. (webserver)


rgds

Frank




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Jorris Graad
Sent: Wednesday, 11 December 2002 3:46 AM
To: [EMAIL PROTECTED]
Subject: [expert] How to set 1 lan card w/ 3 IP addresses


Hi,
Just like the title, I want to make 1 LAN card to have 3 IP addresses, 1 IP
is the global one and the others is the private's.
Which file should I configure, and please tell me how to configure it..?

thanks for advance

Ivo.


_____________________________________________________________
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to