cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1282
Views
0
Helpful
6
Replies

2600 Sample Subnet Configuration?

flemingaod
Level 1
Level 1

Hi:

I have a /25 block of public ips from my ISP which I'd like to subnet into two /26  blocks. I have a Cisco 2600 with 2 ethernet ports in it. Can anyone  provide me with the commands I'd need to take my 200.180.200.0  255.255.255.128, gateway 200.180.200.1 and turn it into 200.180.200.0  255.255.255.192, gateway 200.180.200.1 and 200.180.200.64  255.255.255.192, gateway 200.180.200.65? One of the interfaces will be connected to the ISP & the other to a switch, and then we could access the two subnets through the switch.

Thanks in advance!

6 Replies 6

vmiller
Level 7
Level 7

Commands for what? the interfaces?

Subnet              Mask                   Inverse Mask Subnet Size         Host Range                        Broadcast

200.180.200.0    255.255.255.128        0.0.0.127         126              200.180.200.1  to  200.180.200.126    200.180.200.127

200.180.200.128   255.255.255.128    0.0.0.127       126              200.180.200.129  to  200.180.200.254    200.180.200.255

Yes, I'm confused on how to actually apply the subnets to the interfaces. I've never actually done this before.

Thanks for the breakdown on the subnets!

Ok, can you even log into the router?

assuming you can, once you long in enter

enable

show interface

you need to note how the ethernet interfaces are numbered. i.e ethernet x/y...

config t


ethernet x/y

ip address 200.180.200.1 255.255.255.128

no shut

ethernet a/b

ip address 200.180.200.129 255.255.255.128

no shut

a/b x/y are the slot port numbers of the interfaces

do the no shut if you have them cabled up

If this is your first go at router config, Id poke around the cisco site for examples.

Thanks for the help. I am connected to the router, and I have been poking around the site. I have played in lab type scenarios before, but I can't find what I'm looking for in this case.

In your example, I'm setting eth0/0 to  200.180.200.1 - but that is the gateway IP which was assigned by the ISP. Do I really want that? Also, I'm looking to end up with two /26 subnets, so I want .192 netmasks, correct?

use the .2 address

My bad.

your mask becomes 255.255.255.192

your second subnet is 200.18.200.64 same mask as above. firs host is .65

Hi,

to configure the gateway:

enable

config t

ip route 0.0.0.0 0.0.0.0 x.x.x.x  where x.x.x.x  is the gateway

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.