Inle - 2008-08-26

Hi I want to have ip alias over a bond interface.

I use debian etch with  two nics 3C905c. each connected to a diferent switch(hp procurve 2626)

the bonding mode is 5 I added this into /etc/modprobe.d/aliases

alias bond0 bonding
options bond0 miimon=200 mode=5

/etc/network/interfaces  has:

auto lo
iface lo inet loopback

# The primary network interface
auto bond0
iface bond0 inet static
        hwaddress ether 02:00:00:00:00:01
        address 192.168.254.70
        network 192.168.254.0
        netmask 255.255.255.0
        broadcast 192.168.254.255
        gateway 192.168.254.251
        slaves eth4 eth5
auto bond0:0
iface bond0:0 inet static
        address 192.168.254.71
        netmask 255.255.255.0
       
auto bond0:1
iface bond0:1 inet static
        address 192.168.254.72
        netmask 255.255.255.0

If I do ifconfig bond0:0
it shows:

bond0:0   Link encap:Ethernet  HWaddr 02:00:00:00:00:01
          inet addr:192.168.254.71  Bcast:212.44.254.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1

I can ping it locallly but not from the outside of the network , but I can ping bond0
In other words for the outside bond0:0 & bond0:1 do not exist.

Any idea??
Thanks