08-03-2021 06:34 AM
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
08-03-2021 06:46 AM
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.
08-03-2021 06:48 AM
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
08-03-2021 06:53 AM
! 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 ? !
08-03-2021 06:58 AM
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)#
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide