DNS + servidores
Himer Ramos
himerx en gmail.com
Mie Ago 29 22:02:36 UTC 2007
laura wrote:
> On 8/29/07, Himer Ra
>
>> eso no funcionara, ya que en /etc/hosts
>> solo deberia figurar nombre e ip
>>
>> lo recomendable sera un ip alias en la interface de red
>>
>> ip1 localhost
>> ip2 glassfis
>> ip3 jboss
>>
>> para eso utilizas el comando
>> ifconfig eth0:1 ip1 netmask xxxx up
>> ifconfig eth0:2 ip2 netmask xxxx up
>> ifconfig eth0:3 ip3 netmask xxxx up
>>
>>
>
> No acabo d entenderlo.... donde pones eth0:1 , eth0:2 que quieres
> decir q el 1, 2 y 3 son los puertos q quiere?
>
>
>
P ej
en /etc/hosts
192.168.32.1 apache
192.168.32.2 jboss
192.168.32.3 glasfih
en linea de comandos
ifconfig eth0:1 192.168.32.1 netmask 255.255.255.0 up
ifconfig eth0:2 192.168.32.2 netmask 255.255.255.0 up
ifconfig eth0:3 192.168.32.3 netmask 255.255.255.0 up
en tu browser :
las urls
http://apache/
http://jbos:8080/
http://glasfih:8081/
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <https://lists.ubuntu.com/archives/ubuntu-es/attachments/20070829/82b9d2b5/attachment-0001.html>
Más información sobre la lista de distribución ubuntu-es