Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------------------------
- 192.168.241.110 kvm-sn-10i
- --------------------------
- $ ntpdate-debian 192.168.241.100
- 19 Mar 19:05:53 ntpdate[41511]: adjust time server 192.168.241.100 offset -0.000169 sec
- $ sysctl net.ipv4.ip_forward
- net.ipv4.ip_forward = 1
- $ ip addr show | egrep "^([0-9]| *link| *inet ")
- 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
- 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
- link/ether bc:30:5b:ef:ed:d0 brd ff:ff:ff:ff:ff:ff
- inet 192.168.241.110/24 brd 192.168.241.255 scope global eth0
- 3: eth1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
- link/ether bc:30:5b:ef:ed:d1 brd ff:ff:ff:ff:ff:ff
- 4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
- link/ether bc:30:5b:ef:ed:d2 brd ff:ff:ff:ff:ff:ff
- 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
- link/ether bc:30:5b:ef:ed:d3 brd ff:ff:ff:ff:ff:ff
- 7: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
- link/ether da:4d:47:2f:98:42 brd ff:ff:ff:ff:ff:ff
- 8: br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether bc:30:5b:ef:ed:d1 brd ff:ff:ff:ff:ff:ff
- inet 192.168.239.110/24 brd 192.168.239.255 scope global br-eth1
- 15: phy-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether aa:d8:03:2c:46:7d brd ff:ff:ff:ff:ff:ff
- 16: int-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether 4a:03:d7:b2:b9:6d brd ff:ff:ff:ff:ff:ff
- 17: qbr69fce85b-2f: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
- link/ether 3e:f3:74:5e:2c:38 brd ff:ff:ff:ff:ff:ff
- 18: qvo69fce85b-2f: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether 1a:4d:de:f2:e0:79 brd ff:ff:ff:ff:ff:ff
- 19: qvb69fce85b-2f: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbr69fce85b-2f state UP qlen 1000
- link/ether 3e:f3:74:5e:2c:38 brd ff:ff:ff:ff:ff:ff
- 20: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbr69fce85b-2f state UNKNOWN qlen 500
- link/ether fe:16:3e:93:58:92 brd ff:ff:ff:ff:ff:ff
- $ netstat -rn
- Kernel IP routing table
- Destination Gateway Genmask Flags MSS Window irtt Iface
- 0.0.0.0 192.168.241.1 0.0.0.0 UG 0 0 0 eth0
- 192.168.239.0 0.0.0.0 255.255.255.0 U 0 0 0 br-eth1
- 192.168.241.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
- $ ip netns show
- $ ls -R /var/run/netns; ls -R /etc/netns
- $ brctl show
- bridge name bridge id STP enabled interfaces
- br-eth1 0000.bc305befedd1 no eth1
- phy-br-eth1
- br-int 0000.da4d472f9842 no int-br-eth1
- qvo69fce85b-2f
- qbr69fce85b-2f 8000.3ef3745e2c38 no qvb69fce85b-2f
- vnet0
- $ ovs-vsctl show
- 05d6f268-a221-469a-9921-218905ca3277
- Bridge br-int
- Port "qvo69fce85b-2f"
- tag: 1
- Interface "qvo69fce85b-2f"
- Port br-int
- Interface br-int
- type: internal
- Port "int-br-eth1"
- Interface "int-br-eth1"
- Bridge "br-eth1"
- Port "br-eth1"
- Interface "br-eth1"
- type: internal
- Port "phy-br-eth1"
- Interface "phy-br-eth1"
- Port "eth1"
- Interface "eth1"
- ovs_version: "1.4.3"
- $ ping 10.0.164.1
- UP
- $ ping 192.168.241.1
- UP
- $ ping 192.168.239.1
- UP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement