cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
742
Views
0
Helpful
4
Replies

HELP: Cisco 2900 Configuration

AhmedQa
Level 1
Level 1

Hi, 

 

i need to help me for configuration because am now work as a technical network in my company. and this is my first task. 

 

i have a cisco router and need to configure the Static IP with below details: 

 

IP: 37.224.119.XX/31

Getway: 37.224.119.XX/31

IP Domain name: saudi.sa

DNS: 84.235.6.xx

DNS: 84.235.57.xxx

 

please anyone can help me to configure the above IP in router 

4 Replies 4

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

It would be good to know which interface you are connecting to your gateway device, but on the assumption you are using a routed switchport, the config will look like:

!
int gi0/0
 ip address 37.224.119.XX 255.255.255.254
 no shut
!
ip domain-name saudi.sa
!
ip name-server 84.235.6.xx 84.235.57.xxx
!
ip route 0.0.0.0 0.0.0.0 37.224.119.XX
!

cheers,

Seb.

thank you for replay. 

 

the LAN IP should i configured on gi0/1 as following 

 

int gi0/1
 ip address 192.168.1.1 255.255.255.0
 no shut

 

!
int gi0/0
 ip address 37.224.119.XX 255.255.255.254
 no shut
!
ip domain-name saudi.sa
!
ip name-server 84.235.6.xx 84.235.57.xxx
!
ip route 0.0.0.0 0.0.0.0 37.224.119.XX < did you mean here put the getway ? 
!

AhmedQa
Level 1
Level 1

when am try to add IP 

 

NWEPUBLIC(config)#int g
NWEPUBLIC(config)#int gi
NWEPUBLIC(config)#int gigabitEthernet 0/0
NWEPUBLIC(config-if)#ip add
NWEPUBLIC(config-if)#ip address 37.224.119.XX 255.255.255.254
% Warning: use /31 mask on non point-to-point interface cautiously
NWEPUBLIC(config-if)#