LINUX.ORG.RU

История изменений

Исправление Turbid, (текущая версия) :

$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 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
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP qlen 1000
    link/ether d0:27:88:0f:a5:f2 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 78:e4:00:ee:32:8c brd ff:ff:ff:ff:ff:ff
4: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether d0:27:88:0f:a5:f2 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.5/24 brd 192.168.0.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fe80::d227:88ff:fe0f:a5f2/64 scope link
       valid_lft forever preferred_lft forever
5: lxcbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether de:30:7b:e8:31:76 brd ff:ff:ff:ff:ff:ff
    inet 10.0.3.1/24 brd 10.0.3.255 scope global lxcbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::dc30:7bff:fee8:3176/64 scope link
       valid_lft forever preferred_lft forever
7: veth72A0VK: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP qlen 1000
    link/ether fe:ca:9c:69:c0:18 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fcca:9cff:fe69:c018/64 scope link
       valid_lft forever preferred_lft forever
$ ip r
default via 192.168.0.1 dev br0
10.0.3.0/24 dev lxcbr0  proto kernel  scope link  src 10.0.3.1
192.168.0.0/24 dev br0  proto kernel  scope link  src 192.168.0.5
$ brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.d027880fa5f2       no              eth0
                                                        vethCOKHOE
lxcbr0          8000.000000000000       no

Исходная версия Turbid, :

$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 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
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP qlen 1000
    link/ether d0:27:88:0f:a5:f2 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 78:e4:00:ee:32:8c brd ff:ff:ff:ff:ff:ff
4: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether d0:27:88:0f:a5:f2 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.5/24 brd 192.168.0.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fe80::d227:88ff:fe0f:a5f2/64 scope link
       valid_lft forever preferred_lft forever
5: lxcbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether de:30:7b:e8:31:76 brd ff:ff:ff:ff:ff:ff
    inet 10.0.3.1/24 brd 10.0.3.255 scope global lxcbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::dc30:7bff:fee8:3176/64 scope link
       valid_lft forever preferred_lft forever
7: veth72A0VK: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP qlen 1000
    link/ether fe:ca:9c:69:c0:18 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fcca:9cff:fe69:c018/64 scope link
       valid_lft forever preferred_lft forever
$ ip r
default via 192.168.0.1 dev br0
10.0.3.0/24 dev lxcbr0  proto kernel  scope link  src 10.0.3.1
192.168.0.0/24 dev br0  proto kernel  scope link  src 192.168.0.5