LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2006, 04:54 PM   #1
rogee
LQ Newbie
 
Registered: Feb 2006
Posts: 19

Rep: Reputation: 0
Add Private ip


Hi, me again :P

A questions: I have an eggdrop bot and i would like it to use one of my additional ip's rather than my main ip, how would i go about doing this ?

Bests Regards

Rogee
 
Old 03-06-2006, 06:57 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Do you have an additional port on your NIC? If so, 'ifconfig eth1 <ip address> <netmask> up'

-twantrd
 
Old 03-07-2006, 07:48 AM   #3
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,397
Blog Entries: 1

Rep: Reputation: 64
You may add a second ip address to the eth0.
Code:
# ifconfig eth0:eggdrop inet <your-addr-here> netmask <net-mask-here>
In the above you create a alias "eggdrop" to eth0. May be you want some more "neutral" alias, so, just use "eth0:1".

cheers,
 
Old 03-07-2006, 01:38 PM   #4
rogee
LQ Newbie
 
Registered: Feb 2006
Posts: 19

Original Poster
Rep: Reputation: 0
you da maan!

You guys are absoloutley fantastic! it worked! thanks alot guys!
 
  


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
add CD-ROM? add Floppy? Devices? Kelphyr Slackware 5 10-10-2004 06:17 PM
kdevelop add folder and add new class is slow edwardt Programming 0 03-03-2004 06:04 PM
any way to add private ioctls? lithium88 Linux - Wireless Networking 0 02-22-2004 11:53 AM
Cant add MySQL through add/remove programs Hero Doug Fedora 6 01-03-2004 10:35 PM
Miss Match IP Add and Adapter Add. ???? hitesh_linux Linux - Networking 5 02-08-2003 01:34 PM


All times are GMT -5. The time now is 12:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration