Unix Study--Solaris 10添加新网卡
发表于:2025-02-23 作者:千家信息网编辑
千家信息网最后更新 2025年02月23日,Unix Study--Solaris 10添加新网卡在Solaris 10上构建Oracle RAC ,在系统上添加了新的网卡,如何识别和配置相关的参数呢?本案例结合实际应用讲述如何配置第二块网卡1
千家信息网最后更新 2025年02月23日Unix Study--Solaris 10添加新网卡
Unix Study--Solaris 10添加新网卡
在Solaris 10上构建Oracle RAC ,在系统上添加了新的网卡,如何识别和配置相关的参数呢?本案例结合实际应用讲述如何配置第二块网卡
1、查看网卡名称
[root@node1:/]# ifconfig -alo0: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1000843 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 -alo0: flags=2001000849mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1000843 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 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 loghost192.168.8.13 node1-vip10.10.10.11 node1-priv ;;第二块网卡ip[root@node1:/]# cat /etc/hostname.e1000g1node1-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.010.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 loghost192.168.8.13 node1-vip10.10.10.11 node1-priv[root@node1:/]# sync;sync;reboot ;;重启系统查看网卡信息,新网卡被启用:[root@node1:/]# ifconfig -alo0: flags=2001000849mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1000843 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 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
/pci@0,0/pci8086,2829@d/disk@0,0
1. c0t2d0
/pci@0,0/pci8086,2829@d/disk@2,0
@硬盘被识别!
网卡
配置
名称
硬盘
信息
系统
参数
实际
方法
至此
附注
e.g
子网
本机
应用
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
伤害鉴定软件开发
ne创建数据库
数据库大批量传输服务器的影响
智慧灯杆软件开发项目需求
更安全的远程连接服务器方式
税务系统网络安全管理制度
h1z1欧美服务器
构建s3服务器
mssql2008数据库
网络安全四个结合
网络安全原理与应用 陈志德
数据库高并发方案
mpp数据库kafka
数据库技术的发展分为哪三大
网络安全问题的控制措施
简单又漂亮的网络安全手抄报图片
流媒体转发服务器搭建
软件开发找聚脑网
腾讯网络安全技巧
四川益星互联网科技有限公司
数据库计算和
赤壁市扬尖网络技术工作室
几种数据库连接池优缺点
酒泉有种网网络技术
批量提取文献表格中数据库
win10+磁盘管理服务器
sql备份差异数据库
抖音软件开发销售
软件开发经验英文
传奇开服如何加入服务器