LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-26-2003, 09:24 PM   #1
joseph
Member
 
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
bmahesh
Member
 
Registered: Sep 2003
Location: Bangalore
Distribution: RedHat , Debian
Posts: 42

Rep: Reputation: 15
hi
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
regards
Mahesh
 
Old 09-27-2003, 12:52 AM   #3
joseph
Member
 
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?
 
  


Reply


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


All times are GMT -5. The time now is 01:47 AM.

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