-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Package: ifupdown
Version: 0.7.54
Severity: wishlist

If /etc/network/interfaces defines 2 protocols for one interface,
then a tiny problem for one protocol can affect both. Sample config
to show:

        auto eth0

        iface eth0 inet6 static
                address 2001:db8::ae
                netmask 64
                gateway 2001:db8::1
                up false
                # this is done on purpose, just to show

        iface eth0 inet static
                address 192.168.1.174
                netmask 255.255.255.0
                gateway 192.168.1.1

Result:

        # ip a s eth0
        14: eth0@if15: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc 
pfifo_fast state UP group default qlen 1000
            link/ether 00:16:8e:2e:a7:4f brd ff:ff:ff:ff:ff:ff link-netnsid 0
            inet6 2001:db8::ae/64 scope global
               valid_lft forever preferred_lft forever
            inet6 fe80::216:8eff:fe2e:a74f/64 scope link
               valid_lft forever preferred_lft forever

The "inet" part is missing. If I swap IPv4 and IPv6, then I get a
similar result.

IMU a config problem for one protocol should not affect the others by
default.

I know the man page can be read like that. Nevertheless, it is still
unexpected, especially since the config file syntax seems to indicate
separate configuration items.


Regards
Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWPt3dAAoJEAqeKp5m04HL7gEH/RZ79aynu+/Kky6KuoZomXK/
l8M0k/qUX8/jG2w+wlLzafGd3tthLAiLzoGu5zFsI3U5zE58JypJ2WdqBYEY99Hl
HCJ8sR+7JCoHYJHoy2BcdULU+2+OU6S7Ig6bbpUZ/q9lnARK5I7LK1VaGbi/Osxg
Un6ZmnJvHTcbAk9XZpCNj81RO8GOtWDQ1sq2XCu7eAcgaJyw352QLs9OVybt17Ng
HeaSatRRSlioL2tm0uwUzlSGsS9Txnb+Xgy1P8Ld/Ki7ehcuP5bAHK8Po7sD9AYX
Aqz3fWI4fJmgsc4/uTEiA+UKvWIAFDbP8gmDDCpFFWS5BPPFFHXinRCLRu67Yg0=
=7Fn/
-----END PGP SIGNATURE-----

Reply via email to