-
-
Save nitay/24047d97266b41c23d25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@m1:~# salt-call grains.get ipv4 | |
local: | |
- 10.0.3.1 | |
- 127.0.0.1 | |
- 172.17.42.1 | |
- 172.31.7.200 | |
root@m1:~# ifconfig -a | |
docker0 Link encap:Ethernet HWaddr 56:84:7a:fe:97:99 | |
inet addr:172.17.42.1 Bcast:0.0.0.0 Mask:255.255.0.0 | |
inet6 addr: fe80::5484:7aff:fefe:9799/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:9001 Metric:1 | |
RX packets:7886 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:10914 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:11302444 (11.3 MB) TX bytes:1663483 (1.6 MB) | |
eth0 Link encap:Ethernet HWaddr 0e:fc:73:33:d2:ed | |
inet addr:172.31.7.200 Bcast:172.31.15.255 Mask:255.255.240.0 | |
inet6 addr: fe80::cfc:73ff:fe33:d2ed/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:9001 Metric:1 | |
RX packets:2163930738 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:1430207728 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:2907115114599 (2.9 TB) TX bytes:1092487286612 (1.0 TB) | |
lo Link encap:Local Loopback | |
inet addr:127.0.0.1 Mask:255.0.0.0 | |
inet6 addr: ::1/128 Scope:Host | |
UP LOOPBACK RUNNING MTU:65536 Metric:1 | |
RX packets:105354023 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:105354023 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:13902801179 (13.9 GB) TX bytes:13902801179 (13.9 GB) | |
lxcbr0 Link encap:Ethernet HWaddr de:d9:91:85:fc:17 | |
inet addr:10.0.3.1 Bcast:10.0.3.255 Mask:255.255.255.0 | |
inet6 addr: fe80::dcd9:91ff:fe85:fc17/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:0 (0.0 B) TX bytes:10488 (10.4 KB) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment