12-15-2008
Not sure as if system is going to take the hostname from /etc/hostname.xxx as per my understanding to make it persistence across the system boot we place the entry into the file /etc/nodename . not sure as in case of two name how and where entries need to be place.
Will appreciate expert’s views and ideas
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Pls could you help me diagnose my problem. I have a system which is a DHCP server and also the Remote Access Server. The DHCP server allocate normal address within the scope range to the LAN system. why it allocates abitrary number such as
169.254.217.90
255.255.0.0 class B address to the remote... (1 Reply)
Discussion started by: kayode
1 Replies
2. Shell Programming and Scripting
Hello..
Here is a small doubt....
I need to assign root@hostname to variable..
where hostname is the system variable...
when i give variable="root@$hostname"
its not working...
pls help..me
thanks in advance
esham (4 Replies)
Discussion started by: esham
4 Replies
3. UNIX for Advanced & Expert Users
what command do you use to change a unix server name.
i've tried hostname, but when the unix server is rebooted, it reverts back to the old server name.
regards
venhart (3 Replies)
Discussion started by: venhart
3 Replies
4. Red Hat
Friends ,
Can I set two hostname in a Linux server at a time ?
I want to give two hostname of my Linux server , is it possible to do ?
Plz inform .. .. (2 Replies)
Discussion started by: shipon_97
2 Replies
5. UNIX for Dummies Questions & Answers
i read that if i issue :
cat /etc/sysconfig/network > textfile
i will be able to determine the hostname of the server that my linux workstation is connected to.
but there are several other lines outputted that i do not need. i just need the hostname part.
is there any other unix... (2 Replies)
Discussion started by: mbaste2
2 Replies
6. Solaris
hi....
i have sun solaris 10 server, fedora 10, and Windows Server.. i cant ping my sun solaris 10, fedora 10 and Windows Server using hostname (etc: ping winserver.bengkel2.com), but i can ping all using IPV4 and IPV6 address.. can u give some suggestion to solve my problem or some idea to... (3 Replies)
Discussion started by: izuan_7657
3 Replies
7. Solaris
Hi,
We have one server originally named <SERVERA>.
Now we plan to put another network card & add another hostname <SERVERB>. Later, we will need to change hostname from <SERVERB> to <SERVERC>.
I know that we need to plumb a new ip & add to /etc/hosts & /etc/hostname.<interface>. Is there... (2 Replies)
Discussion started by: beginningDBA
2 Replies
8. AIX
Most of my Unix servers do not have access to the internet. We have a test box that I want to use to receive all root email from the other unix boxes locally. i want to then have the test box able to .forward all these emails over the internet to me. I can give the test box a dns server and it can... (10 Replies)
Discussion started by: herot
10 Replies
9. Red Hat
Greetings!
I'm testing a failover solution for NFSv4 on RHEL6 with latest updates.
My script umounts (umount -lf /share) the faulty NFS share if it sees that's hanging on the client (the NFS daemon is down on the NFS server) and it mounts the share from another healthy NFS server.
Sometimes... (4 Replies)
Discussion started by: Arsene Lupen
4 Replies
10. Shell Programming and Scripting
I know that
@food = %fruit;
Works. But how do I assign %fruit and %veggies to @food ? (2 Replies)
Discussion started by: popeye
2 Replies
ARP(8C) ARP(8C)
NAME
arp - address resolution display and control
SYNOPSIS
arp hostname
arp -a [ vmunix ] [ kmem ]
arp -d hostname
arp -s hostname ether_addr [ temp ] [ pub ] [ trail ]
arp -f filename
DESCRIPTION
The arp program displays and modifies the Internet-to-Ethernet address translation tables used by the address resolution protocol
(arp(4p)).
With no flags, the program displays the current ARP entry for hostname. The host may be specified by name or by number, using Internet dot
notation. With the -a flag, the program displays all of the current ARP entries by reading the table from the file kmem (default
/dev/kmem) based on the kernel file vmunix (default /vmunix).
With the -d flag, a super-user may delete an entry for the host called hostname.
The -s flag is given to create an ARP entry for the host called hostname with the Ethernet address ether_addr. The Ethernet address is
given as six hex bytes separated by colons. The entry will be permanent unless the word temp is given in the command. If the word pub is
given, the entry will be "published"; i.e., this system will act as an ARP server, responding to requests for hostname even though the host
address is not its own. The word trail indicates that trailer encapsulations may be sent to this host.
The -f flag causes the file filename to be read and multiple entries to be set in the ARP tables. Entries in the file should be of the
form
hostname ether_addr [ temp ] [ pub ] [ trail ]
with argument meanings as given above.
SEE ALSO
inet(3N), arp(4P), ifconfig(8C)
4.3 Berkeley Distribution May 20, 1986 ARP(8C)