dhcp_and_nat
- —-
- BANGLALINK-INTERNET-KBAZAR#show running-config
- Building configuration…
- Current configuration : 2293 bytes
- !
- ! Last configuration change at 13:22:00 UTC Sat Aug 13 2016 by noc
- !
- version 15.4
- service timestamps debug datetime msec
- service timestamps log datetime msec
- no service password-encryption
- !
- hostname BANGLALINK-INTERNET-KBAZAR
- !
- boot-start-marker
- boot-end-marker
- !
- !
- enable password bdcom987
- !
- aaa new-model
- !
- !
- !
- !
- !
- !
- !
- aaa session-id common
- !
- !
- !
- !
- !
- !
- !
- !
- !
- !
- !
- ip dhcp excluded-address 192.168.0.1 192.168.0.10
- !
- ip dhcp pool BL_office
- network 192.168.0.0 255.255.255.0
- dns-server 210.4.77.180
- default-router 192.168.0.1
- !
- !
- !
- ip cef
- no ipv6 cef
- !
- multilink bundle-name authenticated
- !
- cts logging verbose
- !
- !
- license udi pid CISCO1941/K9 sn FGL192722K6
- !
- !
- username noc password 0 bdcom987
- !
- redundancy
- !
- !
- !
- !
- !
- !
- !
- !
- !
- !
- !
- !
- !
- !
- !
- interface Loopback1
- ip address xxx.40.84.41 255.255.255.252
- !
- interface Embedded-Service-Engine0/0
- no ip address
- shutdown
- !
- interface GigabitEthernet0/0
- description primary_link
- ip address 10.255.33.46 255.255.255.252
- ip nat outside
- ip virtual-reassembly in
- duplex auto
- speed auto
- !
- interface GigabitEthernet0/1
- ip address pool BL_office
- ip nat inside
- ip virtual-reassembly in
- duplex auto
- speed auto
- !
- router bgp 65526
- bgp log-neighbor-changes
- network 119.40.84.40 mask 255.255.255.252
- neighbor 10.255.33.45 remote-as 24122
- neighbor 10.255.33.45 description BDCOM-Primary
- neighbor 10.255.33.45 remove-private-as
- neighbor 10.255.33.45 prefix-list bdcom-p-in in
- neighbor 10.255.33.45 prefix-list bdcom-p-out out
- !
- ip forward-protocol nd
- !
- no ip http server
- no ip http secure-server
- !
- ip nat pool netpool 119.40.84.41 119.40.84.42 netmask 255.255.255.252
- ip nat inside source list 100 pool netpool overload
- !
- !
- ip prefix-list bdcom-p-in seq 10 permit 0.0.0.0/0
- ip prefix-list bdcom-p-in seq 50 deny 0.0.0.0/0 le 32
- !
- ip prefix-list bdcom-p-out seq 10 permit 119.40.84.40/30
- ip prefix-list bdcom-p-out seq 50 deny 0.0.0.0/0 le 32
- !
- !
- access-list 100 remark ==Control NAT==
- access-list 100 permit ip 192.168.0.0 0.0.0.255 any
- !
- !
- !
- control-plane
- !
- !
- !
- line con 0
- password bdcom987
- line aux 0
- line 2
- no activation-character
- no exec
- transport preferred none
- transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
- stopbits 1
- line vty 0 4
- password bdcom987
- transport input telnet
- !
- scheduler allocate 20000 1000
- !
- End
- ———————————–
- ACI-Hobigong(config)#line vt
- ACI-Hobigong(config)#line vty 0 4
- ACI-Hobigong(config-line)#tran
- ACI-Hobigong(config-line)#transport in
- ACI-Hobigong(config-line)#transport input al
- ACI-Hobigong(config-line)#transport input all
- ————–For Telnet Allow —–
- 10.255.72.22 -ACT Hobigong
- username noc password 0 xxx#@!
- —-
dhcp_and_nat.txt · Last modified: 2023/03/06 11:31 by 127.0.0.1