# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:90:8B:D8
inet addr:192.168.56.130 Bcast:192.168.56.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe90:8bd8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1613 errors:0 dropped:0 overruns:0 frame:0
TX packets:1116 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:138406 (135.1 KiB) TX bytes:154219 (150.6 KiB)
eth1 Link encap:Ethernet HWaddr 08:00:27:DF:F2:A8
inet addr:192.168.20.68 Bcast:192.168.20.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fedf:f2a8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:49960 errors:0 dropped:0 overruns:0 frame:0
TX packets:143 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3034405 (2.8 MiB) TX bytes:14522 (14.1 KiB)
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:16436 Metric:1
RX packets:601 errors:0 dropped:0 overruns:0 frame:0
TX packets:601 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1902108 (1.8 MiB) TX bytes:1902108 (1.8 MiB)
# vi /etc/modprobe.conf
alias net-pf-10 off
alias ipv6 off
options ipv6 disable=1
# init 6
# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:90:8B:D8
inet addr:192.168.56.130 Bcast:192.168.56.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:190 errors:0 dropped:0 overruns:0 frame:0
TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17502 (17.0 KiB) TX bytes:12686 (12.3 KiB)
eth1 Link encap:Ethernet HWaddr 08:00:27:DF:F2:A8
inet addr:192.168.20.68 Bcast:192.168.20.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31295 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1890282 (1.8 MiB) TX bytes:7993 (7.8 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:590 errors:0 dropped:0 overruns:0 frame:0
TX packets:590 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1896116 (1.8 MiB) TX bytes:1896116 (1.8 MiB)
'Linux > CentOS & RHEL' 카테고리의 다른 글
[Network] Ethtool를 이용한 NIC Ring값의 변경방법 (0) | 2020.09.17 |
---|---|
[Tip] Local NTP 구성 (0) | 2020.09.11 |
[Tip] CentOS / RHEL 6.x HBA카드(FC카드) 정보 조회 (0) | 2020.09.09 |
[Tip] CentOS / RHEL 7.x 언어셋 변경 (0) | 2020.09.09 |
[Tip] tar 절대경로 파일 → 상대경로로 풀기 (0) | 2020.09.07 |