Sponsored Content
Full Discussion: Networking help
Operating Systems Solaris Networking help Post 302485914 by bluescreen on Thursday 6th of January 2011 12:55:41 PM
Old 01-06-2011
I think the disconnect here is that you need to put the hostname in the /etc/hostname.ce1,2,3 files. So, in your instance, put a different hostname in each file corresponding to the ip address you want assigned to that interface.

HTH
This User Gave Thanks to bluescreen For This Post:
 

10 More Discussions You Might Find Interesting

1. IP Networking

IP networking.

In plain english what exactly is IP Networking? Can someone take the time to explain? please! (3 Replies)
Discussion started by: kikkin
3 Replies

2. IP Networking

Networking

I've installed Mandrake 8.1 over the weekend as has someone else in my apartment house. We share a LAN between the apartment with three computers. I've managed to configure SAMBA and if the computers are on windows then we can see my comp. I can't see their comps though. Whenever I go to... (1 Reply)
Discussion started by: kyphur
1 Replies

3. IP Networking

networking

dear sir how many name server can be configured in single machine? thank you very much. sandeep goel (3 Replies)
Discussion started by: ask_goel
3 Replies

4. UNIX for Dummies Questions & Answers

Networking

Hi new user to UNIX and I am in the process of networking my UNIX box to my windows2000....Is there a special program I have to install so that my windows would recognize and see the Unix box....any suggestions would be great Thanks (1 Reply)
Discussion started by: jonas27
1 Replies

5. IP Networking

networking

HI guys/gals basic question lets say i am running a network. lets say i am using Win Me. how would i network Win Me to a computer that has linux and another that has 98 well the 98 is no problem but the linux well i have an idea but i am rusty with linux. No i have rusted out. Would you make... (1 Reply)
Discussion started by: pydyer
1 Replies

6. AIX

Networking help...

Please accept my apology ahead of time. Our AIX admin left the company unexpectedly and I am now left with trying to get a p570 w/5.3 setup. I had the help of an IBM reseller on setting up the LPARs, but need some quick questions answered. 1. I have 1 on-board NIC and 2 slot NICs. How do I... (2 Replies)
Discussion started by: LegendMan
2 Replies

7. Solaris

Need help with networking

I can't or i don't know how to put up a network and internet on sun solaris 10. I looked and found some stuff on forums around net but I'm missing a few files. Like, "defaultrouter", "resolve.conf", ping is not working ( host unreachable), my card is "lo0" when I use ifconfig -a comand. Should I... (8 Replies)
Discussion started by: salvor_hardin
8 Replies

8. UNIX for Advanced & Expert Users

how ..........networking

hi everyone this is dipendra, i am interested in networking,i know simple socket programming . and now i am wonder to get in to audio socket. i have no clue how to build audio socket.so i am looking if u can provide me a link regarding the audio socket building tutorials. (1 Reply)
Discussion started by: dipendra_regmi
1 Replies

9. IP Networking

Networking

Hi, I have a question on networking. I will try to ask with an example... Suppose i am googling something, as in searching something in the google page. In this case what I basically want to know is, does the client do a connect evrytime to the server whenever a search is done in google,... (1 Reply)
Discussion started by: naan
1 Replies

10. IP Networking

Networking

hi From mt windows machine I can ping a LINUX machine but there is no arp entry for the same LINUX on my windows. How is it possible and what can I do to add the arp entry as I need it. thanks (1 Reply)
Discussion started by: leghorn
1 Replies
NSS-MYHOSTNAME(8)						  nss-myhostname						 NSS-MYHOSTNAME(8)

NAME
nss-myhostname - Provide hostname resolution for the locally configured system hostname. SYNOPSIS
nss-myhostname.la DESCRIPTION
nss-myhostname is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc) providing hostname resolution for the locally configured system hostname as returned by gethostname(2). Various software relies on an always-resolvable local hostname. When using dynamic hostnames, this is usually achieved by patching /etc/hosts at the same time as changing the host name. This however is not ideal since it requires a writable /etc file system and is fragile because the file might be edited by the administrator at the same time. nss-myhostname simply returns all locally configured public IP addresses, or, if none are configured, the IPv4 address 127.0.0.2 (which is on the local loopback) and the IPv6 address ::1 (which is the local host) for whatever system hostname is configured locally. Patching /etc/hosts is thus no longer necessary. To activate the NSS modules, myhostname has to be added to the line starting with "hosts:" in /etc/nsswitch.conf It is recommended to put myhostname last in the nsswitch.conf line to make sure that this mapping is only used as fallback, and any DNS or /etc/hosts based mapping takes precedence. EXAMPLE
# /etc/nsswitch.conf passwd: compat group: compat shadow: compat hosts: files dns myhostname networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis To test, use glibc's getent tool: $ getent ahosts `hostname` ::1 STREAM omega ::1 DGRAM ::1 RAW 127.0.0.2 STREAM 127.0.0.2 DGRAM 127.0.0.2 RAW In this case the local hostname is omega. SEE ALSO
systemd(1), systemd-logind.service(8), logind.conf(5), loginctl(1), pam.conf(5), pam.d(5), pam(8), pam_loginuid(8) systemd 208 NSS-MYHOSTNAME(8)
All times are GMT -4. The time now is 11:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy