4 Archivos adjunto(s)
Laboratorio bgp ipv6 simulando onu para clientes residenciales y comerciales
Laboratorio bgp ipv6 simulando onu para clientes residenciales y comerciales
Nota
En este laboratorio se simulara BGP con IPV6, pasando ONUS con el protocolo PPPoE a clientes residenciales y clientes comerciales
Nota
Los clientes Residenciales se encuentran en el servidor PPPoE con VLAN 910
Nota
Los clientes Comerciales se encuentran en el servidor PPPoE con VLAN 900
DIAGRAMA DEL LABORATORIO
Archivo adjunto 3990
ROUTER SERVER
/interface bridge
add name=lo
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing bgp instance
set default as=500 router-id=2.2.2.2
/ip dhcp-client
add disabled=no interface=ether1
/ipv6 address
add address=2606:4700:4700::1112 advertise=no comment=facebook interface=\
ether2
add address=3000:aba:2020:2020:2020:2022:201:1 advertise=no comment=_alestra \
interface=ether1
/routing bgp network
add network=2606:4700:4000::/36 synchronize=no
add network=3000:aba:2020:2020::/64 synchronize=no
/routing bgp peer
add address-families=ipv6 default-originate=always name=peer_alestra \
remote-address=3000:aba:2020:2020:2020:2022:201:2 remote-as=100
/system identity
set name=SERVER
/tool romon
set enabled=yes
ROUTER GOOGLE
/interface ethernet
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing bgp instance
set default as=800 router-id=4.4.4.4
/ip dhcp-client
add disabled=no interface=ether1
/ipv6 address
add address=3000:aba:3030:3030:3030:2022:301:2 interface=ether1
add address=2001:4860:4860::8882 interface=ether2
/routing bgp network
add network=2001:4860:4000::/36 synchronize=no
add network=3000:aba:3030:3030::/64 synchronize=no
/routing bgp peer
add address-families=ipv6 name=peer_alestra remote-address=\
3000:aba:3030:3030:3030:2022:301:1 remote-as=100
/system identity
set name=google
/tool romon
set enabled=yes
ROUTER CARRIER ALESTRA
/interface bridge
add name=lo
/interface ethernet
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing bgp instance
set default as=100 router-id=1.1.1.1
/ip dhcp-client
add disabled=no interface=ether1
/ipv6 address
add address=3000:aba:1010:1010:1010:2020:101:1 advertise=no comment=\
TO_BORDEMEGABOT interface=ether7
add address=2001:4860:4860::8882/128 advertise=no comment=google disabled=yes \
interface=ether2_
add address=3000:aba:2020:2020:2020:2022:201:2 advertise=no comment=to_server \
interface=ether3
add address=3000:aba:3030:3030:3030:2022:301:1 advertise=no comment=google \
interface=ether4_
/routing bgp network
add network=3000:aba:1010:1010::/64 synchronize=no
/routing bgp peer
add address-families=ipv6 default-originate=always name=CPE_BM \
remote-address=3000:aba:1010:1010:1010:2020:101:2 remote-as=200
add address-families=ipv6 default-originate=always name=peer_server \
remote-address=3000:aba:2020:2020:2020:2022:201:1 remote-as=500
add address-families=ipv6 name=peer_google remote-address=\
3000:aba:3030:3030:3030:2022:301:2 remote-as=800 update-source=ether2_
/system identity
set name=CarrierAlestra
/tool romon
set enabled=yes
ROUTER BORDEMEGABIT
/interface bridge
add name=lo
/interface ethernet
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing bgp instance
set default as=200 router-id=3.3.3.3
/ip dhcp-client
add disabled=no interface=ether1
/ipv6 address
add address=3000:aba:1010:1010:1010:2020:101:2 advertise=no comment=\
to_carrier_alestra interface=ether2
add address=2906:666:3010:aaaa:bbbb:cccc:ddd:1 advertise=no interface=ether3
/ipv6 route
add distance=1 dst-address=2906:666:3020::/44 gateway=\
2906:666:3010:aaaa:bbbb:cccc:ddd:2
add distance=1 dst-address=2906:666:3030::/44 gateway=\
2906:666:3010:aaaa:bbbb:cccc:ddd:2
add distance=1 dst-address=2906:666:3040::/44 gateway=\
2906:666:3010:aaaa:bbbb:cccc:ddd:2
/routing bgp network
add disabled=yes network=2906:666:3010:aaaa::/64 synchronize=no
add network=2906:666::/32 synchronize=no
/routing bgp peer
add address-families=ipv6 default-originate=always name=WAN_IPv6 \
remote-address=3000:aba:1010:1010:1010:2020:101:1 remote-as=100
/system identity
set name=BordeMegabit
/tool romon
set enabled=yes
Archivo adjunto 4020
ROUTER ENCORE
/interface ethernet
/interface vlan
add interface=ether2 name=VLAN900 vlan-id=900
add interface=ether6 name=VLAN910 vlan-id=910
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ipv6 pool
add name=POOL_CLIENTES_E6 prefix=2906:666:3030::/44 prefix-length=56
add name=POOL_CLIENTES_E2 prefix=2906:666:3040::/44 prefix-length=56
/ppp profile
set *0 remote-ipv6-prefix-pool=POOL_CLIENTES_E6
add change-tcp-mss=yes dhcpv6-pd-pool=POOL_CLIENTES_E2 name=profile_OLT_E2 \
use-encryption=yes
add change-tcp-mss=yes dhcpv6-pd-pool=POOL_CLIENTES_E6 name=profile_OLT_E6 \
use-encryption=yes
/interface pppoe-server server
add default-profile=profile_OLT_E2 disabled=no interface=VLAN900 \
service-name="INTERNET COMERCIAL"
add default-profile=profile_OLT_E6 disabled=no interface=VLAN910 \
service-name="INTERNET RESIDENCIAL"
/ip dhcp-client
add disabled=no interface=ether1
/ip dns
set servers=2001:4860:4860::8888,2001:4860:4860::8844
/ipv6 address
add address=2906:666:3010:aaaa:bbbb:cccc:ddd:2 advertise=no interface=ether1
/ipv6 nd
set [ find default=yes ] other-configuration=yes
/ipv6 route
add distance=1 gateway=2906:666:3010:aaaa:bbbb:cccc:ddd:1
add distance=1 gateway=2906:666:3010:aaaa:bbbb:cccc:ddd:1
/ppp secret
add name=usuario1 password=12345678 profile=profile_OLT_E2 service=pppoe
add name=usuario2 password=12345678 profile=profile_OLT_E6 service=pppoe
/system identity
set name=EncoreUrbi
/tool romon
set enabled=yes
ROUTER ONU_R
/interface ethernet
/interface vlan
add interface=ether1 name=VLAN910 vlan-id=910
/interface pppoe-client
add add-default-route=yes disabled=no interface=VLAN910 name=pppoe-out1 \
password=12345678 use-peer-dns=yes user=usuario2
add add-default-route=yes interface=VLAN910 name=pppoe-out2 password=12345678 \
use-peer-dns=yes user=usuario2
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ipv6 dhcp-server
add address-pool=LAN interface=ether2 name=server1
/ip dhcp-client
add disabled=no interface=ether1
/ip dns
set servers=2001:4860:4860::8888,2001:4860:4860::8844
/ipv6 address
add address=::5200:ff:fe03:1 eui-64=yes from-pool=LAN interface=ether2
/ipv6 dhcp-client
add interface=pppoe-out1 pool-name=LAN request=prefix
/ipv6 nd
set [ find default=yes ] other-configuration=yes
/system identity
set name=ONU_R
/tool romon
set enabled=yes
ROUTER ONU_C
/interface ethernet
/interface vlan
add interface=ether2 name=VLAN900 vlan-id=900
/interface pppoe-client
add add-default-route=yes disabled=no interface=VLAN900 name=pppoe-out1 \
password=12345678 use-peer-dns=yes user=usuario1
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ipv6 dhcp-server
add address-pool=LAN interface=ether1 name="/ipv6 address"
/ip dhcp-client
add disabled=no interface=ether1
/ipv6 address
add from-pool=LAN interface=ether1
/ipv6 dhcp-client
add add-default-route=yes interface=pppoe-out1 pool-name=LAN request=prefix
/ipv6 nd
set [ find default=yes ] other-configuration=yes
/system identity
set name=ONU_C
/tool romon
set enabled=yes
PING A CLIENTE ONU_R
Archivo adjunto 4018
PING A CLIENTES ONU_C
Archivo adjunto 4019
Nota
Las Pc estan configurado con DHCPv6