Editing
Solaris 10 System Administration Part I
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== /etc/hostname.xxn file ==== * file contains information that configures named interface <table style="text-align: left; width: 50%;" border="1" cellpadding="2" cellspacing="0"> <tr> <td>Entry</td> <td>Interface</td> </tr> <tr> <td>e1000g0</td> <td>First e1000g (Intel PRO/1000 Gigabit family device driver) Ethernet interface in the system</td> </tr> <tr> <td>bge0</td> <td>First bge (Broadcom Gigabit Ethernet device driver) Ethernet interface in the system</td> </tr> <tr> <td>qfe0</td> <td>First qfe (Quad Fast-Ethernet device driver) Ethernet interface in system</td> </tr> <tr> <td>nge0</td> <td>First nge (Nvidia Gigabit Ethernet driver) Ethernet interface in the system</td> </tr> </table> * The /etc/hostname.bge0 file contains host name or IP address of system that contains the bge0 interface. * the host name contained in the file must exist in the /etc/inet/hosts file so that it can be resolved to an IP address at boot time * You can edit /etc/hostname.bge0 file to contain either host name or IP address from /etc/inet/hosts file '''NOTE In this example the Solaris machine uses DHCP without defined host so host is unknown.''' <pre>root@unknown # ls -l /etc/hostname.bge0 -rw-r--r-- 1 root root 1 May 17 10:30 /etc/hostname.bge0 root@unknown # cat /etc/hostname.bge0 root@unknown # more /etc/inet/hosts # # Internet host table # 127.0.0.1 localhost loghost 192.168.1.10 unknown # Added by DHCP root@unknown # ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 bge0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2 inet 192.168.1.10 netmask ffffff00 broadcast 192.168.1.255 ether 0:14:4f:47:bf:9e root@unknown #</pre>
Summary:
Please note that all contributions to GotOpinion may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
GotOpinion:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information