LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 04-26-2003, 01:06 PM   #1
80s
Member
 
Registered: Dec 2002
Location: Pretoria South Africa
Distribution: Mandrake 8.1 & 9 Debian Woody
Posts: 41

Rep: Reputation: 15
HELP Debian 3 (woody) wont ip alias


Not matter what i do the i can get the ip aliases to work, and i need this function cause i'm going to be hosting multiple sights.

when i use ifconfig eth0:1 x.x.x.x
i get the following errors

SIOCSIFADDR: No such device
SIOCSIFFLAGS: No such device

i have tried reinstalling to see if i missed a module that needed to be linked but no luck still no go..

but the default NIC configuration works fine. i can ping out no proble...

PLEASE HELP...
 
Old 05-10-2003, 10:07 AM   #2
taivu
LQ Newbie
 
Registered: Oct 2002
Location: Spain
Distribution: Ubuntu, Debian Sarge, FreeBSD
Posts: 19

Rep: Reputation: 0
It's been a while and I'm only on my second cup of coffee, so I may not remember all the steps correctly but looking at my setup I have:

In "/etc/network/ifstate" file:
-------------------------
lo=lo
eth0=eth0
eth0:1=eth0:1

In "/etc/network/interfaces" file:
-----------------------------------
# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
auto eth0
iface eth0 inet static
address 66.55.44.123
gateway 66.55.44.1
netmask 255.255.255.0

# Virtual interfaces, brought up at boot
auto eth0:1
iface eth0:1 inet static
address 66.55.44.123
netmask 255.255.255.0
broadcast 66.55.44.255

-----
Now, if I am not terribly mistaken, adding the info of eth0:1 into these two files then rebooting (to see if eth0:1 comes up automagically after a boot) was all there was to it.

I do remember trying ifconfig on a command line, just as I have done in Gentoo or NetBSD, but had some sort of an error message, cannot remember what though.

Let us know how it goes....

(Edit: I just noticed that I replied to a post that was rather old, but I hope this will be of some use to someone)

Last edited by taivu; 05-10-2003 at 10:09 AM.
 
  


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
Debian Woody 3.02 wont recognize RealTech8139 NIC - 8139too BillBlalock Linux - Networking 17 03-15-2004 09:23 PM
Several Debian Woody problems FlyingMoose Linux - Hardware 2 01-07-2004 05:51 PM
Debian Woody Streams Linux - Newbie 3 08-18-2003 05:33 PM
debian(woody)/x help majesticsock Linux - Newbie 7 08-10-2003 07:44 PM
X wont start-Debian woody AlanL Linux - Newbie 0 02-02-2003 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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