What global and local path planning algorithms do ros use?
What is ros default global path planning algorithm?
what is ros default local path planning algorithm?
Are other algorithm implemented in ros (such as D star, potential field) such that one can decide which one to use for either local and/or global path planning?
I assume the default global and local path panning are the one used in rViz when I do "2D Nav Goal" as well as in Gazebo when I send navigation goal request to the move_base server. Is this correct?
You should check out the navigation tutorials, and the specific wikis for the global and local planners. ROS is open-source so you can view the source code yourself and add any custom flavor