LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-26-2003, 12:51 PM   #1
EVIL_ted
LQ Newbie
 
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
multi ips on one nic


i'm setting up a server to run ircd accounts on i got a prob with getting extra ips on one nic card i need to figure out how to get my host to assign the extra ips to my nic if anyone has an idea please let me know have tried a few different things with no sucess i run red hat 8.0 ty
 
Old 06-26-2003, 04:57 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,535

Rep: Reputation: 148Reputation: 148
Something like
ifconfig eth0:1 192.168.1.1
 
Old 06-27-2003, 03:49 AM   #3
soob
Member
 
Registered: May 2003
Location: A country town, Australia
Distribution: Debian
Posts: 72

Rep: Reputation: 15
Like mara said. Then you need to add a route, something like:

route add -host 192.168.1.1 dev eth0:1

http://www.ibiblio.org/pub/Linux/doc.../IP-Alias.html
 
  


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
2 DHCP IPs, one NIC? lil_drummaboy Linux - Networking 1 10-24-2005 03:36 PM
Multiple IPs on one NIC - How to use them all? MG-Cloud Linux - Networking 4 10-03-2005 02:28 AM
Webmin - Multi IPs / MySQL Snipersnest Linux - Software 1 09-25-2005 08:42 AM
2 IPs on 1 NIC mephitic Linux - Networking 6 07-19-2004 02:39 PM
multiple IPs, one nic v4lu3s Linux - Networking 4 02-07-2004 10:52 AM


All times are GMT -5. The time now is 02:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration