Sie sind auf Seite 1von 3

* crear puentes con su nombre

interface bridge add name=bridgered1

*asignar ehter(puertos) al puente


interface bridge port add bridge=bridgered1 interface=ether1

*asignar ip al puerto(bridge)
ip address add address =172.16.0.0/22 interface=bridgered1

*asignar el dns
ip dns set server=8.8.8.8,8.8.4.4

*asignar el dhcp
ip dhcp-server setup, luego enter
dhcp server interface: bridgered1, luego enter
dhcp address space: 172.16.0.0/22, luego enter
gateway for dhcp network:102.16.0.1, luego enter
(pool) address to give out: 172.16.0.2-172.16.3.254, luego enter
dns server:8.8.8.8,8.8.4.4, luego enter
lease time: 10m o 1d 00:00:00

interface bridge add name=bridgered1


interface bridge add name=bridgered2
interface bridge add name=bridgered3
interface bridge add name=bridgered4
interface bridge add name=bridgered5
interface bridge add name=bridgered6
interface bridge port add bridge=bridgered1 interface=ether1
interface bridge port add bridge=bridgered2 interface=ether2
interface bridge port add bridge=bridgered3 interface=ether3
interface bridge port add bridge=bridgered4 interface=ether4
interface bridge port add bridge=bridgered5 interface=ether5
interface bridge port add bridge=bridgered6 interface=ether6
ip address add address=172.16.0.0/22 interface=bridgered1
ip address add address=172.16.0.0/22 interface=bridgered2
ip address add address=172.16.0.0/22 interface=bridgered3
ip address add address=172.16.0.0/22 interface=bridgered4
ip address add address=172.16.0.0/22 interface=bridgered5
ip address add address=172.16.0.0/22 interface=bridgered6
ip dns set server=8.8.8.8,8.8.4.4
ip dhcp-server setup

TALLER

interface bridge add name=bridgered1


interface bridge add name=bridgered2
interface bridge add name=bridgered3
interface bridge add name=bridgered4
interface bridge port add bridge=bridgered1 interface=ether1
interface bridge port add bridge=bridgered2 interface=ether2
interface bridge port add bridge=bridgered3 interface=ether3
interface bridge port add bridge=bridgered4 interface=ether4

// a�adimos direcciones ip a los puertos


ip address add address=127.0.0.0/26 interface=bridgered1
ip address add address=192.168.0.0/24 interface=bridgered2
ip address add address=192.168.0.0/26 interface=bridgered3
ip address add address=192.168.0.0/25 interface=bridgered4
//a�adimos el dns para server
ip dns set server=8.8.8.8,8.8.4.4

// configuramos dhcp para los puertos


ip dhcp-server setup
Select interface to run DHCP server on

dhcp server interface: bridgered1


Select network for DHCP addresses

dhcp address space: 127.0.0.0/26


Select gateway for given network

gateway for dhcp network: 127.0.0.1


Select pool of ip addresses given out by DHCP server

addresses to give out: 127.0.0.2-127.0.0.62


Select DNS servers

dns servers: 8.8.8.8,8.8.4.4


Select lease time

lease time: 1d 00:00:00

ip dhcp-server setup
Select interface to run DHCP server on

dhcp server interface: bridgered2


Select network for DHCP addresses

dhcp address space: 192.168.0.0/24


Select gateway for given network

gateway for dhcp network: 192.168.0.1


Select pool of ip addresses given out by DHCP server

addresses to give out: 192.168.0.2-192.168.0.254


Select DNS servers

dns servers: 8.8.8.8,8.8.4.4


Select lease time

lease time: 1d 00:00:00


ip dhcp-server setup
Select interface to run DHCP server on

dhcp server interface: bridgered3


Select network for DHCP addresses

dhcp address space: 192.168.0.0/26


Select gateway for given network

gateway for dhcp network: 192.168.0.1


Select pool of ip addresses given out by DHCP server

addresses to give out: 192.168.0.2-192.168.0.62


Select DNS servers
dns servers: 8.8.8.8,8.8.4.4
Select lease time

lease time: 1d 00:00:00

ip dhcp-server setup
Select interface to run DHCP server on

dhcp server interface: bridgered4


Select network for DHCP addresses

dhcp address space: 192.168.0.0/25


Select gateway for given network

gateway for dhcp network: 192.168.0.1


Select pool of ip addresses given out by DHCP server

addresses to give out: 192.168.0.2-192.168.0.126


Select DNS servers

dns servers: 8.8.8.8,8.8.4.4


Select lease time

lease time: 1d 00:00:00

//con esto activamos ipv6


system package print // mostramos la lista de paquetes que tiene el router
system package enable 2 // habilitamos con el numeor que aparesca en que quermos
habilitar
system reboot //reiniciamos router para activar "ipv6"
y //aceptamos el reinicio del router

// con esto configuramos la nube en teoria


ip address add address=192.168.1.1/24 interface=ether5

ip pool add name=pool-RedLAN ranges=192.168.1.10-192.168.1.20

ip dhcp-server add address-pool="pool-RedLAN" interface=ether1 name=server-RedLAN

ip dhcp-server network add address=192.168.1.0/24 dns-server=192.168.1.1


gateway=192.168.1.1

//a�adimos direcciones ipv6


ipv6 address add address=2001:db8::/64 interface=ether1 advertise=yes eui-64=yes
ipv6 address add address=2001:db8::1/64 interface=ether2 advertise=yes eui-64=yes
ipv6 address add address=2001:db8::2/64 interface=ether3 advertise=yes eui-64=yes
ipv6 address add address=2001:db8::3/64 interface=ether4 advertise=yes eui-64=yes

//hacemos ping con ipv4


ping 192.168.0.0

ipv6 address print

// hacemos ping con ipv6


con el primero de la lista