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 05-14-2005, 10:59 AM   #1
pingu_penguin
Member
 
Registered: Aug 2004
Location: pune
Distribution: Slackware
Posts: 350

Rep: Reputation: 60
assigning multiple ip's to nic ?


in windows xp n 2k u can assign a network card multiple ip's by

network properties -> tcp/ip properties -> "advanced" button


is it possible to assign multiple ips to a nic in linux ?
if so how do i do it ?

im on fedora core 3


thx in advance
 
Old 05-14-2005, 01:54 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You can use:
ifconfig eth0 add new.ip.addr.ess
 
Old 05-14-2005, 09:00 PM   #3
javaroast
Member
 
Registered: Apr 2005
Posts: 131

Rep: Reputation: 19
ip addr

Or use:

ip addr add xxx.xxx.xxx.xxx/xx /dev/ethx

to add it each time you but add this line to

/etc/rc.d/rc.local
 
  


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
assigning ip's to multiple NIC's in a Fedora Core 4 box vinnypie Linux - Networking 4 11-23-2005 03:21 PM
IPTables - Multiple Public IP's to private IP's matneyc Linux - Security 8 05-27-2005 12:23 PM
Multiple ip's for same NIC hvdwatt Linux - Newbie 5 08-03-2003 04:33 AM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - Software 0 06-19-2003 09:50 AM
Multiple IP's on the 1 NIC dicka_j Linux - Hardware 4 04-07-2003 11:49 PM

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

All times are GMT -5. The time now is 09:08 PM.

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