[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

setting up virtual IPs 3.0 woody



Hi,

 This is my first post to the list and you guessed it, I have a
 question.

 I have debian 3.0 "woody" installed and working but I cannot get
 virtual IPs setup.

 uname -a gives

 Linux adebbox 2.2.20-idepci #1 Sat Apr 20 12:45:19 EST 2002 i686 unknown
 
 I have tried adding the following to /etc/network/interfaces

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
        address 172.25.199.112
        netmask 255.255.255.0
        network 172.25.199.0
        broadcast 172.25.199.255
        gateway 172.25.199.144

auto eth0:1
iface eth0:1 inet static
        address 172.25.199.122
        netmask 255.255.255.0
        network 172.25.199.0
        broadcast 172.25.199.255
        gateway 172.25.199.144


 As well as trying it from the command line:

ifconfig eth0:1 172.25.199.122 netmask 255.255.255.0 broadcast 172.25.199.255

  on both occasions I get errors like:

SIOCSIFADDR: No such device
SIOCSIFFLAGS: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
SIOCSIFFLAGS: No such device

 I have tried google and the debian lists archive and I see answers
 along the lines of

 recompile the kernel with CONFIG_IP_ALIAS=y

 or
 
 modprobe ip_alias

 
 Can anyone confirm that I need to re-compile the kernel in order to get
 it working or how I can get hold of the ip_alias module?

 I tried modprobe ip_alias
 which gives:
 modprobe: Can't locate module ip_alias

 
Many Thanks,

Sil



Reply to: