How to put a domain name on "eth0"?
Paul Howarth
paul at city-fan.org
Fri Jan 7 15:25:30 UTC 2005
Vinicius wrote:
> Hello,
>
> How to put a domain name on "eth0" manually, please?
>
> The file "/etc/hosts" shows: "127.0.0.1 localhost.localdomain
> ajax.apto317 localhost ajax"
>
> "ifconfig" shows "eth0" with a private address 10.X.X.X . I would like
> this address be "ajax.apto317".
Changing your /etc/hosts file as follows will probably do what you want:
127.0.0.1 localhost.localdomain localhost
10.X.X.X ajax.apto317 ajax
More information about the fedora-list
mailing list