1. 03 Oct, 2012 2 commits
    • Petr Písař's avatar
      iproute2: List interfaces without net address by default · 7f747fd9
      Petr Písař authored
      This fixes regression in iproute2-3.5.1 when `ip addr show' skipped
      interfaces without network layer address.
      
      Wrong output:
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
          inet6 ::1/128 scope host
             valid_lft forever preferred_lft forever
      2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
          link/ether 00:50:54:00:0f:03 brd ff:ff:ff:ff:ff:ff
          inet 10.34.25.198/23 brd 10.34.25.255 scope global eth0
          inet6 2620:52:0:2219:250:54ff:fe00:f03/64 scope global dynamic
             valid_lft 2591919sec preferred_lft 604719sec
          inet6 fe80::250:54ff:fe00:f03/64 scope link
             valid_lft forever preferred_lft forever
      
      Expected output:
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
          inet6 ::1/128 scope host
             valid_lft forever preferred_lft forever
      2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
          link/ether 00:50:54:00:0f:03 brd ff:ff:ff:ff:ff:ff
          inet 10.34.25.198/23 brd 10.34.25.255 scope global eth0
          inet6 2620:52:0:2219:250:54ff:fe00:f03/64 scope global dynamic
             valid_lft 2591896sec preferred_lft 604696sec
          inet6 fe80::250:54ff:fe00:f03/64 scope link
             valid_lft forever preferred_lft forever
      5: veth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
          link/ether 8a:ec:35:34:1f:a8 brd ff:ff:ff:ff:ff:ff
      6: veth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
          link/ether 2e:97:ef:77:40:82 brd ff:ff:ff:ff:ff:ff
      Signed-off-by: default avatarPetr Písař <ppisar@redhat.com>
      7f747fd9
    • Stephen Hemminger's avatar
      l2tp: remove references to old bridge utils · ec72fd73
      Stephen Hemminger authored
      Can no manage interfaces with ip no need to invoke old brctl
      ec72fd73
  2. 01 Oct, 2012 5 commits
  3. 24 Sep, 2012 1 commit
    • Werner Fink's avatar
      Change how pdf doc's are created · 0ecf26fc
      Werner Fink authored
       Currently the pdf docs are done with
          sgml -> sgmltool -> tex -> latex -> dvi -> dvips -> ps -> ps2pdf -> pdf
       or
          tex -> latex -> dvi -> dvips -> ps -> ps2pdf -> pdf
       with this patch we do
          sgml -> sgmltool -> tex -> pdflatex -> pdf
       or
          tex -> pdflatex -> pdf
      0ecf26fc
  4. 17 Sep, 2012 3 commits
  5. 14 Sep, 2012 1 commit
  6. 11 Sep, 2012 3 commits
  7. 10 Sep, 2012 1 commit
    • Li Wei's avatar
      iproute2: tc.8: update UNITS section. · 8325daf7
      Li Wei authored
      - rename section UNITS to PARAMETERS.
      - break section PARAMETERS down to four subsections to cover the
        common used parameter types(RATES, TIMES, SIZES, VALUES).
      - add some explaination for IEC units in RATES.
      - point out the max value we can set for RATES, TIMES and SIZES.
      Signed-off-by: default avatarLi Wei <lw@cn.fujitsu.com>
      8325daf7
  8. 07 Sep, 2012 3 commits
  9. 04 Sep, 2012 1 commit
  10. 27 Aug, 2012 2 commits
  11. 25 Aug, 2012 2 commits
    • Stephen Hemminger's avatar
      Install all tc and ip sub pages · 5147af5a
      Stephen Hemminger authored
      Add missing entries in Makefile
      5147af5a
    • John Fastabend's avatar
      iproute2: Add FDB print and update cmds for self and master · dc6a6a25
      John Fastabend authored
      Add command to update and print FDB entries with NTF_SELF and
      NTF_MASTER set.
      
      Example usages illustrating use of 'self' to program embedded
      forwarding table and 'master' to configure the forwarding table
      of the bridge. Also shows 'master self' used to update both in
      the same command.
      
      #./br/br fdb add 00:1b:21:55:23:60 dev eth3 self
      #./br/br fdb add 00:1b:21:55:23:60 dev eth3 master
      #./br/br fdb add 00:1b:21:55:23:61 dev eth3 self master
      #./br/br fdb add 00:1b:21:55:23:62 dev eth3
      #./br/br fdb show
      eth3    00:1b:21:55:23:60       local self
      eth3    00:1b:21:55:23:61       local self
      eth3    33:33:00:00:00:01       local self
      eth3    01:00:5e:00:00:01       local self
      eth3    33:33:ff:55:23:59       local self
      eth3    01:00:5e:00:00:fb       local self
      eth33   33:33:00:00:00:01       local self
      eth34   33:33:00:00:00:01       local self
      eth3    00:1b:21:55:23:59       local master
      eth3    00:1b:21:55:23:60       static master
      eth3    00:1b:21:55:23:62       static master
      eth3    00:1b:21:55:23:61       static master
      Signed-off-by: default avatarJohn Fastabend <john.r.fastabend@intel.com>
      dc6a6a25
  12. 21 Aug, 2012 1 commit
  13. 20 Aug, 2012 6 commits
  14. 17 Aug, 2012 2 commits
  15. 16 Aug, 2012 1 commit
  16. 13 Aug, 2012 4 commits
    • Florian Westphal's avatar
      add ematch man page · c487348a
      Florian Westphal authored
      c487348a
    • Florian Westphal's avatar
      tc: add ipset ematch · 8194411a
      Florian Westphal authored
      example usage:
      tc filter add dev $dev parent $id: basic match not ipset'(foobar src)' ..
      
      also updates iproute2/ematch_map, else tc complains:
      Error: Unable to find ematch "ipset" in /etc/iproute2/ematch_map
      Please assign a unique ID to the ematch kind the suggested entry is:
              8       ipset
      
      when trying to use this ematch.
      
      (text ematch (5) only exists in kernel, a vlan ematch (6) exists neither in
       kernel nor userspace, but kernel headers define TCF_EM_VLAN == 6).
      8194411a
    • Mike Frysinger's avatar
      Fix regression with 'ip address show' · af9d406f
      Mike Frysinger authored
      `ip a s` no longer shows addresses since 3.4.0 works, but 3.5.0,
      
      the simple test case:
      make clean && make -j -s && ./ip/ip a s lo
      
      before that change, i would get:
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
          inet6 ::1/128 scope host
             valid_lft forever preferred_lft forever
      
      but after, i now get:
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      
      seems like the bug was introduced in the middle of that patch:
      
      -	if (filter.family != AF_PACKET) {
      +	if (filter.family && filter.family != AF_PACKET) {
      +		if (filter.oneline)
      +			no_link = 1;
      +
       		if (rtnl_wilddump_request(&rth, filter.family, RTM_GETADDR) < 0) {
       			perror("Cannot send dump request");
       			exit(1);
      
      if i revert the change to the if statement there, `ip a s` works for me again.
      af9d406f
    • Xose Vazquez Perez's avatar
      Fix Makefile's · 6d10827c
      Xose Vazquez Perez authored
      Missing space in man8 Makefile and install bridge command with
      correct name
      6d10827c
  17. 01 Aug, 2012 2 commits