02-07-2009
plumb the ip using ifconfig command for e1000g0 and g1.
then touch the /etc/hostname.e1000g0 and g1. put the IP/hostname of that interface inside the file
10 More Discussions You Might Find Interesting
1. AIX
Hi all
I need command to give logical and physical IP Address for my machine.
thank you (1 Reply)
Discussion started by: magasem
1 Replies
2. AIX
I added a static route through smit using:
Communications applications and Services ==>
TCIP/IP ==>
Further Configuration ==>
Static Routes ==>
Add a Static Route ==>
Route Type of host
Filled in Destination Address, Default Gateway Address and Network Interface of en0.
This... (2 Replies)
Discussion started by: jyoung
2 Replies
3. UNIX for Dummies Questions & Answers
Hi there,
I have a Debian 5.0 server newly installed.
By default, the ip address is given by dhcp.
pegase:~# grep '^' /etc/network/interfaces
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
pegase:~# head -2 /etc/hosts
127.0.0.1 localhost
127.0.1.1 ... (1 Reply)
Discussion started by: chebarbudo
1 Replies
4. Solaris
Hello friend, I am new in UNIX, but I want to learn a lot
Well I have a problem to try to configure my PC with a static IP Address
(IP 192.168.1.39, Mask 255.255.255.0, gateway 192.168.1.1)
(DNS 200.48.225.130 and 200.48.225.146).
where are the file that I must be change?
The SO is Sun Solaris... (15 Replies)
Discussion started by: andresguillen
15 Replies
5. UNIX for Dummies Questions & Answers
Hi guys,
I got one problem which I definetily no idea.
What would the physical address be for virtual address?
1) 2ABC
2) 3F4B
Here is the page table:see attached
Thank you sos sososososso much!! (0 Replies)
Discussion started by: lemon_06
0 Replies
6. Red Hat
Hi All,
Could you please explain the purpose of assigning the static IP by using the DHCP Concept. Like by using the clients MAC address we assign the static IP Address. Waiting for your reply. Thanks in Advance. (6 Replies)
Discussion started by: Sharath Kumar
6 Replies
7. SCO
Hi,
Just a question of thought. Why one needs to add static routes on Unix servers ? If I had ethernet card, it already has the settings for gateway for incoming and outgoing requests. We donot have to explicitly set the route it should take. Then what is the use... (3 Replies)
Discussion started by: dextergenious
3 Replies
8. Red Hat
Hi All,
Is there a quick way to check whether the current routes on my centos are
persistent or not before rebooting ?
i can take a route -n output but i may completely lost access to my server if the routes are gone.
thanks. (1 Reply)
Discussion started by: coolatt
1 Replies
9. IP Networking
Hi all,
I would need to register a random free subdomain address and associate that to my IP Address. Any suggestion of a good service?
Also I don't have a static IP but i remember that there are services that automatically reset the right IP address behind the subdomain but i don't remember... (1 Reply)
Discussion started by: Tameto
1 Replies
10. Red Hat
I have three systems A,B,C. I want to configure A in such a way that all packets from A to C goes via B.
I tried:
1. ip route add 'ip of C' via 'ip of B'
2. route add -net 'net address' netmask gw 'ip of B'
These commands work initially when I try a ping or traceroute and expire after... (2 Replies)
Discussion started by: kanak
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)