ESR Series Routers Operation Manual 51
esr# commit
Configuration has been successfully committed
esr# confirm
Configuration has been successfully confirmed
esr#
To view the detailed information on access control list, use the following command:
esr# show ip access-list white
7.10 Static routes configuration
Static routing is a type of routing in which routes are defined explicitly during the router
configuration without dynamic routing protocols.
Objective: Configure Internet access for users in LAN 192.168.1.0/24 and 10.0.0.0/8 using the static
routing. On R1 device, create gateway for Internet access. Traffic within LAN should be routed within LAN
zone, traffic from the Internet should belong to WAN zone.
Fig. 7.8—Network structure
Solution:
Define the device name for R1 router:
esr# hostname R1
esr#(config)# do commit
R1#(config)# do confirm
For gi1/0/1 interface, specify 192.168.1.1/24 address and 'LAN' zone. R1 will be connected to
192.168.1.0/24 network through this interface:
R1(config)# interface gi1/0/1
R1(config-if-gi)# security-zone LAN
R1(config-if-gi)# ip address 192.168.1.1/24
R1(config-if-gi)# exit
For gi1/0/2 interface, specify 192.168.100.1/30 address and 'LAN' zone. R1 will be connected to R2
device through this interface for the subsequent traffic routing:
R1(config)# interface gi1/0/2
R1(config-if-gi)# security-zone LAN
R1(config-if-gi)# ip address 192.168.100.1/30
R1(config-if-gi)# exit