Sponsored Content
Operating Systems Solaris What should be hostname for second network interface? Post 302377779 by naw_deepak on Saturday 5th of December 2009 05:56:18 AM
Old 12-05-2009
Hi All,

I am having a sun server. The primary network interface is having name "sun1" and IP address "192.168.2.10". Now when I add second network interface with different IP address "10.1.1.100" and same hostname, it doesn't work.

What I want to know is that should the second interface having different hostname like IP address or can any one tell me how to configure second network interface with different IP address...

Thanks in advance,
Deepak

Here is the output of /etc/inet/hosts, /etc/inet/ipnodes, /etc/nodename, /etc/hostname.hme0 and /etc/hostname.hme1 files:

Code:
#cat /etc/inet/hosts
192.168.2.10      sun1    loghost
10.1.1.100         sun1

Code:
#cat /etc/inet/ipnodes
192.168.2.10      sun1    loghost
10.1.1.100         sun1

Code:
#cat /etc/nodename
sun1

Code:
#cat /etc/hostname.hme0
sun1

Code:
#cat /etc/hostname.hme1
sun1

Thanks,
Deepak

Last edited by DukeNuke2; 12-05-2009 at 07:04 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Network Interface

Hi ! Does anyone know how can i get information about my network interface ... if it works in half or full duplex mode !! Thx in adivance ! Witt (4 Replies)
Discussion started by: witt
4 Replies

2. Solaris

/etc/hostname.interface file

I recently brought up a second network interface adapter in my Solaris 8 box. I configured the /etc/hostname.interface (hostname.ce1 in this case) with the hostname of the new adapter. I then added that hostname to the /etc/hosts file. Problem is when I reboot the ce1 interface is plumbed, but... (1 Reply)
Discussion started by: ghuber
1 Replies

3. Linux

Get info on network interface

Hello everybody, How can link network interface to the output of lspci -vv. Basicly i need to know who is the manufacturer of a specific interface, for example eth0 {Is it an Intel, or Broadcome, or something else}. Is there a way to find that out? Thanx (5 Replies)
Discussion started by: aleksey
5 Replies

4. Solaris

Confused with entries in /etc/hostname.<interface> file...

Hi.. Every one, I have servers installed with solaris 10.We have configured our servers for IPMP and we have respective entries in /etc/hostname.<interface> for every physical interface. for example one of the file contains : # more /etc/hostname.ce6 super-ce6 netmask + broadcast + group... (3 Replies)
Discussion started by: Reboot
3 Replies

5. Solaris

configure zones to have different network interface and network

i need to configure a zone to use different interface (bge2) than global and have connected to completely different network switch & to use its own defaultrouter and hosts file .. is it possible ..if so ..how ? Thanks (9 Replies)
Discussion started by: skamal4u
9 Replies

6. UNIX and Linux Applications

Access to network interface (Mac-network)

Hi, I'm a italian student. For my thesis I develop a gateway with protocol 6lowpan. For that I must access to network interface to develope my personal stack based on standard 802.15.4. Can you help me? I need an explanation for that. (0 Replies)
Discussion started by: berny88
0 Replies

7. IP Networking

Network interface-

Hello, Please what's the difference between: AND Thank you so much (3 Replies)
Discussion started by: chercheur857
3 Replies

8. IP Networking

network interface -

Hello, Please, how can i create a network interface with a routable IP address on linux (ubuntu) ? AND How can i desactivate an interface? Thank you so much for help. (1 Reply)
Discussion started by: chercheur857
1 Replies

9. Solaris

No network cable But Network interface is UP and Running

I've one Netra 240 After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces. I tried to restart and plumb/unplumb with no luck. ifconfig -a... (7 Replies)
Discussion started by: samer.odeh
7 Replies

10. UNIX for Dummies Questions & Answers

Adding a network interface to a bonded interface

I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies
bt-network(1)							    bluez-tools 						     bt-network(1)

NAME
bt-network - a bluetooth network manager SYNOPSIS
bt-network [OPTION...] Help Options: -h, --help Application Options: -a, --adapter=<name|mac> -c, --connect <name|mac> <uuid> -s, --server <gn|panu|nap> <brige> DESCRIPTION
This utility is used to manage network services (client/server). All servers will be automatically unregistered when the application terminates. OPTIONS
-h, --help Show help -a, --adapter <name|mac> Specify adapter to use by his Name or MAC address (if this option does not defined - default adapter used) -c, --connect <name|mac> <uuid> Connect to the network device and return the network interface name, uuid can be either one of "gn", "panu" or "nap" -s, --server <gn|panu|nap> <brige> Register server for the provided UUID, every new connection to this server will be added the bridge interface AUTHOR
Alexander Orlenko <zxteam@gmail.com>. SEE ALSO
bt-adapter(1) bt-agent(1) bt-audio(1) bt-device(1) bt-input(1) bt-monitor(1) bt-serial(1) 2010-11-22 bt-network(1)
All times are GMT -4. The time now is 06:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy