VLANを設定する(改定版)
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
目次~
#contents
*概要 [#f5e60aa7]
CentOS(5.x、6.x、7.x)にてインターフェイスにタグVLANを設...
*設定手順 [#t2fb65f5]
**VLANの有効化 [#u8ff2230]
''/etc/sysconfig/network''に以下の設定を行い、VLANを有効...
~
VLAN=yes
VLAN_NAME_TYPE=DEV_PLUS_VID_NO_PAD
~
''VLAN_NAME_TYPE''はVLAN名の記述書式を定義しており、設定...
|BGCOLOR(#CCCCCC):設定値|BGCOLOR(#CCCCCC):表記|
|VLAN_PLUS_VID|vlan0100|
|VLAN_PLUS_VID_NO_PAD|vlan100|
|DEV_PLUS_VID|eth0.0100|
|DEV_PLUS_VID_NO_PAD|eth0.100|
~
**インターフェイスの設定 [#b451a185]
以下は''eth0''に''VLAN 100''を付与場合の設定例。
***VLANインターフェイスの設定 [#sac95f7b]
''/etc/sysconfig/network-scripts''配下にVLANとIPアドレス...
ファイル名はVLAN IDと連動しているため、他の名称に変更する...
下記の事例では、VLAN 100をeth0に割り当て、172.16.2.250/16...
-ifcfg-vlan100
DEVICE=vlan100
BOOTPROTO=statics
PHYSDEV=eth0
IPADDR=172.16.2.250
NETMASK=255.255.0.0
NETWORK=172.16.0.0
ONBOOT=yes
~
|BGCOLOR(#CCCCCC):設定項目|BGCOLOR(#CCCCCC):備考|
|DEVICE|VLANインターフェイスを指定|
|BOOTPROTO|''statics''を指定|
|PHYSDEV|VLANを付与するインターフェイス名を指定|
|IPADDR|インターフェイスに付与するIPアドレスを指定|
|NETMASK|インターフェイスに付与するIPアドレスのマスクを指...
|NETWORK|インターフェイスに付与するIPアドレスのネットワー...
|ONBOOT|自動起動を有効化|
***物理インターフェイスの設定 [#k3f49af0]
''/etc/sysconfig/network-scripts''配下のインターフェイス...
-ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
HWADDR=xx:xx:xx:xx:xx:xx
~
|BGCOLOR(#CCCCCC):設定項目|BGCOLOR(#CCCCCC):備考|
|DEVICE|インターフェイスのデバイス名を指定|
|BOOTPROTO|''none''に設定することで、アドレスを付与しない...
|ONBOOT|自動起動を有効化|
|TYPE|インターフェイスのタイプを指定|
|HWADDR|インターフェイスのMACアドレスを指定。CentOS 5.x系...
***物理インターフェイス(bondig)の設定 [#k93c2289]
インターフェイスがbondingインターフェイスの場合には以下の...
-ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
~
|BGCOLOR(#CCCCCC):設定項目|BGCOLOR(#CCCCCC):備考|
|DEVICE|bondingインターフェイス名を指定|
|BOOTPROTO|''none''に設定することで、アドレスを付与しない...
|ONBOOT|自動起動を有効化|
*設定有効化 [#dd465473]
**設定の適用 [#h843cf4e]
ネットワークを再起動し、設定を有効化する。~
/etc/init.d/network restart
*設定結果例 [#sbf77f14]
**前提 [#k1a4302c]
-インターフェイス~
物理インターフェイスはeth0〜eth6~
-bondig~
bondingインターフェイスはbond0及びbond1の2つ~
bond0を構成する物理インターフェイスはeth0、eth1、eth2、et...
bond1を構成する物理インターフェイスはeth3、eth5~
-VLAN~
bond0にvlan 10を設定~
eth6にvlan 100を設定~
**設定 [#pd9afb16]
***物理インターフェイス [#m0870c16]
-ifcfg-eth0
# Intel Corporation 82571EB Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
HWADDR=xx:xx:xx:xx:xx:xx
-ifcfg-eth1
# Intel Corporation 82571EB Gigabit Ethernet Controller
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
HWADDR=xx:xx:xx:xx:xx:xx
-ifcfg-eth2
# Intel Corporation 82546EB Gigabit Ethernet Controller
DEVICE=eth2
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
HWADDR=xx:xx:xx:xx:xx:xx
-ifcfg-eth3
# Intel Corporation 82546EB Gigabit Ethernet Controller
DEVICE=eth3
BOOTPROTO=none
ONBOOT=yes
MASTER=bond1
SLAVE=yes
HWADDR=xx:xx:xx:xx:xx:xx
-ifcfg-eth4
# Intel Corporation 82546EB Gigabit Ethernet Controller
DEVICE=eth4
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
HWADDR=xx:xx:xx:xx:xx:xx
-ifcfg-eth5
# Intel Corporation 82546EB Gigabit Ethernet Controller
DEVICE=eth5
BOOTPROTO=none
ONBOOT=yes
MASTER=bond1
SLAVE=yes
HWADDR=xx:xx:xx:xx:xx:xx
-ifcfg-eth6
# Realteck RTL8169
DEVICE=eth6
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
HWADDR=xx:xx:xx:xx:xx:xx
***bondingインターフェイス [#m27a3d24]
-ifcfg-bond0
# Linux Ethernet Bonding Driver
#
DEVICE=bond0
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.1.xxx
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
GATEWAY=192.168.1.xxx
-ifcfg-bond1
# Linux Ethernet Bonding Driver
#
DEVICE=bond1
BOOTPROTO=none
ONBOOT=yes
***VLANインターフェイス [#ta2003d1]
-ifcfg-vlan10
# VLAN ID 10
#
DEVICE=vlan10
BOOTPROTO=static
ONBOOT=yes
PHYSDEV=bond1
IPADDR=192.168.10.240
NETMASK=255.255.255.0
NETWORK=192.168.10.0
BROADCAST=192.168.10.255
-ifcfg-vlan100
# VLAN ID 100
#
DEVICE=vlan100
BOOTPROTO=statics
PHYSDEV=eth6
IPADDR=172.16.2.240
NETMASK=255.255.0.0
NETWORK=172.16.0.0
ONBOOT=yes
**動作状況 [#eed4fa0a]
-ifconfig
bond0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.1.xxx Bcast:192.168.1.255 ...
inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/64 Scope:...
UP BROADCAST RUNNING MASTER MULTICAST MTU:150...
RX packets:4641854 errors:0 dropped:793 overru...
TX packets:32506246 errors:0 dropped:0 overrun...
collisions:0 txqueuelen:0
RX bytes:1532849751 (1.4 GiB) TX bytes:471996...
bond1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/64 Scope:...
UP BROADCAST RUNNING MASTER MULTICAST MTU:150...
RX packets:18208401 errors:0 dropped:362 overr...
TX packets:22037217 errors:0 dropped:0 overrun...
collisions:0 txqueuelen:0
RX bytes:17847250510 (16.6 GiB) TX bytes:2691...
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500...
RX packets:241141 errors:0 dropped:0 overruns:...
TX packets:31014425 errors:0 dropped:0 overrun...
collisions:0 txqueuelen:1000
RX bytes:31251374 (29.8 MiB) TX bytes:4579398...
Interrupt:218 Memory:fe1a0000-fe1c0000
eth1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500...
RX packets:3714981 errors:0 dropped:793 overru...
TX packets:311409 errors:0 dropped:0 overruns:...
collisions:0 txqueuelen:1000
RX bytes:1236156659 (1.1 GiB) TX bytes:156107...
Interrupt:234 Memory:fe140000-fe160000
eth2 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500...
RX packets:199899 errors:0 dropped:0 overruns:...
TX packets:720240 errors:0 dropped:0 overruns:...
collisions:0 txqueuelen:1000
RX bytes:19163127 (18.2 MiB) TX bytes:7453866...
Interrupt:59 Memory:fe0a0000-fe0c0000
eth3 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500...
RX packets:9033103 errors:0 dropped:50 overrun...
TX packets:17764757 errors:0 dropped:0 overrun...
collisions:0 txqueuelen:1000
RX bytes:10185530023 (9.4 GiB) TX bytes:22906...
Interrupt:91 Memory:fe040000-fe060000
eth4 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500...
RX packets:485837 errors:0 dropped:0 overruns:...
TX packets:460191 errors:0 dropped:0 overruns:...
collisions:0 txqueuelen:1000
RX bytes:246278831 (234.8 MiB) TX bytes:50416...
Interrupt:107 Memory:fe6a0000-fe6c0000
eth5 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500...
RX packets:9175298 errors:0 dropped:312 overru...
TX packets:4272460 errors:0 dropped:0 overruns...
collisions:0 txqueuelen:1000
RX bytes:7661720487 (7.1 GiB) TX bytes:400696...
Interrupt:123 Memory:fe640000-fe660000
eth6 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet6 addr: fe80::62a4:4cff:fe60:c79d/64 Scope...
UP BROADCAST RUNNING MULTICAST MTU:1500 Metr...
RX packets:216902 errors:0 dropped:0 overruns:...
TX packets:2016 errors:0 dropped:0 overruns:0 ...
collisions:0 txqueuelen:1000
RX bytes:20521159 (19.5 MiB) TX bytes:307052 ...
Interrupt:83 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/128 Scope...
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1830 errors:0 dropped:0 overruns:0 ...
TX packets:1830 errors:0 dropped:0 overruns:0 ...
collisions:0 txqueuelen:0
RX bytes:155928 (152.2 KiB) TX bytes:155928 (...
vlan10 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.10.xxx Bcast:192.168.10.255...
inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/64 Scope:...
UP BROADCAST RUNNING MASTER MULTICAST MTU:150...
RX packets:15464889 errors:0 dropped:0 overrun...
TX packets:12504494 errors:0 dropped:0 overrun...
collisions:0 txqueuelen:0
RX bytes:16985489423 (15.8 GiB) TX bytes:2624...
vlan100 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:172.16.2.xxx Bcast:172.16.255.255 ...
inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/64 Scope:...
UP BROADCAST RUNNING MULTICAST MTU:1500 Metr...
RX packets:15001 errors:0 dropped:0 overruns:0...
TX packets:1125 errors:0 dropped:0 overruns:0 ...
collisions:0 txqueuelen:0
RX bytes:1002888 (979.3 KiB) TX bytes:113456 ...
-ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 150...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 150...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 150...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
5: eth6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdis...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet6 xxxx::xxx:xxxx:xxxx:xxxx/64 scope link
valid_lft forever preferred_lft forever
6: eth3: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 150...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
7: eth4: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 150...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
8: eth5: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 150...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
9: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
10: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu ...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 192.168.1.xxx/24 brd 192.168.1.255 scope global...
inet6 xxxx::xxx:xxxx:xxxx:xxxx/64 scope link
valid_lft forever preferred_lft forever
11: bond1: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu ...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet6 xxxx::xxx:xxxx:xxxx:xxxx/64 scope link
valid_lft forever preferred_lft forever
12: vlan10@bond1: <BROADCAST,MULTICAST,MASTER,UP,LOWER_U...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 192.168.10.xxx/24 brd 192.168.10.255 scope glob...
inet6 xxxx::xxx:xxxx:xxxx:xxxx/64 scope link
valid_lft forever preferred_lft forever
13: vlan100@eth6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu ...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 172.16.2.xxx/16 brd 172.16.255.255 scope global...
inet6 xxxx::xxx:xxxx:xxxx:xxxx/64 scope link
valid_lft forever preferred_lft forever
終了行:
目次~
#contents
*概要 [#f5e60aa7]
CentOS(5.x、6.x、7.x)にてインターフェイスにタグVLANを設...
*設定手順 [#t2fb65f5]
**VLANの有効化 [#u8ff2230]
''/etc/sysconfig/network''に以下の設定を行い、VLANを有効...
~
VLAN=yes
VLAN_NAME_TYPE=DEV_PLUS_VID_NO_PAD
~
''VLAN_NAME_TYPE''はVLAN名の記述書式を定義しており、設定...
|BGCOLOR(#CCCCCC):設定値|BGCOLOR(#CCCCCC):表記|
|VLAN_PLUS_VID|vlan0100|
|VLAN_PLUS_VID_NO_PAD|vlan100|
|DEV_PLUS_VID|eth0.0100|
|DEV_PLUS_VID_NO_PAD|eth0.100|
~
**インターフェイスの設定 [#b451a185]
以下は''eth0''に''VLAN 100''を付与場合の設定例。
***VLANインターフェイスの設定 [#sac95f7b]
''/etc/sysconfig/network-scripts''配下にVLANとIPアドレス...
ファイル名はVLAN IDと連動しているため、他の名称に変更する...
下記の事例では、VLAN 100をeth0に割り当て、172.16.2.250/16...
-ifcfg-vlan100
DEVICE=vlan100
BOOTPROTO=statics
PHYSDEV=eth0
IPADDR=172.16.2.250
NETMASK=255.255.0.0
NETWORK=172.16.0.0
ONBOOT=yes
~
|BGCOLOR(#CCCCCC):設定項目|BGCOLOR(#CCCCCC):備考|
|DEVICE|VLANインターフェイスを指定|
|BOOTPROTO|''statics''を指定|
|PHYSDEV|VLANを付与するインターフェイス名を指定|
|IPADDR|インターフェイスに付与するIPアドレスを指定|
|NETMASK|インターフェイスに付与するIPアドレスのマスクを指...
|NETWORK|インターフェイスに付与するIPアドレスのネットワー...
|ONBOOT|自動起動を有効化|
***物理インターフェイスの設定 [#k3f49af0]
''/etc/sysconfig/network-scripts''配下のインターフェイス...
-ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
HWADDR=xx:xx:xx:xx:xx:xx
~
|BGCOLOR(#CCCCCC):設定項目|BGCOLOR(#CCCCCC):備考|
|DEVICE|インターフェイスのデバイス名を指定|
|BOOTPROTO|''none''に設定することで、アドレスを付与しない...
|ONBOOT|自動起動を有効化|
|TYPE|インターフェイスのタイプを指定|
|HWADDR|インターフェイスのMACアドレスを指定。CentOS 5.x系...
***物理インターフェイス(bondig)の設定 [#k93c2289]
インターフェイスがbondingインターフェイスの場合には以下の...
-ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
~
|BGCOLOR(#CCCCCC):設定項目|BGCOLOR(#CCCCCC):備考|
|DEVICE|bondingインターフェイス名を指定|
|BOOTPROTO|''none''に設定することで、アドレスを付与しない...
|ONBOOT|自動起動を有効化|
*設定有効化 [#dd465473]
**設定の適用 [#h843cf4e]
ネットワークを再起動し、設定を有効化する。~
/etc/init.d/network restart
*設定結果例 [#sbf77f14]
**前提 [#k1a4302c]
-インターフェイス~
物理インターフェイスはeth0〜eth6~
-bondig~
bondingインターフェイスはbond0及びbond1の2つ~
bond0を構成する物理インターフェイスはeth0、eth1、eth2、et...
bond1を構成する物理インターフェイスはeth3、eth5~
-VLAN~
bond0にvlan 10を設定~
eth6にvlan 100を設定~
**設定 [#pd9afb16]
***物理インターフェイス [#m0870c16]
-ifcfg-eth0
# Intel Corporation 82571EB Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
HWADDR=xx:xx:xx:xx:xx:xx
-ifcfg-eth1
# Intel Corporation 82571EB Gigabit Ethernet Controller
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
HWADDR=xx:xx:xx:xx:xx:xx
-ifcfg-eth2
# Intel Corporation 82546EB Gigabit Ethernet Controller
DEVICE=eth2
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
HWADDR=xx:xx:xx:xx:xx:xx
-ifcfg-eth3
# Intel Corporation 82546EB Gigabit Ethernet Controller
DEVICE=eth3
BOOTPROTO=none
ONBOOT=yes
MASTER=bond1
SLAVE=yes
HWADDR=xx:xx:xx:xx:xx:xx
-ifcfg-eth4
# Intel Corporation 82546EB Gigabit Ethernet Controller
DEVICE=eth4
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
HWADDR=xx:xx:xx:xx:xx:xx
-ifcfg-eth5
# Intel Corporation 82546EB Gigabit Ethernet Controller
DEVICE=eth5
BOOTPROTO=none
ONBOOT=yes
MASTER=bond1
SLAVE=yes
HWADDR=xx:xx:xx:xx:xx:xx
-ifcfg-eth6
# Realteck RTL8169
DEVICE=eth6
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
HWADDR=xx:xx:xx:xx:xx:xx
***bondingインターフェイス [#m27a3d24]
-ifcfg-bond0
# Linux Ethernet Bonding Driver
#
DEVICE=bond0
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.1.xxx
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
GATEWAY=192.168.1.xxx
-ifcfg-bond1
# Linux Ethernet Bonding Driver
#
DEVICE=bond1
BOOTPROTO=none
ONBOOT=yes
***VLANインターフェイス [#ta2003d1]
-ifcfg-vlan10
# VLAN ID 10
#
DEVICE=vlan10
BOOTPROTO=static
ONBOOT=yes
PHYSDEV=bond1
IPADDR=192.168.10.240
NETMASK=255.255.255.0
NETWORK=192.168.10.0
BROADCAST=192.168.10.255
-ifcfg-vlan100
# VLAN ID 100
#
DEVICE=vlan100
BOOTPROTO=statics
PHYSDEV=eth6
IPADDR=172.16.2.240
NETMASK=255.255.0.0
NETWORK=172.16.0.0
ONBOOT=yes
**動作状況 [#eed4fa0a]
-ifconfig
bond0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.1.xxx Bcast:192.168.1.255 ...
inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/64 Scope:...
UP BROADCAST RUNNING MASTER MULTICAST MTU:150...
RX packets:4641854 errors:0 dropped:793 overru...
TX packets:32506246 errors:0 dropped:0 overrun...
collisions:0 txqueuelen:0
RX bytes:1532849751 (1.4 GiB) TX bytes:471996...
bond1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/64 Scope:...
UP BROADCAST RUNNING MASTER MULTICAST MTU:150...
RX packets:18208401 errors:0 dropped:362 overr...
TX packets:22037217 errors:0 dropped:0 overrun...
collisions:0 txqueuelen:0
RX bytes:17847250510 (16.6 GiB) TX bytes:2691...
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500...
RX packets:241141 errors:0 dropped:0 overruns:...
TX packets:31014425 errors:0 dropped:0 overrun...
collisions:0 txqueuelen:1000
RX bytes:31251374 (29.8 MiB) TX bytes:4579398...
Interrupt:218 Memory:fe1a0000-fe1c0000
eth1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500...
RX packets:3714981 errors:0 dropped:793 overru...
TX packets:311409 errors:0 dropped:0 overruns:...
collisions:0 txqueuelen:1000
RX bytes:1236156659 (1.1 GiB) TX bytes:156107...
Interrupt:234 Memory:fe140000-fe160000
eth2 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500...
RX packets:199899 errors:0 dropped:0 overruns:...
TX packets:720240 errors:0 dropped:0 overruns:...
collisions:0 txqueuelen:1000
RX bytes:19163127 (18.2 MiB) TX bytes:7453866...
Interrupt:59 Memory:fe0a0000-fe0c0000
eth3 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500...
RX packets:9033103 errors:0 dropped:50 overrun...
TX packets:17764757 errors:0 dropped:0 overrun...
collisions:0 txqueuelen:1000
RX bytes:10185530023 (9.4 GiB) TX bytes:22906...
Interrupt:91 Memory:fe040000-fe060000
eth4 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500...
RX packets:485837 errors:0 dropped:0 overruns:...
TX packets:460191 errors:0 dropped:0 overruns:...
collisions:0 txqueuelen:1000
RX bytes:246278831 (234.8 MiB) TX bytes:50416...
Interrupt:107 Memory:fe6a0000-fe6c0000
eth5 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500...
RX packets:9175298 errors:0 dropped:312 overru...
TX packets:4272460 errors:0 dropped:0 overruns...
collisions:0 txqueuelen:1000
RX bytes:7661720487 (7.1 GiB) TX bytes:400696...
Interrupt:123 Memory:fe640000-fe660000
eth6 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet6 addr: fe80::62a4:4cff:fe60:c79d/64 Scope...
UP BROADCAST RUNNING MULTICAST MTU:1500 Metr...
RX packets:216902 errors:0 dropped:0 overruns:...
TX packets:2016 errors:0 dropped:0 overruns:0 ...
collisions:0 txqueuelen:1000
RX bytes:20521159 (19.5 MiB) TX bytes:307052 ...
Interrupt:83 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/128 Scope...
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1830 errors:0 dropped:0 overruns:0 ...
TX packets:1830 errors:0 dropped:0 overruns:0 ...
collisions:0 txqueuelen:0
RX bytes:155928 (152.2 KiB) TX bytes:155928 (...
vlan10 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.10.xxx Bcast:192.168.10.255...
inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/64 Scope:...
UP BROADCAST RUNNING MASTER MULTICAST MTU:150...
RX packets:15464889 errors:0 dropped:0 overrun...
TX packets:12504494 errors:0 dropped:0 overrun...
collisions:0 txqueuelen:0
RX bytes:16985489423 (15.8 GiB) TX bytes:2624...
vlan100 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:172.16.2.xxx Bcast:172.16.255.255 ...
inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/64 Scope:...
UP BROADCAST RUNNING MULTICAST MTU:1500 Metr...
RX packets:15001 errors:0 dropped:0 overruns:0...
TX packets:1125 errors:0 dropped:0 overruns:0 ...
collisions:0 txqueuelen:0
RX bytes:1002888 (979.3 KiB) TX bytes:113456 ...
-ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 150...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 150...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 150...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
5: eth6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdis...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet6 xxxx::xxx:xxxx:xxxx:xxxx/64 scope link
valid_lft forever preferred_lft forever
6: eth3: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 150...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
7: eth4: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 150...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
8: eth5: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 150...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
9: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
10: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu ...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 192.168.1.xxx/24 brd 192.168.1.255 scope global...
inet6 xxxx::xxx:xxxx:xxxx:xxxx/64 scope link
valid_lft forever preferred_lft forever
11: bond1: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu ...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet6 xxxx::xxx:xxxx:xxxx:xxxx/64 scope link
valid_lft forever preferred_lft forever
12: vlan10@bond1: <BROADCAST,MULTICAST,MASTER,UP,LOWER_U...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 192.168.10.xxx/24 brd 192.168.10.255 scope glob...
inet6 xxxx::xxx:xxxx:xxxx:xxxx/64 scope link
valid_lft forever preferred_lft forever
13: vlan100@eth6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu ...
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 172.16.2.xxx/16 brd 172.16.255.255 scope global...
inet6 xxxx::xxx:xxxx:xxxx:xxxx/64 scope link
valid_lft forever preferred_lft forever
ページ名: