Hi,
I’m having problem with this with no traffic going out to the WAN
I’m getting no ip from isp with my sfp :\
vlans used by isp : 100 (VOIP), 101 (IPTV) and 102 (Internet)
Info about the gbic:
/interface/ethernet/monitor sfp-sfpplus1
name: sfp-sfpplus1
status: link-ok
auto-negotiation: done
rate: 1Gbps
full-duplex: yes
tx-flow-control: no
rx-flow-control: no
supported: 10M-baseT-half,10M-baseT-full,100M-baseT-half,100M-baseT-full,1G-baseT-half,1G-baseT-full,1G-baseX,2.5G-baseT,2.5G-baseX,5G-baseT,10G-baseT,10G-baseSR-LR,10G-baseCR
sfp-supported: 1G-baseX
advertising: 1G-baseX
link-partner-advertising:
sfp-module-present: yes
sfp-rx-loss: no
sfp-tx-fault: no
sfp-type: SFP/SFP+/SFP28/SFP56
sfp-connector-type: LC
sfp-link-length-sm: 20km
sfp-vendor-name: OEM
sfp-vendor-part-number: SFP-BX-U31
sfp-vendor-revision: 1.0
sfp-vendor-serial: F10GU14542
sfp-manufacturing-date: 23-01-04
sfp-wavelength: 1310nm
sfp-temperature: 30C
sfp-supply-voltage: 3.316V
sfp-tx-bias-current: 23mA
sfp-tx-power: -6.051dBm
sfp-rx-power: -6.802dBm
eeprom-checksum: good
eeprom: 0000: 03 04 07 00 00 00 00 00 00 00 00 01 0d 00 14 c8 … …
0010: 00 00 00 00 4f 45 4d 20 20 20 20 20 20 20 20 20 …OEM
0020: 20 20 20 20 00 00 00 00 53 46 50 2d 42 58 2d 55 … SFP-BX-U
0030: 33 31 20 20 20 20 20 20 31 2e 30 20 05 1e 00 a1 31 1.0 …
0040: 00 1a 00 00 46 31 30 47 55 31 34 35 34 32 20 20 …F10G U14542
0050: 20 20 20 20 32 33 30 31 30 34 20 20 68 90 01 80 2301 04 h…
0060: 2d 00 11 81 64 a2 0e c9 9c cd 67 bf 7b 13 8a c5 -…d… ..g.{…
0070: 69 01 e1 00 00 00 00 00 00 00 00 00 58 6b 9e cd i… …Xk..
0080: 64 00 d8 00 5a 00 dd 00 8b 74 76 5c 88 b8 77 ec d…Z… .tv..w.
0090: af c8 03 e8 9c 40 07 d0 18 a6 03 e8 13 94 04 eb …@.. …
00a0: 18 a6 00 3f 13 94 00 4f 00 00 00 00 00 00 00 00 …?..O …
00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 … …
00c0: 00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00 …?.. …
And here is my running config:
# 1970-01-02 01:41:43 by RouterOS 7.16.1
# software id = 9QMV-VT77
#
# model = RB5009UPr+S+
# serial number = <edited>
/disk
set usb1 media-interface=none media-sharing=no
/interface bridge
add admin-mac=74:4D:28:27:8E0 auto-mac=no comment=defconf igmp-snooping=yes \
name=bridge-lan
/interface ethernet
set [ find default-name=ether7 ] name="ether7[wifi-ap]"
set [ find default-name=ether8 ] name="ether8[htpc-dl]"
set [ find default-name=sfp-sfpplus1 ] mac-address=XX:XX:XX:XX:XX:XX (Mac adresse hjemmesentral)
/interface vlan
add interface=sfp-sfpplus1 name=vlan-altibox-internett vlan-id=102
add interface=sfp-sfpplus1 name=vlan-altibox-iptv vlan-id=101
add interface=sfp-sfpplus1 name=vlan-altibox-voip vlan-id=100
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/ip dhcp-client option
add code=60 name=vendor-class-identifier value=0x46542D503334313042
/ip dhcp-server option
add code=43 name=q22 value=\
"'Altibox-TMS-Server-Address:https://tmc.services.altibox.net:37020/acs'"
/ip pool
add name=dhcp ranges=192.168.1.50-192.168.1.100
/ip dhcp-server
add address-pool=dhcp interface=bridge-lan lease-time=23h59m name=lan
/interface bridge port
add bridge=bridge-lan comment=defconf ingress-filtering=no interface=ether2
add bridge=bridge-lan comment=defconf ingress-filtering=no interface=ether3
add bridge=bridge-lan comment=defconf ingress-filtering=no interface=ether4
add bridge=bridge-lan comment=defconf ingress-filtering=no interface=ether5
add bridge=bridge-lan comment=defconf ingress-filtering=no interface=ether6
add bridge=bridge-lan comment=defconf ingress-filtering=no interface=\
"ether7[wifi-ap]"
add bridge=bridge-lan comment=defconf ingress-filtering=no interface=\
"ether8[htpc-dl]"
add bridge=bridge-lan ingress-filtering=no interface=ether1
/interface list member
add comment=defconf interface=bridge-lan list=LAN
add comment=defconf interface=vlan-altibox-internett list=WAN
/ip address
add address=192.168.1.1/24 comment=defconf interface=ether1 network=\
192.168.1.0
/ip dhcp-client
add add-default-route=special-classless default-route-distance=100 \
dhcp-options=vendor-class-identifier interface=vlan-altibox-voip \
use-peer-dns=no use-peer-ntp=no
add add-default-route=special-classless default-route-distance=100 \
dhcp-options=vendor-class-identifier interface=vlan-altibox-iptv \
use-peer-dns=no use-peer-ntp=no
add dhcp-options=vendor-class-identifier interface=vlan-altibox-internett
add interface=sfp-sfpplus1
/ip dhcp-server network
add address=192.168.1.0/24 comment=defconf dhcp-option=q22 dns-server=\
192.168.1.1 gateway=192.168.1.1 netmask=24 ntp-server=\
92.220.229.76,109.247.114.45,45.14.53.68,92.220.229.77
/ip firewall address-list
add address=192.168.1.2-192.168.1.254 list=allowed_to_router
/ip firewall filter
add action=accept chain=input comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=accept chain=input in-interface=vlan-altibox-iptv protocol=igmp
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
invalid
add action=drop chain=forward comment="defconf: drop invalid" \
connection-state=invalid
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
connection-state=established,related hw-offload=yes
add action=accept chain=forward connection-state=established,related
add action=accept chain=input src-address-list=allowed_to_router
add action=accept chain=input comment="WAN to router" connection-state=\
established,related in-interface-list=WAN
add action=accept chain=input src-address-list=allowed_to_router
add action=drop chain=input in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
ipsec-policy=out,none log=yes out-interface=vlan-altibox-internett
add action=masquerade chain=srcnat out-interface=vlan-altibox-iptv
add action=masquerade chain=srcnat out-interface=vlan-altibox-voip
/ipv6 address
# address pool error: pool not found: ipv6-pd (4)
add address=::1 from-pool=ipv6-pd interface=bridge-lan
/ipv6 dhcp-client
add add-default-route=yes comment="Altibox pd" interface=\
vlan-altibox-internett pool-name=ipv6-pd prefix-hint=::/56 request=\
address,prefix use-peer-dns=no
/ipv6 firewall address-list
add address=::/128 comment="defconf: unspecified address" list=bad_ipv6
add address=::1/128 comment="defconf: lo" list=bad_ipv6
add address=fec0::/10 comment="defconf: site-local" list=bad_ipv6
add address=::ffff:0.0.0.0/96 comment="defconf: ipv4-mapped" list=bad_ipv6
add address=::/96 comment="defconf: ipv4 compat" list=bad_ipv6
add address=100::/64 comment="defconf: discard only " list=bad_ipv6
add address=2001:db8::/32 comment="defconf: documentation" list=bad_ipv6
add address=2001:10::/28 comment="defconf: ORCHID" list=bad_ipv6
add address=3ffe::/16 comment="defconf: 6bone" list=bad_ipv6
add address=::224.0.0.0/100 comment="defconf: other" list=bad_ipv6
add address=::127.0.0.0/104 comment="defconf: other" list=bad_ipv6
add address=::/104 comment="defconf: other" list=bad_ipv6
add address=::255.0.0.0/104 comment="defconf: other" list=bad_ipv6
/ipv6 firewall filter
add action=accept chain=input comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=accept chain=input comment="defconf: accept ipsec AH" protocol=\
ipsec-ah
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
invalid
add action=accept chain=input comment="defconf: accept ICMPv6" protocol=\
icmpv6
add action=accept chain=input comment="defconf: accept UDP traceroute" port=\
33434-33534 protocol=udp
add action=accept chain=input comment=\
"defconf: accept DHCPv6-Client prefix delegation." dst-port=546 protocol=\
udp src-address=fe80::/10
add action=accept chain=input comment="defconf: accept IKE" dst-port=500,4500 \
protocol=udp
add action=accept chain=input comment="defconf: accept ipsec ESP" protocol=\
ipsec-esp
add action=accept chain=input comment=\
"defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
add action=drop chain=input comment=\
"defconf: drop everything else not coming from LAN" in-interface-list=\
!LAN
add action=accept chain=forward comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" \
connection-state=invalid
add action=drop chain=forward comment=\
"defconf: drop packets with bad src ipv6" src-address-list=bad_ipv6
add action=drop chain=forward comment=\
"defconf: drop packets with bad dst ipv6" dst-address-list=bad_ipv6
add action=drop chain=forward comment="defconf: rfc4890 drop hop-limit=1" \
hop-limit=equal:1 protocol=icmpv6
add action=accept chain=forward comment="defconf: accept ICMPv6" protocol=\
icmpv6
add action=accept chain=forward comment="defconf: accept HIP" protocol=139
add action=accept chain=forward comment="defconf: accept IKE" dst-port=\
500,4500 protocol=udp
add action=accept chain=forward comment="defconf: accept ipsec AH" protocol=\
ipsec-ah
add action=accept chain=forward comment="defconf: accept ipsec ESP" protocol=\
ipsec-esp
add action=accept chain=forward comment=\
"defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
add action=drop chain=forward comment=\
"defconf: drop everything else not coming from LAN" in-interface-list=\
!LAN
/ipv6 nd
set [ find default=yes ] interface=bridge-lan other-configuration=yes
/routing igmp-proxy
set quick-leave=yes
/routing igmp-proxy interface
add alternative-subnets=0.0.0.0/0 interface=vlan-altibox-iptv upstream=yes
add interface=bridge-lan
/system clock
set time-zone-name=Europe/Oslo
/system note
set show-at-login=no
/system ntp client
set enabled=yes
/system ntp client servers
add address=ntp.altibox.no