looker44
asked on
Cisco 2900
so I am a total hack on cisco IOS and need to change a fringe router ISP to different IP/SNM/GTW. Below are my givens and my assumed commands. please let me know if I am correct:
GIVENS:
Network: 108.188.yx.128
Gateway: 108.188.yx.129
Useable: 108.188.yx.130 thru 108.188.yx.158
Broadcast: 108.188.yx.159
Size: /27
Subnet: 255.255.255.224
#END GIVENS
enable
config t
interface gigabitethernet 0/0
! THE FOLLOWING IS MY BIG ASSUMPTION Doesn't work - get Bad Mask (where do I get this value?)
ip address 108.188.yx.128 255.255.255.224
no shutdown
interface gigabitethernet 0/1
ip address 108.188.yx.130 255.255.255.224
no shutdown
exit
#default route
ip route 0.0.0.0 0.0.0.0 108.188.yx.129
ctrl-z
exit
then I need to write to running/ or boot config correct?
thanks
GIVENS:
Network: 108.188.yx.128
Gateway: 108.188.yx.129
Useable: 108.188.yx.130 thru 108.188.yx.158
Broadcast: 108.188.yx.159
Size: /27
Subnet: 255.255.255.224
#END GIVENS
enable
config t
interface gigabitethernet 0/0
! THE FOLLOWING IS MY BIG ASSUMPTION Doesn't work - get Bad Mask (where do I get this value?)
ip address 108.188.yx.128 255.255.255.224
no shutdown
interface gigabitethernet 0/1
ip address 108.188.yx.130 255.255.255.224
no shutdown
exit
#default route
ip route 0.0.0.0 0.0.0.0 108.188.yx.129
ctrl-z
exit
then I need to write to running/ or boot config correct?
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
And then for your last question, yes you need to do a "copy run start" to make sure the commands are persistent through a reboot.
can you give us youre complete running config. because what does youre router do. is it only nat from external to internal. or is it working as gateway / shaper for youre connection.
what we normaly see. is a small network on the outside interface /30 and a bigger subnet on the local internet side.
if you share youre config we can help you much better
what we normaly see. is a small network on the outside interface /30 and a bigger subnet on the local internet side.
if you share youre config we can help you much better
Also, you'll get an error with trying to put two interfaces in the same subnet. Pick one interface (g0/1 looks like from your example).