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

virtual interfaces not routing properly.



G'day all,
I need some help..

I am trying to get Squeeze ( 6.0.3 AMD64) to have a few virtual
interfaces so I can setup some SSL sites in apache.
But its not working out side the same subnet (i.e. routing is wrong) 
I have tried all combination of settings I can think of in
/etc/network/interfaces
but nothing seems to work. 

I have this working on a few Lenny machines, am I doing something wrong?

/etc/network/interfaces
auto lo eth0 eth0:0 eth0:1 eth0:2
iface eth0 inet static
        address 10.25.48.140
        netmask 255.255.255.0
        network 10.25.48.0
        gateway 10.25.48.254

iface eth0:0 inet static
        address 10.25.48.141
        netmask 255.255.255.0

iface eth0:1 inet static
        address 10.25.48.142
        netmask 255.255.255.0

iface eth0:2 inet static
        address 10.25.48.145
        netmask 255.255.255.0



---Gareth


Reply to: