Code: Select all
[admin@USGW] > ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 192.168.122.1 1
1 ADC 10.10.10.0/30 10.10.10.1 ether2 0
2 ADbU 103.xxx.80.0/23 20
3 ADb 103.xxx.80.0/24 10.10.10.2 20
4 ADb 103.xxx.81.0/24 10.10.10.2 20
Code: Select all
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing bgp instance
set default client-to-client-reflection=no disabled=yes
add as=65530 client-to-client-reflection=no name=USG-SS router-id=10.10.10.1
/ip address
add address=10.10.10.1/30 interface=ether2 network=10.10.10.0
/ip dhcp-client
add disabled=no interface=ether1
/ip dns
set servers=8.8.8.8
/routing bgp aggregate
add inherit-attributes=no instance=USG-SS prefix=103.xx.80.0/23
/routing bgp network
add network=1.1.1.0/24 synchronize=no
/routing bgp peer
add default-originate=always instance=USG-SS name=PEER-SS remote-address=\
10.10.10.2 remote-as=65531 remove-private-as=yes use-bfd=yes
/system identity
set name=USGW
/system logging
add topics=bgp
/tool romon
set enabled=yes