Quidway ar28-31 Router Configuration

Source: Internet
Author: User

############################
IP planning:
ETH1: Public network IP x.x.x.x
Eth0: Private network IP 192.168.0.249

############################
I. Configure user name password Telnet login

Console Port Landing Router
<quidway>system-view
[Quidway]local-user admin (username)
[Quidway-luser-admin]password Cipher * * * * * (password)
[Quidway-luser-admin]service-type telnet terminal (service type is telent terminal)
[Quidway-luser-admin]level 3 (Permission level)
------------------------------------
Return to configuration mode (Ctrl+z,sys)

[Quidway]user-interface vty 0 4 (Enter user terminal settings)
[Quidway-ui-vty0-4]authentication-mode Scheme (Configure authentication mode for scheme)
[quidway-ui-vty0-4]idle-timeout 0 0 (set time-out)


Return to configuration mode (Ctrl+z,sys)

Save

Complete the configuration
############################
Two. Configure NAT Internet

1. Configure the Intranet interface IP
[Quidway]interface ethernet0/0
[Quidway-ethernet0/0]ip address 192.168.0.249 255.255.255.0
2. Configure the public network interface IP
[Quidway]interface ETHERNET0/1
[Quidway-ethernet0/1]ip address x.x.x.x 255.255.255.192
[Quidway]ip route-static 0.0.0.0 0.0.0.0 x.x.x.1 Preference 60 (configure default route)

3. Configure ACLs to allow the intranet IP segment to be NAT out
[Quidway]acl number 2000 (Specify ACL number)
[Quidway-acl-basic-2000]rule Permit source 192.168.0.0 0.0.0.255 (Allow 192.168.0.0, 24 segments)
[Quidway-acl-basic-2000]rule deny (access to other segments of the organization)
4. Open NAT on public network interface
[Quidway]interface ETHERNET0/1
[Quidway-ethernet0/1]nat Outbound 2000 (Apply ACL 2000 to define the IP segment of the rule snat)

Three. Configure static routes to access the room 1 and 6 segments

[Quidway]ip route-static 192.168.1.0 255.255.255.0 192.168.0.254 Preference 60
[Quidway]ip route-static 192.168.6.0 255.255.255.0 192.168.0.254 Preference 60

Save

Complete the configuration
--------------------------------------------------------------------------------

Add:
1. Clear the configuration
<quidway>reset saved-configuration
<quidway>reboot



Quidway ar28-31 Router Configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.