On Tue, 15 Apr 2014 11:32:16 +0100 Laurence Gill <[email protected]>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Package: ifupdown
> 
> Version: 0.7.8
> 
> 
> Does anyone know when the fixed ifupdown package (0.7.48.1?) will be
> available in wheezy-backports?
> 
> I have the same issue with using vlans and ucarp:
> 
> 
> root@test:~# ifquery -l -v 
> lo
> eth2.40
> eth2.10
> eth3.90
> 
> root@test:~# ifquery -v eth2.40
> Querying interface eth2.40=eth2.40 (inet)
> address: 10.1.40.252
> network: 10.1.40.0
> netmask: 255.255.255.0
> broadcast: 10.1.40.255
> vlan-raw-device: eth2
> ucarp-vid: 40
> ucarp-vip: 10.1.40.254
> ucarp-password: secretpassword
> ucarp-advskew: 10
> ucarp-master: yes
> 
> root@test:~# ifquery -v eth2.40:ucarp
> Querying interface eth2.40:ucarp=eth2.40:ucarp (inet)
> address: 10.1.40.254
> netmask: 255.255.255.255
> broadcast: 10.1.40.254
> 
> root@test:~# ip addr show eth2.40
> 6: eth2.40@eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
> noqueue state UP link/ether 90:e2:ba:64:f3:60 brd ff:ff:ff:ff:ff:ff
>     inet 10.1.40.252/24 brd 10.1.40.255 scope global eth2.40
>     inet 10.1.40.254/32 brd 10.1.40.254 scope global eth2.40:ucarp
>     inet6 fe80::92e2:baff:fe64:f360/64 scope link 
>        valid_lft forever preferred_lft forever
> 
> root@test:~# ifdown -v eth2.40:ucarp
> Configuring interface eth2.40:ucarp=eth2.40:ucarp (inet)
> run-parts --verbose /etc/network/if-down.d
> run-parts: executing /etc/network/if-down.d/sendmail
> run-parts: executing /etc/network/if-down.d/upstart
> 
> ip -4 addr flush dev eth2.40:ucarp label eth2.40:ucarp
> run-parts --verbose /etc/network/if-post-down.d
> run-parts: executing /etc/network/if-post-down.d/sendmail
> run-parts: executing /etc/network/if-post-down.d/vlan
> ip link del eth2.40:ucarp
> 
> root@test:~# ip addr show eth2.40

Hi,

actually we should file a different bug for it as it is actually an iproute(2)
problem.
The problem here is (I do have the same issues):
ip link del eth2.40:ucarp will also bring down / delete the underlaying
interface eth2.40. IMHO ip shouldn't touch the underlaying interface.


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to