1. Set vro Management Information
1. Connect the 9-hole connector with the flat control line, connect the CONSOLE to the terminal or PC serial port, and set the parameters of the terminal or the Super Terminal directly connected to the serial port: the BAND rate is 9600, no parity, 8-Bit Data bit, 1-bit stop bit.
2. When the router is powered on, the terminal screen displays the power-on process.
3. Set the password in privileged Mode
Line vty 0 4
Password bc123
Exit
Enable secret bc123fzq123
Exit
4. Set vro information in privileged mode:
Hostname bc3640
Ip domain-list jzl. cq
Ip domain-list jz2.cq
Ip domain-name jzl. cq
Ip name-sever 10.54.34.1
5. Go to global mode and configure the ethernet address
Configure timinal
Interface fastethernet 0/0
Ip address 192.168.254.254 255.255.255.0
No shutdown
Exit
Interface fastethernet 1/0
Ip address 10.154.34.253 255.255.255.252
Noshut down
Exit
Enable IP routing
Ip routing
Set the dial-in customer name and password
Username user1 password 123
Set the dialing group parameters to specify the IP address for the dialing customer
Line 65 72
Autoselect ppp
Modem inout
Transport inputall
Exit
Interface group-async1
Ip unnumbered fastethernet 1/0
Encapsulation ppp
Dialer in band
Dialer map ip 10.154.34.247 name user 1
Async default routing
Anync mode interactive
Peer default ip address pool default
Ppp authentication chap pap
Group-ranger 65 72; vro remote dial-in Port
Set the internal ospf route protocol and static route
Access-list 77 permit 10.154.34.0 0.0.1.255
Router ospf 110
Redistribute connected subnets
Redistribute static subnets
Passive-interface fastethernet 0/0
Network 10.154.34.0 0.0.255 area 0
Network 10.154.35.0 0.0.0.255 area 0
Distribute-list 77 out
Exit
Ip default-gateway 10.154.34.254
Ip router 0.0.0.0 0.0.0.0 10.154.34.254
Ip router 10.0.0.0 255.0.0.0 10.154.34.254
Ip router 192.168.0.0 255.255.0.0 192.168.254.1
Set NAT Translation
Access-list 99 deny 192.168.3.1
Access-list 99 permit 192.168.3.0 0.0.255
Access-list 99 permit 192.168.0.0 0.255.255
Ip nat pool netdyn 10.154.35.1 10.154.35.126 netmask 255.255.255.0
Ip nat inside source list 99 pool netdyn overload
Ip nat inside source static 192.168.3.1 10.154.35.1
Interface fastethernet1/0
Ip nat outside
Exit
Interface group-async1
Ip nat outside
Exit
Interface fastethernet 0/0
Ip nat insider
Exit
Write memory
Ii. CISCO router Wan Configuration Wizard
1. dial-on demand routing (ddr) is a network connection provided by a public telephone network.
Generally, most WAN connections use leased lines. routers connect to DCE devices similar to modem or isdntas. They support synchronous V.25BITS protocol. You can use the scripts and dialer commands to set the dial-up string.
DDR is suitable for scenarios where the user's log rate is not high and sometimes there is data transmission or data is transmitted only at a specific time, such as when the bank transfers reports every night.
When a packet arrives at the vro, a DDR request is generated. The vro sends the call establishment information to the DCE device of the specified serial port, this call connects the local device to a remote device. Once no data is transmitted, the idle time starts to record the time. The connection is terminated when the specified time is exceeded. DDR now uses static routes to transmit data, avoiding DDR dialing caused by route switching.
And XNS can be configured to one or more destinations through DDR routing addressing, synchronous serial port, asynchronous serial port and ISDN port.
Below is a typical DDR connection:
During DDR configuration, We can configure one or more physical ports as a logical dialing interface, which can be synchronized to V.25, synchronous DYR enables dialing or asynchronous CHATSCRIPT in port configuration mode:
Activate DIAL-ON-demand routing on a port
Command: dialer in-band
Specify a port as a dial-up access group: dialer-group-number
Specify a single phone number: dialer string dialer-string
Unprecedented waiting time before disconnection: dialer idle-time seconds
Define one or more target phone numbers:
Dialer map protocol net-hop-address dialer-string
Restrict the transmitted access-list table or specific protocol:
Dialer-list dialer-group list access-list-number or
Dialer-list dialer-group protocol name (permit/deny/list access-list-number)
Specific Configuration:
!
Interface serial 0
Ip address 131.108.126.1 255.255.255.0
Dialer in-band
Dialer-group 1
!
Dialer map ip Address: 131.108.126.2 55551234
!
Dialer idle-timeout 300
Dialer backup example
A) Synchronous V.25bits Mode
Configuration for routeconfig:
Interface serial 10: 0
Backup delay 0 10
Backup interface serial 110
Ip address 16.217.30.2 255.255.255.252
!
Interface serial 110
Ip address 16.30.16.81 255.255.255.25.0
Encapsulation ppp
Dialer in-band
Dialer string 8292
Dialer-group 1
Pulse-time 1
!
Dilar-list 1 protocol ip permit