Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@nethost ~]# ip netns exec qrouter-7573b61c-1cb2-43bc-8296-421e319d2bd0 ifconfig
- lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
- inet 127.0.0.1 netmask 255.0.0.0
- inet6 ::1 prefixlen 128 scopeid 0x10<host>
- loop txqueuelen 0 (Local Loopback)
- RX packets 0 bytes 0 (0.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 0 bytes 0 (0.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- qg-8d652de9-58: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 10.2.57.68 netmask 255.255.255.0 broadcast 10.2.57.255
- inet6 fe80::f816:3eff:fe4e:b045 prefixlen 64 scopeid 0x20<link>
- ether fa:16:3e:4e:b0:45 txqueuelen 0 (Ethernet)
- RX packets 1027 bytes 67477 (65.8 KiB)
- RX errors 0 dropped 11 overruns 0 frame 0
- TX packets 45 bytes 2334 (2.2 KiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- qr-1a0e7fd7-63: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255
- inet6 fe80::f816:3eff:feac:4843 prefixlen 64 scopeid 0x20<link>
- ether fa:16:3e:ac:48:43 txqueuelen 0 (Ethernet)
- RX packets 3 bytes 230 (230.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 10 bytes 864 (864.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- [root@nethost ~]#
- [root@nethost ~]# ip netns exec qdhcp-f8bdf250-d08f-467a-a073-003ea3165c5d ifconfig
- lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
- inet 127.0.0.1 netmask 255.0.0.0
- inet6 ::1 prefixlen 128 scopeid 0x10<host>
- loop txqueuelen 0 (Local Loopback)
- RX packets 0 bytes 0 (0.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 0 bytes 0 (0.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- tap270c51fa-76: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 10.0.0.101 netmask 255.255.255.0 broadcast 10.0.0.255
- inet6 fe80::f816:3eff:fee8:3cd7 prefixlen 64 scopeid 0x20<link>
- ether fa:16:3e:e8:3c:d7 txqueuelen 0 (Ethernet)
- RX packets 9 bytes 782 (782.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 3 bytes 258 (258.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- [root@nethost ~]#
- [root@nethost ~]# ping -c 1 10.0.0.1
- PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
- 64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.624 ms
- --- 10.0.0.1 ping statistics ---
- 1 packets transmitted, 1 received, 0% packet loss, time 0ms
- rtt min/avg/max/mdev = 0.624/0.624/0.624/0.000 ms
- [root@nethost ~]# ping -c 1 10.0.0.101
- PING 10.0.0.101 (10.0.0.101) 56(84) bytes of data.
- From 10.0.0.2 icmp_seq=1 Destination Host Unreachable
- --- 10.0.0.101 ping statistics ---
- 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
- [root@nethost ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement