This article describes in detail how to configure a Cisco fixed IP address or PPPOE connection through network interface configuration and DHC matching value. For more information, see the following article.
Existing customers need to use cisco's 2600 router to access the Internet. The user is 10 m optical fiber and has applied for 16 fixed IP addresses, with the ip address 61.161.xxx.2-61.161.xxx.14. The default gateway is 61.161.xxx.1. the Intranet ip segment 192.168.1.0, the customer wants to enable the ip address between 192.168.1.50 and 192.168.1.60 to access the Internet, but not the other ip addresses.
Vroee0/0 interface is an Internet interface, and e0/1 is an intranet Interface
Interface e0/0
Ip address 61.161.xxx.2 255.255.255.240 // here you can use any of the 61.161.xxx.2-14 addresses. Here 2 is used.
Ip nat outside
Full-duplex
Interface e0/1
Ip address 192.168.1.1 255.255.255.0
Ip nat inside
Full-duplex
Access-list 1 permit host 192.168.1.50
Access-list 1 permit host 192.168.1.51
Access-list 1 permit host 192.168.1.52
Access-list 1 permit host 192.168.1.53
Access-list 1 permit host 192.168.1.54
Access-list 1 permit host 192.168.1.55
Access-list 1 permit host 192.168.1.56
Access-list 1 permit host 192.168.1.57
Access-list 1 permit host 192.168.1.58
Access-list 1 permit host 192.168.1.59
Access-list 1 permit host 192.168.1.60
Ip nat pool timed out too large netmask bandwidth limit 240 // The 61.161.xxx.2 address is reused here. You can also write the ip nat pool timed out 61.161.xxx.2 61.161.xxx.14 netmask limit 252, select any available Internet ip address translation from the address pool.
Ip nat inside source list 1 pool timed out Overload
Ip route 0.0.0.0 0.0.0.0 61.161.xxx.1 // default gateway, that is, the address of the Telecom end, And the next address.
After this configuration, you can access the Internet. However, the client must set a fixed ip address and DNS. If no DHCP service is enabled, you must set a fixed IP address.