bl双性强迫侵犯h_国产在线观看人成激情视频_蜜芽188_被诱拐的少孩全彩啪啪漫画

UnixStudy--Solaris10添加新網卡

Unix Study--Solaris 10添加新網卡

創新互聯公司主要從事網站制作、成都網站建設、網頁設計、企業做網站、公司建網站等業務。立足成都服務南平,10年網站建設經驗,價格優惠、服務專業,歡迎來電咨詢建站服務:18982081108


       在Solaris 10上構建Oracle RAC ,在系統上添加了新的網卡,如何識別和配置相關的參數呢?本案例結合實際應用講述如何配置第二塊網卡

1、查看網卡名稱

[root@node1:/]# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.8.11 netmask ffffff00 broadcast 192.168.8.255
        ether 8:0:27:28:b1:8c

2、查看新網卡名稱

[root@node1:/]# more /etc/path_to_inst          

#
#       Caution! This file contains critical kernel state
#
"/iscsi" 0 "iscsi"
"/pseudo" 0 "pseudo"
"/options" 0 "options"
"/xsvc" 0 "xsvc"
"/objmgr" 0 "objmgr"
"/scsi_vhci" 0 "scsi_vhci"
"/isa" 0 "isa"
"/isa/i8042@1,60" 0 "i8042"
"/isa/i8042@1,60/keyboard@0" 0 "kb8042"
"/isa/i8042@1,60/mouse@1" 0 "mouse8042"
"/isa/lp@1,378" 0 "ecpp"
"/ramdisk" 0 "ramdisk"
"/cpus" 0 "cpunex"
"/cpus/cpu@0" 0 "cpudrv"
"/pci@0,0" 0 "pci"
"/pci@0,0/display@2" 0 "vgatext"
"/pci@0,0/pci106b,3f@6" 0 "ohci"
"/pci@0,0/pci106b,3f@6/input@1" 0 "hid"
"/pci@0,0/pci8086,1e@3" 0 "e1000g"
"/pci@0,0/pci8086,2829@d" 0 "ahci"
"/pci@0,0/pci8086,2829@d/disk@0,0" 0 "sd"
"/pci@0,0/pci8086,2829@d/cdrom@1,0" 1 "sd"
"/pci@0,0/pci8086,2829@d/disk@2,0" 2 "sd"
"/pci@0,0/pci8086,1e@8" 1 "e1000g"
"/agpgart" 0 "agpgart"

 本機第一塊網卡名稱"e1000g0",則第二塊網卡應為"e1000g1".

2、啟用第二塊網卡

[root@node1:/]# ifconfig e1000g1 plumb

[root@node1:/]# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.8.11 netmask ffffff00 broadcast 192.168.8.255
        ether 8:0:27:28:b1:8c 
e1000g1: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 0.0.0.0 netmask 0 
        ether 8:0:27:6e:16:1

3、添加網卡配置信息

 [root@node1:/]# cat /etc/hosts
#
# Internet host table
#
::1     localhost       
127.0.0.1       localhost       
192.168.8.11    node1   loghost
192.168.8.13    node1-vip
10.10.10.11     node1-priv   ;;第二塊網卡ip


[root@node1:/]# cat /etc/hostname.e1000g1
node1-priv

[root@node1:/]# cat /etc/netmasks 
#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
# 
#       network-number  netmask
#
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
#
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
#
#               128.32.0.0 255.255.255.0
#
192.168.8.0     255.255.255.0
10.10.10.0      255.255.255.0   ;;第二塊網卡子網掩碼


[root@node1:/]# cat /etc/inet/ipnodes 
#
# Internet host table
#
::1     localhost       
127.0.0.1       localhost       
192.168.8.11    node1   loghost
192.168.8.13    node1-vip
10.10.10.11     node1-priv

[root@node1:/]# sync;sync;reboot   ;;重啟系統

查看網卡信息,新網卡被啟用:

[root@node1:/]# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.8.11 netmask ffffff00 broadcast 192.168.8.255
        ether 8:0:27:28:b1:8c 
e1000g1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 10.10.10.11 netmask ffffff00 broadcast 10.10.10.255
        ether 8:0:27:6e:16:1

@至此,新網卡配置完成!

  

附注:      

 Solaris 10識別新硬盤:

添加新硬盤后,沒有被識別,解決方法如下:

 [root@node1:/]# touch /reconfigure

[root@node1:/]# sync;sync;reboot

[root@node1:/]# format

Searching for disks...done

AVAILABLE DISK SELECTIONS:

       0. c0t0d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>

          /pci@0,0/pci8086,2829@d/disk@0,0

       1. c0t2d0 <DEFAULT cyl 2608 alt 2 hd 255 sec 63>

          /pci@0,0/pci8086,2829@d/disk@2,0

@硬盤被識別!     


網站欄目:UnixStudy--Solaris10添加新網卡
當前路徑:http://vcdvsql.cn/article28/pejecp.html

成都網站建設公司_創新互聯,為您提供電子商務、網站排名、品牌網站建設網站策劃外貿網站建設、搜索引擎優化

廣告

聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯

h5響應式網站建設