cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1567
Views
0
Helpful
1
Replies

STATIC IP WAN

My Current WAN Setting is on PPPOE dialer and I want Configure WAN Interface to STATIC Ip Please help with this

Ip Address Provided by ISP

IP: 103.81.242.91

netmask: 255.255.255.248

Gateway: 103.81.242.89

primary DNS: 8.8.8.8

Secondary DNS: 4.4.2.2

 

Here is my current router config
no aaa new-model
ethernet lmi ce
!
!
!
!
!
!
!
!
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
license udi pid CISCO2921/K9 sn FGL164711U2
!
!
!
redundancy
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0/0
no ip address
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface GigabitEthernet0/0/1
no ip address
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/0/1.1
description *** COnnected to CMPS VLAN ***
encapsulation dot1Q 10
ip address 192.168.0.1 255.255.255.0
ip helper-address 192.168.110.2
ip helper-address 192.168.110.3
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1412
!
interface GigabitEthernet0/0/1.2
description *** COnnected to CMPS-TOP-FLOOR VLAN ***
encapsulation dot1Q 20
ip address 192.168.25.1 255.255.255.0
ip helper-address 192.168.110.2
ip helper-address 192.168.110.3
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1412
!
interface GigabitEthernet0/0/1.3
description *** COnnected to ADMIN VLAN ***
encapsulation dot1Q 30
ip address 192.168.102.1 255.255.255.0
ip helper-address 192.168.110.2
ip helper-address 192.168.110.3
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1412
!
interface GigabitEthernet0/0/1.4
description *** Connected to EXPC VLAN ***
encapsulation dot1Q 40
ip address 192.168.104.1 255.255.255.0
ip helper-address 192.168.110.2
ip helper-address 192.168.110.3
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1412
!
interface GigabitEthernet0/0/1.5
description *** Connected to LIBRARY VLAN ***
encapsulation dot1Q 50
ip address 192.168.103.1 255.255.255.0
ip helper-address 192.168.110.2
ip helper-address 192.168.110.3
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1412
!
interface GigabitEthernet0/0/1.6
description ***Connected to CSE LAB ***
encapsulation dot1Q 60
ip address 192.168.105.1 255.255.255.0
ip helper-address 192.168.110.2
ip helper-address 192.168.110.3
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1412
!
interface GigabitEthernet0/0/1.7
description *** Connected to HOSTEL VLAN ***
encapsulation dot1Q 70
ip address 192.168.106.1 255.255.255.0
ip helper-address 192.168.110.2
ip helper-address 192.168.110.3
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1412
!
interface GigabitEthernet0/0/1.8
description *** Connected to INST VLAN ***
encapsulation dot1Q 80
ip address 192.168.110.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1450
!
interface GigabitEthernet0/2
description *** Temporary Arrangement***
no ip address
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 2
!
interface Dialer1
mtu 1450
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
ppp chap hostname sipnaengg
ppp chap password 0 123456789
!
interface Dialer2
mtu 1450
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 2
ppp chap hostname sp7212970121_vpn@nme.in
ppp chap password 0 password
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source route-map BSNL interface Dialer2 overload
ip nat inside source route-map ISP2 interface Dialer1 overload
ip nat inside source static tcp 192.168.110.51 80 103.81.242.91 80 extendable
ip nat inside source static tcp 192.168.110.51 443 103.81.242.91 443 extendable
ip nat inside source static tcp 192.168.110.51 7443 103.81.242.91 7443 extendable
ip nat inside source static tcp 192.168.110.10 8010 103.81.242.91 8010 extendable
ip nat inside source static tcp 192.168.110.11 8011 103.81.242.91 8011 extendable
ip nat inside source static tcp 192.168.110.12 8012 103.81.242.91 8012 extendable
ip nat inside source static tcp 192.168.110.18 8018 103.81.242.91 8018 extendable
ip nat inside source static tcp 192.168.110.18 8019 103.81.242.91 8019 extendable
ip nat inside source static tcp 192.168.110.21 8021 103.81.242.91 8021 extendable
ip nat inside source static tcp 192.168.110.22 8022 103.81.242.91 8022 extendable
ip nat inside source static tcp 192.168.104.41 8041 43.231.255.106 8041 extendable
ip nat inside source static tcp 192.168.104.42 8042 43.231.255.106 8042 extendable
ip nat inside source static tcp 192.168.104.43 8043 43.231.255.106 8043 extendable
ip nat inside source static tcp 192.168.104.44 8044 43.231.255.106 8044 extendable
ip nat inside source static tcp 192.168.104.45 8045 43.231.255.106 8045 extendable
ip route 0.0.0.0 0.0.0.0 Dialer1
ip route 0.0.0.0 0.0.0.0 Dialer2 10
!
dialer-list 1 protocol ip permit
dialer-list 2 protocol ip permit
!
route-map BSNL permit 10
match ip address 101
match interface Dialer2
!
route-map ISP2 permit 10
match ip address 101
match interface Dialer1
!
!
access-list 101 permit ip 10.10.10.0 0.0.0.255 any
access-list 101 permit ip 192.168.0.0 0.0.0.255 any
access-list 101 permit ip 192.168.25.0 0.0.0.255 any
access-list 101 permit ip 192.168.102.0 0.0.0.255 any
access-list 101 permit ip 192.168.104.0 0.0.0.255 any
access-list 101 permit ip 192.168.103.0 0.0.0.255 any
access-list 101 permit ip 192.168.105.0 0.0.0.255 any
access-list 101 permit ip 192.168.106.0 0.0.0.255 any
access-list 101 permit ip 192.168.110.0 0.0.0.255 any
access-list 101 permit ip any any
!
control-plane
!
!
vstack
!
line con 0
password cisco@grace
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 cisco@grace
login
transport input all
!
scheduler allocate 20000 1000
!
end

1 Reply 1

Richard Burts
Hall of Fame
Hall of Fame

I am not clear what you are really asking. Is it that you want to replace PPPOE to provider with standard Ethernet to provider with a static IP? Or is it that you want to keep doing PPPOE but have static IP rather than negotiated address? Please provide clarification.

HTH

Rick