Ubiquiti EdgeRouter — настройка маршрутизации в сетевых устройствах: руководство пользователя [20/57]
Превью страниц
Страница 20 /
57
![Ubiquiti EdgeRouter [20/57] Router](/views2/1072902/page20/bg14.png)
17
Chapter 4: Routing Tab EdgeOS
™
User Guide
Ubiquiti Networks, Inc.
Black Hole
• Route type The black hole route drops unwanted traffic.
• Destination network The IP address and subnet mask
are displayed in slash notation.
• Distance (1-255) Enter the administrative distance. If
there are identical routes from different sources (such
as static, RIP, and OSPF), the EdgeRouter compares the
routes and uses the route with the lowest distance.
• Enable Check the box to enable the route.
Click Save to apply your changes.
OSPF
Using Link State Advertisements, routers communicate
with each other when there is a router or link status
change. Each router maintains the information in a
database, which is used to create and update a network
map from the router’s point of view. Each router then uses
the map to build and update a routing table.
Router
Router ID Enter the IP address that identifies a specific
router in an OSPF network. In OSPF, the highest Router ID
determines which router is the Designated Router (DR),
which distributes updates to the other OSPF routers.
Click Save to apply your changes, or click Delete OSPF
to remove the Router, Redistribution, and Area settings
(Interfaces settings are retained).
Redistribution
A single router can use multiple routing protocols, such
as OSPF and RIP, which use incompatible metrics. It
must reconcile information from multiple protocols to
determine which route to use for a specific destination
network. You can change the metrics of the distributed
protocol to create protocol compatibility.
Redistribute connected If enabled, the EdgeRouter
connects an OSPF area to a network using a different
routing protocol and redistributes the other protocol’s
directly connected routes into the OSPF area. These routes
become external OSPF routes.
- Metric If there are multiple routes to the same
destination, OSPF uses the metric to select a route
for the routing table. Assign a cost value to the
redistributed connected routes. The EdgeRouter can
then use this metric to compare these routes to other
OSPF routes.
Redistribute static If enabled, the EdgeRouter connects
an OSPF area to a network using a different routing
protocol and redistributes the other protocol’s static
routes into the OSPF area. These routes become external
OSPF routes.
- Metric If there are multiple routes to the same
destination, OSPF uses the metric to select a route
for the routing table. Assign a cost value to the
redistributed static routes. The EdgeRouter can then
use this metric to compare these routes to other OSPF
routes.
Announce default route If enabled, the EdgeRouter
communicates the default route to the other routers of
the OSPF network, eliminating the need to configure
the default route on the other routers. The default route
connects the OSPF network to an outside network.
Содержание
220- Chapter 1
- Chapter 5
- Chapter 4
- Chapter 3
- Chapter 2
- Services tab
- Chapter 6
- Wizards tab
- Using edgeos
- Users tab
- Table of contents
- Security tab
- Routing tab
- Overview
- Dashboard tab
- Chapter 8
- Chapter 7
- Chapter 9
- Appendix b
- Appendix a
- Toolbox
- Contact information
- Command line interface
- Typical deployment scenarios
- Soho deployment
- Service provider deployment
- Introduction
- Hardware overview and installation
- Configuration interface system requirements
- Configuration
- Chapter 1 overview
- Corporate deployment
- Ports and status information
- Navigation
- Chapter 2 using edgeos
- Alerts
- Welcome
- Toolbox
- System
- Common interface options
- Time zone
- Ssh server
- Name server
- Management settings
- Host name
- Gateway
- Domain name
- Basic settings
- System log
- Snmp agent
- Configuration management device maintenance
- Back up config
- Telnet server
- Upgrade system image
- Shut down router
- Restore config
- Restart shut down router
- Restart router
- Reset config to default
- Services
- Routes
- Firewall
- Chapter 3 dashboard tab
- Interfaces
- Distribution
- All ethernet vlan
- Configure the interface
- Configure the vlan
- Poe watchdog
- Configure the switch
- Configure the poe settings
- Ipv6 routing
- Chapter 4 routing tab
- Routes
- All static connected rip ospf
- Interface
- Gateway
- Configure the static route
- Router
- Redistribution
- Black hole
- Configure the ospf area
- Interfaces
- Configure the ospf interface
- Firewall policies
- Chapter 5 security tab
- All drop reject accept
- Configure the firewall policy
- Interfaces
- Configuration
- Source nat rules
- Add or configure a source nat rule
- Destination nat rules
- Add or configure a destination nat rule
- Firewall nat groups
- All address network port
- Pptp server
- Configure the firewall nat group
- Dhcp server
- Chapter 6 services tab
- Leases
- Configure the dhcp server
- Static mac ip mapping
- Details
- Pppoe server
- Dns forwarding
- Chapter 7 users tab
- Remote
- Configure the user
- Wan 2lan
- Setup wizards
- Chapter 8 wizards tab
- Optional secondary lan port eth2
- Lan port eth0
- Internet port eth1
- Erlite 3 er 8 erpro 8
- Optional secondary lan port eth0
- Lan ports eth2 eth3 and eth4
- Internet port eth1
- Erpoe 5
- Set up port forwarding
- Port forwarding rules
- Port forwarding
- Feature wizards
- Tcp mss clamping
- Set up upnp interfaces
- Chapter 9 toolbox
- Packet capture
- Discover
- Log monitor
- Access using a terminal emulator
- Access the cli
- Overview
- Connect to the console port
- Appendix a command line interface
- Access using telnet
- Access using ssh
- For help with commands you can either press the key or enter show and press the key
- For example type show interfaces to display the interfaces and their status information
- Enter show and press the key to view the settings that you have configured
- Each tab of the edgeos interface contains cli access
- Cli modes
- Change the default password of the ubnt login use the set command as detailed in remove the default user account on page 49
- When you first log in the cli is in operational mode press the key to view the available commands
- Button
- Warning use the shutdown command to properly shut down the edgerouter an improper shutdown such as disconnecting the edgerouter from its power supply runs the risk of data corruption
- At the top right of the screen click the cli
- User guide
- At the password prompt enter the password the default is ubnt
- Ubiquiti networks inc
- Appendix a command line interface edgeo
- To properly shut down the edgerouter use the shutdown command
- Access using the edgeos configuration interface
- The cli window appears at the login prompt enter the username the default is ubnt
- Set up a new user account preferred option for details go to remove the default user account on page 49
- Operational mode
- Note to enhance security we recommend that you change the default login using at least one of the following options
- Note the question mark does not display onscreen
- Configure an interface
- Configuration mode
- Create a new user
- Create a firewall rule using the full syntax
- Create a firewall rule
- User guide
- Appendix a command line interface edgeo
- Use the set commit save exit and delete commands
- Ubiquiti networks inc
- To undo uncommitted changes use the discard command
- To remove the default user account do the following
- To display uncommitted changes use the compare command
- To create the same firewall rule while reducing the amount of repetition in the full syntax use the edit command
- To create a firewall rule use the set or edit commands both methods are described below in addition use the compare discard up top copy and rename commands
- The plaintext password that you entered is converted to an encrypted password
- Remove the default user account
- Log out of the default user account
- Log in with the new user account
- Delete the default user account
- To display the existing firewall rule use the show firewall command
- Press the or tab key to display options for the specified edit level
- Appendix a command line interface edgeo
- User guide
- Ubiquiti networks inc
- To show changes within the edit level use the compare command
- To return to the top edit level use the top command
- To move up an edit level use the up command
- User guide
- Ubiquiti networks inc
- To create a new firewall rule from an existing firewall rule use the copy command
- To change the name of the new firewall rule use the rename command
- Appendix a command line interface edgeo
- Note this is a backup if the edgerouter were rebooted it would still boot from the default file config config boot 2 after the administrator deleted the ipsec configuration and was configuring of the openvpn tunnel circumstances changed so that the ipsec tunnel was required again consequently the administrator reverted the edgerouter to its previous configuration with the ipsec tunnel
- Manage the configuration file
- Here is an example that uses the commit revisions command
- Enter save and press the key
- Before making changes the administrator saved a backup configuration file with a working ipsec tunnel configuration
- Appendix a command line interface edgeo
- You can also keep a specified number of revisions of the configuration file on the local disk use the commit revisions configuration option
- User guide
- Ubiquiti networks inc
- Typically you use the save command to save the active configuration to disk config config boot however you can also save the active configuration to a different file or remote server
- To automatically make a remote backup after every commit use the commit archive configuration option enter location and press the key
- Scenario in the midst of the administrator changing an ipsec tunnel into an openvpn tunnel the administrator had to revert the edgerouter to its previous configuration with the ipsec tunnel
- On the remote tftp server a copy with the hostname and date is saved for each commit
- To display the entire configuration file for revision 0 use the show system commit file command
- To display the changes in revision 0 use the show system commit diff command
- To add a comment to the commit use the comment command
- Now you will see the comment when you use the show system commit command
- Note the following commands require that the configuration option commit revisions be set first
- For details on the commit revisions option go to manage the configuration file on page 52
- Appendix a command line interface edgeo
- After you verify that the changes should be saved use the confirm command
- After viewing the history of system commits you decide to discard the last four commits by admin_5 roll back the system configuration file to commit 4
- You can also specify the number of minutes to wait but you must remember to also use the confirm command otherwise if you forget then you can be surprised by the edgerouter s reboot to its previous configuration
- When you work on a remote router certain changes such as a firewall or nat rule can cut off access to the remote router so you then have to visit the remote router and reboot it to avoid such issues when you make risky changes use the commit confirm command first then use the confirm command to save your changes
- User guide
- Ubiquiti networks inc
- To roll back to an earlier commit use the show system commit and rollback commands
- Ubiquiti networks support
- Online resources
- Appendix b contact information
Похожие устройства
-
Ubiquiti AirRouter HPИнструкция по эксплуатации -
Ubiquiti AirRouterИнструкция по эксплуатации -
Ubiquiti EdgeRouter PROИнструкция по эксплуатации -
Ubiquiti EdgeRouter POEИнструкция по эксплуатации -
Ubiquiti EdgeRouter LiteИнструкция по эксплуатации -
Ubiquiti PicoStation М2Инструкция по эксплуатации -
Ubiquiti PicoStation 2HPИнструкция по эксплуатации -
Ubiquiti UniFi AP-Outdoor+Инструкция по эксплуатации -
Ubiquiti UniFi AP-Outdoor ACИнструкция по эксплуатации -
Ubiquiti UniFi AP OutdoorИнструкция по эксплуатации -
Ubiquiti UniFi AP ACИнструкция по эксплуатации -
Ubiquiti UniFi AP Pro (UAP-Pro)Инструкция по эксплуатации
Изучите, как настраивать маршрутизацию в сетевых устройствах, включая черные дыры, OSPF и перераспределение маршрутов. Подробные инструкции и советы по оптимизации.