LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-23-2004, 06:16 PM   #1
blackhound
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Rep: Reputation: 0
Angry multiple ip address for single eth interface


hellow
can anyoe help me about assigning multiple ip address for single ethernet interface?
 
Old 02-23-2004, 07:05 PM   #2
slacky
Member
 
Registered: Feb 2004
Location: USA
Distribution: Debian
Posts: 174

Rep: Reputation: 16
You can just use ifconfig and append a colon and a number (eth0:0) or nickname (eth0:test) to the device name, for example:

[root@dhcppc0 root]# ifconfig eth0:test 192.168.0.175 broadcast 192.168.0.255 netmask 255.255.255.0 up

I'm not sure of the distro-specific ways to permanently save this, though.
 
Old 02-25-2004, 06:02 AM   #3
blackhound
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Original Poster
Rep: Reputation: 0
thanx slacky .tahnx a lot
 
  


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
multiple NICs using e1000 module.. eth[x] order geno976 Slackware 4 04-26-2008 11:36 PM
Multiple IP address/gateways single nic 1192bo Linux - Networking 2 11-15-2005 07:51 AM
v-noob: connecting two pc's through eth interface garba Linux - Networking 3 06-14-2005 07:12 AM
bypass local prerouting route for external eth interface? tblack Linux - Networking 1 09-27-2004 03:47 PM
How to bring eth interface up correctly? cold Linux - Networking 2 06-18-2004 02:40 AM


All times are GMT -5. The time now is 06:54 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