Community discussions

MikroTik App
 
tonny
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Fri Oct 09, 2015 10:50 am

router source ip for upgrade

Wed Apr 21, 2021 12:38 pm

Hi,
I got an RB4011 which got an peer to peer connection for uplink. The default route point at the remote peer. This works fine for the internal subnets.

Checking for a upgrade however does not. The RBseems to selects its P2P address to do so for it lies in the default route subnet, but the remote does not allow for it. Makes sense, the net is meant for Peering only.

Can we let the RB run the dns requests & package download from any of it's other adresses ??

// Tonny
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12001
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: router source ip for upgrade

Wed Apr 21, 2021 1:12 pm

modify the DNS IP 8.8.8.8 and Gateway IP 1.2.3.4, RB IP 4.3.2.1 accordling to your needs.
/ip route
add distance=1 dst-address=8.8.8.8/32 gateway=1.2.3.4  pref-src=4.3.2.1
= for go to 8.8.8.8, go over IP 1.2.3.4 using 4.3.2.1
 
tonny
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Fri Oct 09, 2015 10:50 am

Re: router source ip for upgrade

Fri Apr 23, 2021 2:08 pm

Hi,

Thnx for the suggestion. It would however impact all subnets behind it, but .... since i need it to pick ROS software from a specific host the idea worked because that's that one hosts sole purpose.
(think it would would be neat if you could specify the source ip to use for upgrades)

Thnx

Who is online

Users browsing this forum: GoogleOther [Bot], nl2024, scoobyn8, UkRainUa and 54 guests