Pular para o conteúdo

Ubuntu Server no VMware

Responder tópico
  • Denunciar
  • Indicar

1. Ubuntu Server no VMware

Enviado em 26/06/2010 - 19:51h

Estou tentando configurar um servidor usando o Ubuntu 9.04 no VMware pra tentar aprender sobre servidores, mas já agarrei logo no início não conseguindo compartilhar a internet.

Arquivo resolv.conf


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 10.0.0.200
netmask 255.0.0.0
network 10.0.0.0
broadcast 10.255.255.255
gateway 10.0.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 10.0.0.1
dns-search rrh.net

auto eth1
iface eth1 inet static
address 192.168.2.1
netmask 255.255.255.0

Seguindo o livro do Carlos E. Morimoto rodei os comandos abaixo:


#modprobe iptable_nat
#echo 1 > /proc/sys/net/ipv4/ip_forward
#iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Responder tópico

Responder tópico

Entre na sua conta para responder.

Fazer login para responder