Last I heard, IP aliasing is already obsolete. It is now possible to add multiple IP addresses to a single interface like eth0 using iproute. Just keep adding IP adds like this:
ip addr add 192.168.0.1/24 dev eth0
ip addr add 192.168.1.1/24 dev eth0
ip addr add 192.168.2.1/24 dev eth0
ip addr add 192.168.3.1/24 dev eth0
No need to append :<string> to each device. To display IPs added using iproute, don't use ifconfig because it won't show them, use:
ip addr show
or simply:
ip addr
Carlo
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Elmer Rivera
Sent: Sat 7/2/2005 12:54 AM
To: fooler
Cc: The Main Philippine Linux Users' Group (PLUG) Discussion List
Subject: Re: [plug] IP Aliasing
On 7/1/05, fooler <[EMAIL PROTECTED]> wrote:
> ----- Original Message -----
> From: "Elmer Rivera" <[EMAIL PROTECTED]>
> To: "fooler" <[EMAIL PROTECTED]>
> Cc: "The Main Philippine Linux Users' Group (PLUG) Discussion List"
> <[email protected]>
> Sent: Friday, July 01, 2005 6:06 PM
> Subject: Re: [plug] IP Aliasing
>
>
> >> are those ip addresses put in your interfaces are properly route by your
> >> upstream provider?
> >
> >Yes, i tried to ping my orig interface (eth0) from those said sites
> >and got a response from it.
>
> what i mean is that since you are adding more ip address for every logical
> interface... are those (public?) ip addresses assigned to your logical
yes sir, actually its part of the /29 ip address allocated to us, i
just need some ip for my nat.
> interface came from your upstream provider or you get it from nowhere? :->
>
> >> eg.
> >>
> >> ifconfig eth0:fooler 192.168.0.1 netmask 255.255.255.0
> >
> >i dont usually do this? hehehe
>
> yes but it works too if you do that :-> i dont know if it is a feature or a
> bug... or this is one of the many that bsd camp saw and ranting about that
> linux is not *technically correct* to implement something :->
I guess so...
>
> fooler.
>
>
ER
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph
_____________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit
http://www.Hi-Speed.net.au
________________________________________________________________________
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.hi-speed.net.au
________________________________________________________________________
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

