Share your knowledge at the LQ Wiki.
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, 09:24 PM   #1
Registered: Jul 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-27-2003, 12:43 AM   #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-27-2003, 12:52 AM   #3
Registered: Jul 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 11:03 PM
IP aliasing joseph Linux - General 2 09-01-2003 11:33 PM
IP aliasing lackofcare Linux - Networking 0 07-18-2003 03:10 AM
IP Aliasing nyek Linux - Networking 2 12-26-2001 08:36 PM
ip aliasing iquadri1 Linux - Networking 0 09-29-2001 03:04 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:28 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