LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-20-2001, 09:29 PM   #1
nyek
LQ Newbie
 
Registered: Dec 2001
Distribution: Red Hat Linux 7.2
Posts: 2

Rep: Reputation: 0
Question IP Aliasing


Good day! =)

Is IP aliasing possible in Red Hat Linux? I have version 7.2. If it is possible, how can it be done?

Thanks in advance! =)
 
Old 12-24-2001, 09:09 AM   #2
xanthium
Member
 
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218

Rep: Reputation: 30
IP aliasing ?

Hi ,

I guess u want one network interface to have multiple address ?
if so then this how u do it :

u should use the comman ipconfig to do it ... as mentioned below:

ipconfig eth0:1 192.168.1.2

Here eth0 is ur first network interface and iam creating second alias i.e; eth0:1 with the necessary IP address.

Also if ur using RedHat there is alternate method .... u can copy the file /etc/sysconfig/network-scripts/ifcfg-eth0 into the same directory with the name ifcfg-eth0:1 and make edit it to give it another ipaddress ....... however u will need to restart the network in both the cases .



Hope this works.

Regards

Xanthium.
 
Old 12-26-2001, 07:36 PM   #3
nyek
LQ Newbie
 
Registered: Dec 2001
Distribution: Red Hat Linux 7.2
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you so much for the tip!!!!
 
  


Reply



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 - Software 2 09-26-2003 11:52 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 iquadri1 Linux - Networking 0 09-29-2001 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:19 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
Open Source Consulting | Domain Registration