Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Unix Study--Solaris 10 add a new network card

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Unix Study--Solaris 10 add a new network card

Build Oracle RAC on Solaris 10 and add a new network card to the system. How to identify and configure the relevant parameters? Combined with practical application, this case describes how to configure the second network card.

1. View the Nic name

[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.255 ether 8:0:27:28:b1:8c

2. View the name of the new network card

[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@1378" 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"

The name of the first network card of this machine is e1000g0, then the second network card should be e1000g1.

2. Enable the second network card

[root@node1:/] # ifconfig e1000g1 plumb [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.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. Add Nic configuration information

[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 The second network card 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 ; the second network card subnet mask [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 Restart the system to view the network card information The new network card is enabled: [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.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.255 ether 8:0:27:6e:16:1

@ at this point, the configuration of the new network card is complete!

Note:

Solaris 10 identifies the new hard drive:

After adding a new hard drive, it is not recognized. The solution is as follows:

[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

@ the hard drive is recognized!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report