Solaris 10 zone中用snoop抓包提示找不到接口,怎么办?
Solaris 10 zone中用snoop抓包提示snoop: No network interface devices found,怎么解决?bash-3.00# snoop
snoop: No network interface devices found
zone1的info如下:
bash-3.00# zonecfg -z zone1
zonecfg:zone1> info
zonename: zone1
zonepath: /vobstore/zone1
brand: native
autoboot: true
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
hostid:
net:
address: 10.240.70.56
physical: ce0
defrouter: 10.240.70.1
zonecfg:zone1>
补充一下,这台是一台老的880设备,装了Solaris10, 但是在globe zone中查看dev的时候没有发现ce0,该怎么解决?
bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
zone zone1
inet 127.0.0.1 netmask ff000000
lo0:2: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
zone zone2
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.240.70.55 netmask ffffff00 broadcast 10.240.70.255
ether 0:3:ba:2a:e2:94
ce0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
zone zone1
inet 10.240.70.56 netmask ffffff00 broadcast 10.240.70.255
ce0:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
zone zone2
inet 10.240.70.54 netmask ffffff00 broadcast 10.240.70.255
bash-3.00#
bash-3.00# ls -l /dev/ce*
lrwxrwxrwx 1 root root 28 Sep 272012 /dev/ce -> ../devices/pseudo/clone@0:ce
bash-3.00# 再补充,我在globezone中查看到有很多块网卡,我又将qfe0,qfe1都up起来,但是在/dev还是看不到这些网卡。
bash-3.00# dladm show-dev
ge0 link: down speed: 0 Mbps duplex: unknown
eri0 link: down speed: 0 Mbps duplex: unknown
hme0 link: down speed: 0 Mbps duplex: unknown
ce0 link: up speed: 100 Mbps duplex: full
qfe0 link: up speed: 100 Mbps duplex: full
qfe1 link: up speed: 100 Mbps duplex: full
qfe2 link: down speed: 0 Mbps duplex: unknown
qfe3 link: down speed: 0 Mbps duplex: unknown
bash-3.00# ifconfig qfe0 plumb
ifconfig: SIOCSLIFNAME for ip: qfe0: already exists
bash-3.00# ifconfig qfe1 plumb
ifconfig: SIOCSLIFNAME for ip: qfe1: already exists
bash-3.00# ls -l /dev/* |grep qfe
lrwxrwxrwx 1 root root 29 Sep 272012 /dev/qfe -> ../devices/pseudo/clone@0:qfe
bash-3.00# 尝试将ip-type改为exclusive,将qfe0从golbezone中unplumb,但是在reboot zone1的时候却提示:
bash-3.00# zoneadm -z zone1 reboot
zoneadm: zone 'zone1': WARNING: unable to hold network interface 'qfe0'.: Invalid argument
bash-3.00#
查看path_to_inst,端口都在,但是就是无法使用:
bash-3.00# more /etc/path_to_inst |grep qfe
"/pci@9,600000/pci@2/SUNW,qfe@0,1" 0 "qfe"
"/pci@9,600000/pci@2/SUNW,qfe@1,1" 1 "qfe"
"/pci@9,600000/pci@2/SUNW,qfe@2,1" 2 "qfe"
"/pci@9,600000/pci@2/SUNW,qfe@3,1" 3 "qfe"
页:
[1]