You are on page 1of 4

sudo su

clear
apt-get update
apt-get upgrade
who
alt izq o der
ifconfig interfaces de red
service networking restart
etc/init.d/networking restart
ifdown eth0
ifup eth0
dhclient
CONFIGURAR RED EN MODO ESTATATICO EN UBUNTU
nano : editor
con ctrl o : guardo
ctrl x : salgo
nano /etc/network/intefaces
auto eth0
iface eth0 inet static
address x.x.x.x
netmask x.x.x.x
network x.x.x.x
broadcast x.x.x.255
CONFIGURAR RED EN MODO DHCP EN UBUNTU
auto eth0
iface eth0 inet dhcp
.......
auto eth0:1
iface eth0:1 inet6 static
address
netmask
gateway
CONFIGURAR RED EN MODO ESTATATICO EN UBUNTU ipv6
auto eth0
iface eth0 inet6 static
address 2011:....::1
netmask 64
gateway 2011.....::1
ip -6 route show
ping6 2011:.....
ravdv
apt-cache searh nombre.paquete
apt-get install nombre.paquete
apt-get install radvd
apt-get autoremove nombre.paquete ...purge
Servidor RA: va a funcionar como router
Servidor DHCP: IPV4
IPV6
METODO EVI64: parte la direccion mac en 2 y la convierte en hexadicimal y el cen
trola relana con FEFF
apt-get install radvd
apt-get autoremove radvd
--purge
nano /etc/radvd.conf
interface eth1
{
AdvSendAverton on;
prefix 2001:1234:5678:ABCD::/64
{
AdvOnLink on;
AdvAutonomous on;
};
};
nano /etc/sysctl.conf
descomentar el archivo
net.ipv6.conf.all.forwarding=1
2011:0db:1::1
/etc/init.d/radvd start stop status restart
-----isc-dhcp-server------
apt-get install
cd /etc/dhcp enter
cp dhcpd.conf dhcpd.conf.bck
nano dhcpd.conf
/etc/init.d/isc-dhcpd-server restart
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name "mydomain.example";
subnet 192.168.1.0 netmask 255.255.255.0
{
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}
nano /etc/default/isc-dhcp-server
y donde dicen interfaces pongo el eth0
ver ERRORES
tail /var/log/syslog
Vln23tn20102011$...
IPV6
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
subnet6 2001:xxxx:xxxx:xxxx::64/
{
range6 2001:xxxx:xxxx:xxxx::100
2001:xxxx:xxxx:xxxx::110
#option dhcp6.name-servers fec0:0:0:1::1;
option dhcp6.domain-search "domain.examples";
}
/etc/init.d/isc-dhcp-serve6 start
2011:0db8:3c4d:1::1
2

You might also like