1樓:死囚贖罪
個人感覺是習慣而已
ifconfig可以檢視到所有網絡卡傳送、接收丟失的包數量,以及流量。
ip addr show 命令和 ip a 命令效果一樣。
共同點都能看到 ip位址,mac位址,廣播位址,以及子網掩瑪
┌─[root@veyron] - [~] - [tue feb 14, 18:01]
└─[$] <> ip addr show
1: lo: mtu 65536 qdisc noqueue state unknown qlen 1
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: em1:
mtu 1500 qdisc mq state up qlen 1000
link/ether 78:2b:cb:2a:31:6d brd ff:ff:ff:ff:ff:ff
inet 10.200.250.221/16 brd 10.200.255.255 scope global em1
valid_lft forever preferred_lft forever
inet6 fe80::7a2b:cbff:fe2a:316d/64 scope link
valid_lft forever preferred_lft forever
3: em2: mtu 1500 qdisc mq state down qlen 1000
link/ether 78:2b:cb:2a:31:6e brd ff:ff:ff:ff:ff:ff
┌─[root@veyron] - [~] - [tue feb 14, 18:01]
└─[$] <> ip a
1: lo: mtu 65536 qdisc noqueue state unknown qlen 1
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: em1:
mtu 1500 qdisc mq state up qlen 1000
link/ether 78:2b:cb:2a:31:6d brd ff:ff:ff:ff:ff:ff
inet 10.200.250.221/16 brd 10.200.255.255 scope global em1
valid_lft forever preferred_lft forever
inet6 fe80::7a2b:cbff:fe2a:316d/64 scope link
valid_lft forever preferred_lft forever
3: em2: mtu 1500 qdisc mq state down qlen 1000
link/ether 78:2b:cb:2a:31:6e brd ff:ff:ff:ff:ff:ff
┌─[root@veyron] - [~] - [tue feb 14, 18:01]
└─[$] <> ifconfig
em1: flags=4163mtu 1500
inet 10.200.250.221 netmask 255.255.0.0 broadcast 10.200.255.255
inet6 fe80::7a2b:cbff:fe2a:316d prefixlen 64 scopeid 0x20
ether 78:2b:cb:2a:31:6d txqueuelen 1000 (ethernet)
rx packets 75176997 bytes 45512239088 (42.3 gib)
rx errors 0 dropped 227 overruns 0 frame 0
tx packets 53429119 bytes 56969436793 (53.0 gib)
tx errors 0 dropped 0 overruns 0 carrier 0 collisions 0
em2: flags=4099mtu 1500
ether 78:2b:cb:2a:31:6e txqueuelen 1000 (ethernet)
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
lo: flags=73mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1 (local loopback)
rx packets 243375 bytes 344009355 (328.0 mib)
rx errors 0 dropped 0 overruns 0 frame 0
tx packets 243375 bytes 344009355 (328.0 mib)
tx errors 0 dropped 0 overruns 0 carrier 0 collisions 0
2樓:出門在外
很多軟體公升級了改變了
ip addr show
虛擬機器最小化安裝centos 7怎麼安裝桌面
配置好yum源,然後用yum命令裝 yum groupinstall gnome desktop 1 點選新建虛擬機器,彈出新建虛擬機器嚮導,選擇稍後安裝作業系統。注意不要選擇預設選項。點選下一步。2 選擇作業系統種類,選擇linux,版本選擇centos64位。點選下一步。3 為虛擬機器命名。點選...
為什麼母雞不用交配就會生蛋,為什麼雞不用交配就可以生蛋
因為雞蛋分為兩類,一類是母雞的卵子,一類是受精卵。如果產蛋母雞如果沒有接受雄雞交配,其所產蛋的卵子停留在減數第二次 的中期,因此,這樣的每枚雞蛋 嚴格地說是蛋黃 可以看成乙個很大的細胞。如果卵子在傘部停留的大約15分鐘的時間內,與精子相遇就會完成受精過程並排出第二極體,形成受精卵。母雞是可以直接生蛋...
綠化草坪為什麼不用韭菜,城市綠化為什麼不用韭菜?
綠化草坪不用韭菜的原因有以下幾個 1.汁液多不抗踩踏,韭菜雖然也像綠化草那樣嫩綠,具有增添綠色的作用,但是韭菜的葉子汁液多,它不能夠像綠化草坪一樣,接受人們的踩踏。用於綠化的草地,無論是人們在上面行走還是坐臥,都不會產生汁液,並且只要.2.氣味大影響環境,日常用作城市綠化的綠地,除了有綠草的清新之外...