반응형
#ifconfig
nadahacker@nada_ubuntu:~$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.19 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::215:5dff:fe00:1002 prefixlen 64 scopeid 0x20<link>
ether 00:15:5d:00:10:02 txqueuelen 1000 (Ethernet)
RX packets 32453 bytes 5496717 (5.4 MB)
RX errors 0 dropped 4113 overruns 0 frame 0
TX packets 745 bytes 98539 (98.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
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 1000 (Local Loopback)
RX packets 138 bytes 10844 (10.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 138 bytes 10844 (10.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
nadahacker@nada_ubuntu:~$
#ip addr show
nadahacker@nada_ubuntu:~$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
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 mq state UP group default qlen 1000
link/ether 00:15:5d:00:10:02 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.19/24 brd 192.168.0.255 scope global dynamic eth0
valid_lft 5287sec preferred_lft 5287sec
inet6 fe80::215:5dff:fe00:1002/64 scope link
valid_lft forever preferred_lft forever
nadahacker@nada_ubuntu:~$
반응형
'프로그래밍 > 잡동산이' 카테고리의 다른 글
[리눅스] 우분투 root 계정암호 설정 (0) | 2019.04.19 |
---|---|
[Hyperledger-fabric] 하이퍼레저 패브릭 설치 및 세팅 v1.2 (0) | 2019.04.09 |
[리눅스] 우분투 ssh 설치 (0) | 2019.04.06 |
리눅스 백그라운드 작업 nohup (0) | 2019.04.06 |
리눅스 버전확인 (0) | 2019.04.04 |