Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-26-2003, 08:24 PM   #1
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
Ip Aliasing

Dear Guys,

Have you got any idea, can i use one ethernet card with two IP (one is public and one is virtual) and running proxy server ?

I never tried this before ?

Can you give me some hunts?
Old 09-26-2003, 11:43 PM   #2
Registered: Sep 2003
Location: Bangalore
Distribution: RedHat , Debian
Posts: 42

Rep: Reputation: 15
you can have two ip to a single card.

to assign:
ifconfig ethX:0 ipaddress netmask 255.*.*.* broadcast *.*.*.255 up

Note: ethX can be eth0,eth1 etc.

You can assign more ip's for ethX:1,ethX:2 ....... etc
Old 09-26-2003, 11:52 PM   #3
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Original Poster
Rep: Reputation: 30
Dear bmahesh,

I understand that one eth card can assigned with two IP address, and i know how to do that.

But that is not the answer, i want to know whether when i assign virtual IP to my server which have public IP, will it work with my squid? coz squid will listen to internal IP request, so it need a VIRTUAL IP too.

Is it right?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to do IP aliasing in slackware 10. jml75 Slackware 3 09-04-2004 10:03 PM
IP aliasing joseph Linux - General 2 09-01-2003 10:33 PM
IP aliasing lackofcare Linux - Networking 0 07-18-2003 02:10 AM
IP Aliasing nyek Linux - Networking 2 12-26-2001 07:36 PM
ip aliasing iquadri1 Linux - Networking 0 09-29-2001 02:04 PM

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration